
27
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable LSP verification and
enter the MPLS LSPV view.
mpls lspv
Not enabled by default.
3.
Configure periodic tracert for
an LSP to the specified FEC
destination.
periodic-tracert
destination-addr
essmask-length
[
-a
source-ip
|
-exp
exp-value
|
-h
ttl-value
|-
m
wait-time
|
-t
time-out
|-
u
retry-attempt
]*
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
.
To enable the MPLS trap function:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable the MPLS trap.
snmp-agent trap enable mpls
By default, the MPLS trap is
disabled.
For more information about the
command, see the
snmp-agent
trap enable
command in
Network
Management and Monitoring
Command Reference
.
Displaying and maintaining MPLS
Use the commands in this section to verify MPLS configuration and maintain MPLS statistics.
Displaying MPLS operation
Task Command
Remarks
Display information about one or
all interfaces with MPLS enabled.
display mpls interface
[
interface-type
interface-number
]
[
verbose
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any view.
Display information about ILM
entries. (In standalone mode.)
display mpls ilm
[
label
]
[
verbose
] [
slot
slot-number
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any view.
Display information about ILM
entries. (In IRF mode.)
display mpls ilm
[
label
]
[
verbose
] [
chassis
chassis-number
slot
slot-number
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any view.