The peer local-graceful-restart enable command enables local GR for a specified peer on a device. After this command is run, the device will not advertise the GR capability to the specified peer.
The peer local-graceful-restart disable command disables local GR for a specified peer on a device.
By default, local GR is not enabled for a peer specified on a device.
Usage Scenario
If a device supports GR but a BGP peer specified on the device does not support GR, you can run the peer local-graceful-restart enable command on the device to enable local GR for the peer. This configuration ensures that the device does not delete the routes received from the peer and related forwarding entries before the GR time elapses, thereby preventing traffic interruption.
Precautions
If a peer specified on a device does not support GR, you are advised to enable local GR for the peer.