redistribute rip (for OSPF)
Redistribute learned routes into OSPF.
Syntax
-
default redistribute rip
[enable] [metric] [metric-type] [route-map] [route-policy] [subnets] [vrf-src
WORD<1-16>]
-
no redistribute rip
[enable] [route-map] [route-policy][vrf-src WORD<1-16>]
-
redistribute rip [enable]
[metric <0-65535>] [metric-type {type1 | type2} ] [route-map
WORD<0-64>] [route-policy WORD<0-64>][subnets {allow | suppress} ]
[vrf-src WORD<1-16>]
Command Parameters
- enable
- Enables route redistribution of
learned IP routes into OSPF.
- metric <0-65535>
- Configures the metric (cost) to
apply to redistributed routes. The default is 1.
- metric-type { type1 | type2 }
- Configures the type of route to
import into the OSPF protocol.
- route-map WORD<0-64>
- Configures the route policy to
apply to redistributed routes.
- route-policy WORD<0-64>
- Configures the route policy to apply to redistributed routes.
- subnets { allow | suppress }
- Indicates whether the subnets are
advertised individually or aggregated to their classful subnet. Choose allow to
advertise the subnets individually with the learned or configured mask of the
subnet. The default is allow.
- vrf-src WORD<1-16>
- Specifies the source VRF instance.
This parameter is not required for redistribution within the same VRF.
Default
By default, route redistribution is disabled.
Command Mode
OSPF Router Configuration