Configures graceful shutdown of a link to a BGP neighbor or peer group.
BGP graceful shutdown is disabled.
BGP configuration mode
Note
neighbor send-community configuration enables sending community attribute information to a BGP peer. Before the graceful shutdown community attribute can be sent, the send community must be negotiated by using the neighbor send-community command specifying the both option.When a neighbor address is not specified, this command configures graceful shutdown for all neighbors on the device.
This command is supported on the Extreme 8820, SLX 9740, SLX 9640, and SLX 9540 devices only.
When a route map is not specified, the default GRACEFUL_SHUTDOWN parameters are applied.
Note
Modifications made to the specified route map during the graceful-shutdown period, which is specified using the graceful-shutdown parameter, are not effective for graceful shutdown advertisement routes.The no form of the command removes the specified BGP graceful shutdown configuration.
The following example shows how to configure BGP graceful shutdown for a neighbor (10.11.22.23) and set the shutdown to occur after 580 seconds.
device# configure terminal device(config)# router bgp device(config-bgp-router)# neighbor 10.11.22.23 graceful-shutdown 580
The following example shows how to configure BGP graceful shutdown for a peer group named grp-1 and set the shutdown to occur after 620 seconds.
device# configure terminal device(config)# router bgp device(config-bgp-router)# neighbor grp-1 graceful-shutdown 620
The following example shows how to configure BGP graceful shutdown for a neighbor (10.11.22.23) and apply the attributes of a route map named myroutemap to the shutdown which is set to occur after 600 seconds.
device# configure terminal device(config)# router bgp device(config-bgp-router)# neighbor 10.11.22.23 graceful-shutdown 600 route-map myroutemap
The following example shows how to configure BGP graceful shutdown for a neighbor (10.11.22.23) with community attribute 20. The shutdown which is set to occur after 600 seconds.
device# configure terminal device(config)# router bgp device(config-bgp-router)# neighbor 10.11.22.23 graceful-shutdown 600 community 20