The graceful-restart command enables GR of the BGP speaker in the specified address family, peer address or peer group view.
The undo graceful-restart command disables BGP GR.
By default, BGP GR is disabled.
Usage Scenario
BGP restart causes reestablishment of peer relationships and traffic interruption. After the graceful-restart command is run to enable GR, traffic interruption can be prevented in the event of BGP restart.
Configuration Impact
Enabling or disabling GR may delete and reestablish all BGP sessions and instances.
Follow-up Procedure
After running the graceful-restart command, run the graceful-restart timer wait-for-rib command to set the time for waiting for the End-Of-RIB flag.
Precautions
If the graceful-restart timer wait-for-rib command has been configured, using the undo graceful-restart command will delete the graceful-restart timer wait-for-rib command configuration.