The graceful-restart timer reconnect command sets the value of the Reconnect timer of an LDP session.
The undo graceful-restart timer reconnect command restores the default Reconnect timer value.
The default value of the Reconnect timer of an LDP session is 300s.
Usage Scenario
After the GR restarter performs the active/standby switchover, the GR helper detects that the LDP session with the GR restarter fails, and then starts the Reconnect timer and waits for the reestablishment of the LDP session.
Prerequisites
MPLS and MPLS LDP have been enabled globally.
LDP GR has been enabled globally.Implementation Procedure
When the graceful-restart timer reconnect 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 reconnect command is run, the reestablishment time of the LDP session is equal to the smaller value between the value of the neighbor-liveness timer on the GR helper and the value of the Reconnect timer on the GR restarter.
Precautions
Changing the value of the Reconnect 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 reconnect 45 Warning: All the related sessions will be deleted if the operation is performed! Continue? [Y/N]: y