Enables BGP graceful restart of individual BGP neighbors.
Global level graceful-restart configuration is avilable under inside <term> address family configuration mode and neighbour level graceful configuration is avialble under router bgp configuration mode.
BGP address-family IPv4 unicast configuration mode
BGP address-family IPv6 unicast configuration mode
BGP address-family IPv4 unicast VRF configuration mode
BGP address-family IPv6 unicast VRF configuration mode
BGP address-family L2VPN EVPN configuration mode
The disable parameter of this command must be used. The graceful restart disable command must be used to disable graceful restart. The 'no' form of the command will not disable graceful restart.
The following example configures graceful restart of BGP session with a neighbor with the IPv6 address 2001:2018:8192::125.
device# configure terminal device(config)# router bgp device(config-bgp-router)# neighbor 2001:2018:8192::125 graceful-restart
The following example removes graceful-restart configuration for a BGP session with a neighbor with the IP address 10.1.1.1 in L2VPN EVPN configuration mode.
device# configure terminal device(config)# router bgp device(config-bgp-router)# neighbor 10.1.1.1 graceful-restart disable