R3303-HP HSR6800 Routers MPLS Configuration Guide
26
The LDP GR function can also implement nonstop data forwarding, but it requires that the GR restarter
and all its neighbors support LDP GR. With the LDP NSR function, the neighboring devices do not need
to support LDP NSR. They are not aware of any switchover event on the NSR-enabled device.
The LDP GR feature and the LDP NSR feature are mutually exclusive. Do not configure both features on the
device.
To configure LDP NSR:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter MPLS LDP view.
mpls ldp N/A
3. Enable the NSR function.
non-stop-routing Disabled by default.
Configuring MPLS statistics collection and reading
Configuring MPLS statistics collection and reading (method 1)
To use display commands to view MPLS statistics, first enable MPLS statistics and then set the statistics
reading interval, as follows:
Ste
p
Command
Remarks
1. Enter system view.
system-view
N/A
2. Enable MPLS statistics.
mpls statistics enable { interface
interface-type interface-number |
lsp in-label in-label | tunnel token
token }
By default, MPLS statistics are
disabled.
3. Enter MPLS view.
mpls N/A
4. Set LSP statistics reading
interval.
statistics interval interval-time
The default interval is 0 seconds.
The system does not read LSP
statistics.
Configuring MPLS statistics collection and reading for specific
LSPs (method 2)
To use display commands to view statistics about LSPs, first enable MPLS statistics for the LSPs and set the
statistics reading interval, as follows:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter MPLS view.
mpls N/A
3. Enable MPLS statistics for
specific LSPs.
statistics { ipv4 destination mask
[ vpn-instance vpn-instance-name ]
| ipv6 destination mask | static }
By default, MPLS statistics are
disabled for all LSPs.