Perform the following steps to configure graceful shutdown of a link to a specific BGP4 neighbor.
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)# neighbor 10.11.22.13 graceful-shutdown 600 community 30
device(config-bgp-router)# end
device# show running-configuration router bgp router bgp local-as 1000 neighbor 10.11.12.13 remote-as 2 neighbor 10.11.12.13 graceful-shutdown 600 community 30 ! ! example truncated for brevity
The following example shows how to configure graceful shutdown of a specific BGP4 neighbor (10.11.22.13) after 600 seconds. The community attribute is also set to 30.
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)# neighbor 10.11.22.13 graceful-shutdown 600 commuity 30