Configuring LDP GR
To configure LDP GR:
To do...
Enter system view
Enter MPLS LDP view
Enable MPLS LDP GR
Set the FT reconnect time
Set the LDP neighbor liveness time
Set the LDP recovery time
Gracefully restarting MPLS LDP
To test whether the MPLS LDP GR configuration has taken effect, you can perform graceful restart of MPLS
LDP. During the LDP restart process, you can see whether the packet forwarding path is changed and
whether packet forwarding is interrupted.
Use the following command to restart MPLS LDP gracefully:
To do...
Restart MPLS LDP gracefully
NOTE:
The graceful-restart mpls ldp command is only used to test MPLS LDP GR function. It does not perform
active/standby switchover. Do not perform this operation in other cases.
Configuring MPLS statistics collection and reading
Setting MPLS statistics reading interval
To use display commands to view LSP statistics, you must first set the statistics reading interval.
To set MPLS statistics reading interval:
To do...
Enter system view
Enter MPLS view
Set LSP statistics reading interval
Use the command...
system-view
mpls ldp
graceful-restart
graceful-restart timer reconnect
timer
graceful-restart timer
neighbor-liveness timer
graceful-restart timer recovery
timer
Use the command...
graceful-restart mpls ldp
Use the command...
system-view
mpls
statistics interval interval-time
25
Remarks
—
—
Required
Disabled by default
Optional
300 seconds by default
Optional
120 seconds by default
Optional
300 seconds by default
Remarks
Required
Available in user view
Remarks
—
—
Required
0 seconds by default, meaning that
the system does not read LSP
statistics.