Disabling Graceful Restart per neighbor

The graceful restart (GR) feature can be configured on a routing device globally or on a per configured neighbor peer basis. This provides it with the capability to inform its neighbors when it is performing a restart. This section describes the actions to disable Graceful Restart.

Procedure

  1. Enter the configure terminal command to access global configuration mode.
    SLX # configure terminal
  2. Enter the router bgp command to enter into the BGP routing configuration mode.
    SLX (config)# router bgp 
  3. Enter the local-as command to select the autonomous system number (ASN) in which your device resides.
    SLX (config-bgp-router)# local-as 1000
  4. Enter the graceful-restart command with the disable parameter to disbale the graceful restart feature.
    SLX (config-bgp-router)# neighbor 10.10.1.2 graceful-restart disable
  5. For IPv6 addresses, enter the disable command as neighbor 1::1 graceful restart disable .

Example

The following example disables the graceful restart feature for a IPv4 neighbor.

device# configure terminal
device(config)# router bgp
device(config-bgp-router)# local-as 1
device(config-bgp-router)# neighbor 10.10.1.2 remote-as 2
device(config-bgp-router)# neighbor 10.10.1.2 graceful-restart disable

Example

The following example disable the graceful restart feature for a IPv6 neighbor.

device# configure terminal
device(config)# router bgp
device(config-bgp-router)# local-as 1
device(config-bgp-router)# neighbor 1000::1 remote-as 2
device(config-bgp-router)# neighbor 1000::1 graceful-restart disable

What to do next

Use the clear ip bgp neighbor command with the all parameter for the changes to the GR parameters to take effect immediately. For IPv6 neighbor, use the clear ipv6 bgp neighbor command with the all parameter for the changes to take effect immediately.