The peer graceful-restart timer restart command sets the maximum duration on a device for a specified peer 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 the specified peer.
The undo peer graceful-restart timer restart command deletes the configured duration.
By default, a peer specified on a device waits for its BGP peer relationship to be reestablished for a maximum of 150 seconds.