The graceful-restart timer restart command sets the maximum period from the time when the peer finds that the local peer restarts to the time when the BGP session is reestablished.
The undo graceful-restart timer restart command deletes the setting.
By default, the maximum period from the time when the peer finds that the local peer restarts to the time when the BGP session is reestablished is 150 seconds.
| Parameter | Description | Value |
|---|---|---|
| time | Specifies the maximum period from the time when the peer finds that the local peer restarts to the time when the BGP session is reestablished. | The value ranges from 3 to 4095, in seconds. |
Modifying the maximum period for reestablishing the BGP session leads to the reestablishment of the BGP peer relationship.
The graceful-restart timer restart command can be run only after the graceful-restart command is run.