Users Guide

Table Of Contents
Configure redistribute routes
OS10(conf-router-ospf-10)# redistribute bgp 4 route-map aloha
OS10(conf-router-ospf-10)# redistribute connected route-map aloha
OS10(conf-router-ospf-10)# redistribute static route-map aloha
Before Release 10.5.2.0, the redistribute command redistributed active and inactive route paths. By default, from Release
10.5.2.0 and beyond, this command redistributes only active route paths. If you have configured route redistribution, when you
upgrade to Release 10.5.2.0, the inactive route paths are no longer redistributed.
To redistribute both active and inactive routes, you must configure a route map with the inactive-path-additive rule and
apply the route map to the redistribute command.
Consider a case where two route paths, one learned from the OSPF peer and the other leaked from another VRF, having the
same metric and cost are present. In this case, the routing table prioritizes the local route over the leaked route. If you have
chosen to redistribute the inactive OSPF routes, OSPF removes the route learned from the peer and retains only the leaked
route.
To redistribute active and inactive IPv4/IPv6 routes from other unicast protocols into OSPF:
1. Configure a route-map to match the inactive-path-additive rule.
route-map route-map-name
match inactive-path-additive
2. Apply the route-map to the redistribute command.
redistribute {connected [route-map map-name] | imported-ospf-routes [route-map map-
name] | bgp AS-number [route-map map-name] | static [route-map map-name]}
View OSPF configuration - redistribute active routes
OS10(conf-router-ospf-10)# do show running-configuration ospf
!
router ospf 10
redistribute bgp 4 route-map aloha
redistribute connected route-map aloha
redistribute static route-map aloha
!
Redistribute active and inactive IPv4 BGP routes into OSPF
OS10# configure terminal
OS10(config)# route-map redis-inactive-routes
OS10(config-route-map)# match inactive-path-additive
OS10(config-route-map)# exit
OS10(config)# router ospf 10
OS10(config-router-ospf-10)# redistribute bgp 100 route-map redis-inactive-routes
Redistribute active and inactive IPv6 static routes into OSPF
OS10# configure terminal
OS10(config)# route-map redis-inactive-routes
OS10(config-route-map)# match inactive-path-additive
OS10(config-route-map)# exit
OS10(config)# router ospfv3 20
OS10(config-router-ospfv3-20)# redistribute static route-map redis-inactive-routes
OSPFv2
OSPFv2 supports IPv4 address families. OSPFv2 routers initially exchange hello messages to set up adjacencies with neighbor
routers. The hello process establishes adjacencies between routers of the AS. It is not required that every router within the
AS areas establish adjacencies. If two routers on the same subnet agree to become neighbors through this process, they begin
to exchange network topology information in the form of LSAs.
938
Layer 3