beautypg.com

Configuring mpls statistics, Setting the interval for collecting lsp statistics, Inspecting lsps – H3C Technologies H3C S7500E Series Switches User Manual

Page 71: Mpls lsp ping, Setting the interval for collecting lsp, Statistics

background image

2-29

Configuring MPLS Statistics

Setting the Interval for Collecting LSP Statistics

To view MPLS statistics, you need to set the interval for collecting the LSP statistics.

Follow these steps to set the interval for collecting LSP statistics:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter MPLS view

mpls

Set the interval for collecting

statistics

statistics interval

interval-time

Required

0 seconds by default, meaning that

the system does not collect

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 brings
difficulty to network maintenance. To find LSP failures in time and locate the failed node, the device
provides the following mechanisms:

z

MPLS LSP ping

z

MPLS LSP tracert

MPLS LSP Ping

MPLS LSP ping is for checking the validity and availability of an LSP. At the ingress, it adds the label
for the FEC to be inspected into an MPLS echo request, which then is forwarded along the LSP to the
egress. The egress processes the request packet and returns an MPLS echo reply to the ingress. An
MPLS echo reply carrying a success notification indicates that the lSP is normal, and an MPLS echo
reply carrying an error code indicates that the LSP has failed.

Use the following command to check the validity and availability of an LSP:

To do…

Use the command…

Remarks

Use MPLS LSP ping to check the

validity and reachability of an

MPLS LSP

ping lsp

[ -a source-ip | -c count |

-exp exp-value

| -h ttl-value | -m

wait-time

| -r reply-mode | -s

packet-size

| -t time-out | -v ] *

ipv4 dest-addr

mask-length

[ destination-ip-addr-header ]

Available in any view