beautypg.com

Mpls lsp tracert, Enabling mpls trap – H3C Technologies H3C S7500E Series Switches User Manual

Page 72

background image

2-30

MPLS LSP Tracert

MPLS LSP tracert is for locating LSP errors. It consecutively sends the MPLS echo requests along the
LSP to be inspected, with the TTL increasing from 1 to a specified value. Then, each hop along the
LSP will return an MPLS echo reply to the ingress due to TTL timeout. Thus, the ingress can collect
the information of each hop along the LSP, so as to locate the failed node. You can also use MPLS
LSP tracert to collect the important information of each hop along the LSP, such as the label allocated.

Use the following command to locate errors of an LSP:

To do…

Use the command…

Remarks

Perform MPLS LSP tracert to

locate an MPLS LSP error

tracert lsp

[ -a source-ip | -exp

exp-value

| -h ttl-value | -r

reply-mode |-t time-out

] * ipv4

dest-addr mask-length

[ destination-ip-addr-header ]

Available in any view

Enabling MPLS Trap

With the MPLS trap function enabled, trap packets of the notifications level will be generated to report
critical MPLS events. Such trap packets will be sent to the information center of the device. Whether
and where the packets will then be output depend on the configurations of the information center. For
information on how to configure the information center, see Information Center Configuration in the

Network Management and Monitoring Configuration Guide

.

Follow these steps to enable the MPLS trap function:

To do…

Use the command…

Remarks

Enter system view

system-view

Enable the MPLS trap function

snmp-agent trap enable mpls

Required

Disabled by default

For detailed information about the snmp-agent trap enable mpls command, see the snmp-agent

trap enable

command in SNMP Configuration Commands of the Network Management and

Monitoring Command Reference

.