Perform the following steps to configure graceful shutdown for all BGP4 neighbors.
device# configure terminal
device(config-rbridge-id-122)# router bgp
device(config-bgp-router)# local-as 1000
device(config-bgp-router)# neighbor 10.11.12.13 remote-as 2
device(config-bgp-router)# graceful-shutdown 600 community 10
device(config-bgp-router)# end
device# show running-configuration router bgp router bgp local-as 1000 graceful-shutdown 600 community 10 ! ! example truncated for brevity
The following example shows how to configure graceful shutdown of all BGP4 neighbors after 600 seconds. The community attribute is also set to 10.
device# configure terminal device(config)# router bgp device(config-bgp-router)# local-as 1000 device(config-bgp-router)# neighbor 10.11.12.13 remote-as 2 ! ! device(config-bgp-router)# graceful-shutdown 600 community 10