R2511-HP MSR Router Series MPLS Configuration Guide(V5)
25
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter MPLS LDP view.
mpls ldp N/A
3. Enable MPLS LDP GR.
graceful-restart Disabled by default.
4. Set the FT reconnect time.
graceful-restart timer reconnect
timer
Optional.
300 seconds by default.
5. Set the LDP neighbor liveness
time.
graceful-restart timer
neighbor-liveness timer
Optional.
120 seconds by default.
6. Set the LDP recovery time.
graceful-restart timer recovery
timer
Optional.
300 seconds by default.
Gracefully restarting MPLS LDP
To test whether the MPLS LDP GR configuration has taken effect, you can perform MPLS LDP graceful
restart. During the LDP restart process, you can see whether the packet forwarding path is changed and
whether packet forwarding is interrupted.
Do not perform this task in normal circumstances.
To restart MPLS LDP gracefully, perform the following task in user view:
Task Command
Restart MPLS LDP gracefully. graceful-restart mpls ldp
Setting MPLS statistics interval
Perform this task before you use display commands to view LSP statistics.
To set the statistics interval:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter MPLS view.
mpls N/A
3. Set LSP statistics interval.
statistics interval interval-time
The default interval is 0 seconds,
that is, the system does not read
LSP statistics.
Inspecting LSPs
In MPLS, the MPLS control plane is responsible for establishing LSPs. However, when an LSP fails to
forward data, the control plane cannot detect the LSP failure or cannot do so in time. This makes network
maintenance difficult. To find LSP failures in time and locate the failed node, the router provides the
following mechanisms:
• MPLS LSP ping
• MPLS LSP tracert










