28
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 know whether
an LSP has failed by checking the logs.
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 will
be deleted and a new BFD session will be established according to the control plane.
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 switch. 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
.
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.