The graceful-restart timer recovery command sets the value of the LSP Recovery timer.
The undo graceful-restart timer recovery command restores the default LSP Recovery timer value.
The default value of the LSP Recovery timer is 300s.
Usage Scenario
After the LDP session is reestablished, the GR helper starts the Recovery timer and waits for the recovery of the LSP.
Prerequisites
MPLS and MPLS LDP have been enabled globally.
LDP GR has been enabled globally.Implementation Procedure
When the graceful-restart timer recovery command is run, the system displays the following message:
Warning: All the related sessions will be deleted if the operation is performed! Continue? [Y/N]: To confirm to run the command, enter y.Configuration Impact
After the graceful-restart timer recovery command is run, the value of the LSP Recovery timer that takes effect on the local end is equal to the smaller one of the values of the LSP Recovery timers configured on both ends of an LDP session.
Precautions
Changing the value of the LSP Recovery timer causes the reestablishment of all the LDP sessions.
<HUAWEI> system-view [~HUAWEI] mpls [*HUAWEI-mpls] quit [*HUAWEI] mpls ldp [*HUAWEI-mpls-ldp] graceful-restart [*HUAWEI-mpls-ldp] graceful-restart timer recovery 45 Warning: All the related sessions will be deleted if the operation is performed! Continue? [Y/N]:y