
bgp advertise-inactive
Enable the advertisement of best BGP inactive routes
Syntax: [no] bgp advertise-inactive
Description: An inactive BGP best route is the best of all routes learned for a prefix through BGP, thus excluding injected and redistributed routes, which have not been selected as the active-route for the corresponding prefix in the route-table.
If the BGP advertise-inactive feature is disabled, a BGP speaker advertises a route to its peers only if that route is installed in the speaker's forwarding-table. However, there are times when the desirable behavior is to advertise an inactive route because it is the BGP best route and the BGP speaker is not in the forwarding path. In the case of a route-reflector the BGP speaker is not in the forwarding path. This feature provides for enabling advertising inactive-bgp-best routes by a route-reflector.
This functionality does not change basic BGP behavior. On enabling BGP advertise-inactive, the inactive BGP best route will be sent to a peer only if the route would have been advertised to the peer had it been active.
Use the bgp advertise-inactive command in router-bgp configuration mode to enable the advertisement of inactive BGP best route on this router.
Use the no bgp advertise-inactive command in router-bgp configuration mode to disable the advertisement of inactive BGP best route on this router.
Use the show ip bgp inactive-best command to display the set of inactive-bgp-best routes currently in the system. The route will be shown with a r code if the bgp advertise-inactive is enabled and this inactive-bgp-best route is selected and advertised by BGP.
Factory Default: Disabled
Command Mode: Router configuration.
Example 1: In the following example,
- The router bgp command enables BGP routing, associates the router with autonomous system 101, and changes the command mode to Router configuration.
- The bgp advertise-inactive command enables the advertisement of inactive BGP best route on this router:
router(config)#router bgp 101
router(config-router)#bgp advertise-inactive
router(config-router)#end
router#
Example 2: In the following example,
- The router bgp command enables BGP routing, associates the router with autonomous system 101, and changes the command mode to Router configuration.
- The no bgp advertise-inactive command disables the advertisement of inactive BGP best route on this router:
router(config)#router bgp 101
router(config-router)#no bgp advertise-inactive
router(config-router)#end
router#
Related Commands: show ip bgp inactive-best
Copyright © 2005
Avici Systems Inc.
Avici® and TSR®
is a registered trademark of Avici Systems Inc.
IPriori, Composite Links, SSR, QSR, and NSR® are
trademarks of Avici Systems Inc.
Source
File Name: BGP_Nd.fm
HTML File Name: BGP_Nd2.html
Last Updated: 02/25/05 at 14:57:00