The peer local-graceful-restart enable command enables local GR for each peer in a specified group on a device. After this command is run, the device will not advertise the GR capability to any peer in the specified group.
The undo peer local-graceful-restart enable command disables local GR for each peer in a specified group on a device.
By default, local GR is not enabled for any peer in a specified group on a device.
Usage Scenario
To enable local GR for each peer in a specified group on a device, run the peer local-graceful-restart enable command on the device. This configuration ensures that the device does not delete the routes received from the peers in the group and related forwarding entries before the GR time elapses, thereby preventing traffic interruption.
<HUAWEI> system-view [~HUAWEI] ip vpn-instance vpn1 [*HUAWEI-vpn-instance-vpn1] route-distinguisher 1:1 [*HUAWEI-vpn-instance-vpn1-af-ipv4] quit [*HUAWEI-vpn-instance-vpn1] quit [*HUAWEI] bgp 100 [*HUAWEI-bgp] ipv4-family vpn-instance vpn1 [*HUAWEI-bgp-vpn1] group aa [*HUAWEI-bgp-vpn1] peer aa local-graceful-restart enable