The graceful-restart timer neighbor-liveness command sets the value of the Neighbor-liveness timer.
The undo graceful-restart timer neighbor-liveness command restores the default configuration.
By default, the value of the Neighbor-liveness timer is 600, in seconds.
| Parameter | Description | Value |
|---|---|---|
| time | Specifies the value of the Neighbor-liveness timer. | An integer ranging from 3 to 3600, in seconds |
Usage Scenario
LDP GR-enabled devices negotiates the LDP reconnection time and uses the smaller value between the Neighbor-liveness time configured on a Helper and the Reconnect time configured on the Restarter.
On a network with a few label switched paths (LSPs), the graceful-restart timer neighbor-liveness command can be run to set a small value for the Neighbor-liveness timer to shorten the GR period.
Using the default timer value is recommended.
Prerequisites
MPLS LDP has been enabled globally using the mpls ldp command in the system view.
LDP GR has been enabled globally using the graceful-restart command in the MPLS-LDP view.
Precautions
Modifying the Neighbor-liveness timer causes a local device to reestablish all LDP sessions.