Users Guide

Table Of Contents
r - redistributed/network, S - stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*>I 55::/64 172:16:1::2 0 0 0 100 200 300 400
i
*>I 55:0:0:1::/64 172:16:1::2 0 0 0 100 200 300 400
i
*>I 55:0:0:2::/64 172:16:1::2 0 0 0 100 200 300 400
i
Redistribute routes
Add routes from other routing instances or protocols to the BGP process. You can include OSPF, static, or directly connected
routes in the BGP process with the redistribute command.
Include directly connected or user-configured (static) routes in ROUTER-BGP-AF mode.
redistribute {connected | static}
Include specific OSPF routes in IS-IS in ROUTER-BGP-AF mode (1 to 65535).
redistribute ospf process-id
Disable redistributed routes
OS10(conf-router-bgp-af)# no redistribute ospf route-map ospf-to-bgp
All the paths that an OS10 device learns; for example, static route, connected routes, and redistributed routes from different
protocols, are valid. However, the system maintains only the route that has the shortest administrative distance from the source
as the active route path. The system marks other valid paths as inactive routes in the routing table. When an active path is
removed, the next best valid path based on the shortest administrative distance becomes the active route path. The order of
preference based on the protocol source is:
1. Connected
2. Static
3. EBGP
4. OSPF
5. IBGP
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.
To redistribute active and inactive IPv4/IPv6 routes from other unicast protocols into BGP:
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-bgp-routes {vrf vrf-name}
[route-map map-name] | ospf process-id [route-map map-name] | static [route-map map-
name] | l2vpn evpn [route-map map-name]}
Redistribute active routes
OS10(config)# router bgp 102
OS10(config-router-bgp-102)# address-family ipv4 unicast
OS10(configure-router-bgpv4-af)# redistribute ospf 12
Layer 3
817