[Contents] [Prev] [Next] [Index] [Report an Error]


Have BGP Advertise Inactive Routes

By default, BGP stores the route information it receives from update messages in the JUNOS routing table, and the routing table exports only active routes into BGP, which BGP then advertises to its peers. To have the routing table export to BGP the best route learned by BGP even if the JUNOS software did not select it to be an active route, include the advertise-inactive statement:

advertise-inactive; 

You can advertise inactive routes for all BGP groups (at the [edit protocols bgp] hierarchy level), for all peers in a group (at the [edit protocols bgp group group-name] level), or for an individual peer (at the [edit protocols bgp group group-name neighbor address] level). For routing instances, include the statement at the [edit routing-instances routing-instance-name protocols bgp] hierarchy level [edit routing-instances routing-instance-name protocols bgp group group-name] hierarchy level and the [edit routing-instances routing-instance-name protocols bgp group group-name neighbor address] hierarchy level.


[Contents] [Prev] [Next] [Index] [Report an Error]