Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell SmartFabric OS10 User Guide Release 10.5.3

PDF

Redistribute routes

Add routes from other routing instances or protocols to the OSPFv2 process and include BGP, static, or connected routes in the OSPFv2 process. Do not route IBGP routes to OSPFv2 unless there are route-maps associated with the OSPFv2 redistribution.

When you configure the system to redistribute BGP routes to OSPF, by default, the system redistributes only the external BGP (eBGP) routes. Use the [no] bgp redistribute-internal command under BGP to allow or block the redistribution of IPv4 or IPv6 internal BGP ((iBGP) routes to OSPF in a default or nondefault VRF instance. To know more information, see Redistribute iBGP route to OSPF.

NOTE: With the redistribute static command in the running configuration, if a static route is configured which is also learned through OSPF, the static route is installed in the routing table even if the static route preference is higher than OSPF.
  • Enter the routes that redistribute into the OSPFv2 process in ROUTER-OSPF mode.
    redistribute {bgp as-number| connected | static} [route-map map-name]
    • bgp | connected | static—Enter a keyword to redistribute those routes.
    • route-map map-name—Enter the name of a configured route map.

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 or later, 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

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\