Command: redistribute

Home | Command modes | Alphabetical listing

redistribute

Configures OSPF route redistribution.

Syntax

Default

None

Command mode

OSPF Router Configuration

Command parameters

ParameterDescription

<route_type>

Specifies the source protocol to be redistributed. Valid options are direct, rip, and static.

metric <0-65535>

Specifies the metric value to associate with the route redistribution. This is an integer value between 0 and 65535.

metric-type <type1|type2>

Specifies the metric type to associate with the route redistribution. Valid options are type1 and type2.

route-policy <rmap_name>

Specifies the route policy to associate with route redistribution. This is the name of a previously configured route map.

subnets <allow|suppress>

Specifies the subnet advertisement setting of this route redistribution. This determines whether individual subnets are advertised. Valid options are allow and suppress.