
88
This command is used to test MPLS LDP GR without main/backup switchover. Do not use it in normal
cases.
The MPLS LDP GR capability is required for this command to take effect.
Related commands:
graceful-restart (MPLS LDP view)
.
Syntax
graceful-restart mpls ldp
View
User view
Default level
1: Monitor level
Parameters
None
Examples
# Restart MPLS LDP gracefully.
<Sysname> graceful-restart mpls ldp
graceful-restart timer neighbor-liveness
Description
Use the
graceful-restart timer neighbor-liveness
command to set the LDP neighbor liveness time.
Use the
undo graceful-restart timer neighbor-liveness
command to restore the default.
By default, the LDP neighbor liveness time is 120 seconds.
Modifying the LDP neighbor liveness time will cause all LDP sessions and all LSPs based on the sessions to
be removed and then reestablished.
For LDP sessions with MD5 authentication configured, you need to give the LDP neighbor liveness time a
greater value so that the TCP connection can be reestablished.
Syntax
graceful-restart timer neighbor-liveness
timer
undo graceful-restart timer neighbor-liveness
View
MPLS LDP view
Default level
2: System level
Parameters
timer
: Specifies the LDP neighbor liveness time, ranging from 60 to 300 seconds.
Examples
# Set the LDP neighbor liveness time to 100 seconds.
<Sysname> system-view
[Sysname] mpls ldp