The graceful-restart timer recovery command sets the value of the LSP Recovery timer.
The undo graceful-restart timer recovery command restores the default setting.
By default, the LSP Recovery timer is set to 300 seconds.
Parameter | Description | Value |
---|---|---|
time | Specifies the value of an LSP Recovery timer. | The value is an integer ranging from 3 to 3600, in seconds. |
Usage Scenario
If the Recovery timer times out, the GR helper considers that the GR process is complete on the GR restarter and deletes the unrecovered LSPs.
If all the LSPs recover before the Recovery timer times out, the GR helper considers that the GR process is complete on the GR restarter only after the Recovery timer times out.
When a network with a large number of routes is faulty, run the graceful-restart timer recovery command to increase the value of the Recovery timer to ensure that all the LSPs recover within the timeout period of the timer.
During the LDP GR process, the value of the LSP Recovery timer that actually takes effect on the local end is negotiated as the smaller one of the values of the LSP Recovery timers configured on both ends of an LDP session.
Prerequisites
MPLS and MPLS LDP have been enabled globally.
LDP GR has been enabled globally.
Precautions
Changing the value of the LSP Recovery timer causes the reestablishment of all the LDP sessions.
# Set the value of the LSP Recovery timer to 330 seconds.
<HUAWEI> system-view [HUAWEI] mpls ldp [HUAWEI-mpls-ldp] graceful-restart Warning: All the related sessions will be deleted if the operation is performed!Continue? (y/n)y [HUAWEI-mpls-ldp] graceful-restart timer recovery 330 Warning: All the related sessions will be deleted if the operation is performed!Continue? (y/n)y