Use this command to allow routing information discovered through non-OSPF protocols to be distributed in OSPF update messages.
| rip | Specifies that RIP routing information will be redistributed in OSPF. |
| static | Specifies that non-OSPF information discovered via static routes will be redistributed. Static routes are those created using the ip route command detailed in ip route. |
| connected | Specifies that non-OSPF information discovered via directly connected interfaces will be redistributed. These are routes not specified in the OSPF network command as described in network. |
| bgp | Specifies that BGP routing information will be redistributed in OSPF (S-, 7100-Series). |
| global | (Optional) Specifies that BGP prefixes from the global router are redistributed. VPN4-address prefixes are translated appropriately. |
| route-map name | (Optional) Redistributes routes using the rules established by the designated route-map. |
| metric metric-value | (Optional) Specifies a metric for the connected, RIP or static redistribution route. This value should be consistent with the designation protocol. |
| metric-type type-value | (Optional) Specifies the external link type associated with the default connected, RIP or static route advertised into the OSPF routing domain. Valid values are 1 for type 1 external route, and 2 for type 2 external route. |
| tag tag | (Optional) Specifies that tagged routes will be redistributed in OSPF. |
OSPF router configuration.
Specifying the global BGP option requires that the PE-CE feature is enabled using enable-pe-ce. The global option turns on the RFC 4577 DN bit.
The “no” form of thiscommand clears redistribution parameters.
This example shows how to distribute external type 2 RIP routing information from routes in OSPF updates:
System(rw-config)->router ospf 1 System(rw-config-ospf-1)->redistribute rip
Print
this page
Email this topic
Feedback