beautypg.com

Configuring periodic lsp tracert, Enabling mpls trap – H3C Technologies H3C S10500 Series Switches User Manual

Page 84

background image

73

Configuring periodic LSP tracert

The periodic LSP tracert function is for locating faults of an LSP periodically. It detects the consistency of

the forwarding plane and control plane and records detection results into logs. You can checks the logs

to know whether an LSP has failed.
If you configure BFD as well as periodic tracert for an LSP, once the periodic LSP tracert function detects

an LSP fault or inconsistency of the forwarding plane and control plane, the BFD session for the LSP is

deleted and a new BFD session is established according to the control plane.
Follow these steps to configure the periodic LSP tracert function:

To do…

Use the command…

Remarks

Enter system view

system-view

Enable LSP verification and enter
the MPLS LSPV view

mpls lspv

Required
Not enabled by default

Configure periodic tracert for an
LSP to the specified FEC destination

periodic-tracert
destination-address mask-length

[ -a source-ip | -exp exp-value | -h
ttl-value | -m wait-time | -t time-out

| -u retry-attempt ] *

Required
Not configured by default

Enabling MPLS trap

With the MPLS trap function enabled, trap packets of the notifications level are generated to report
critical MPLS events. Such trap packets are sent to the information center of the device. Whether and

where the packets are output depend on the configurations of the information center. For information on

how to configure the information center, see 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

NOTE:

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

Network Management and Monitoring Command Reference.