The peer graceful-restart timer restart command sets the maximum duration on a device for each peer in a specified group to wait for its BGP peer relationship to be reestablished with the device. After the command is run, the device will advertise the maximum duration to all the peers in the specified group.
The undo peer graceful-restart timer restart command deletes the configured duration.
By default, each peer in a specified group on a device waits for its BGP peer relationship to be reestablished for a maximum of 150 seconds.