neighbor graceful-restart

Enables BGP graceful restart of individual BGP neighbors.

Syntax

neighbor { ip-address | ipv6-address | peer-group-name } graceful-restart
no neighbor { ip-address | ipv6-address | peer-group-name } graceful-restart disable

Parameters

ip-address
Specifies the IPv4 address of the neighbor.
ipv6-address
Specifies the IPv6 address of the neighbor.
peer-group-name
Specifies a peer group.
graceful-restart
Enables the graceful restart of BGP neighbor.
disable
Disables graceful-restart when it is enabled.

Modes

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

Usage Guidelines

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.

Examples

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