10
22B
Enabling split horizon for MPLS forwarding
This feature prevents MPLS packets received from an interface from being forwarded back to that
interface to provide loop-free forwarding.
To enable split horizon for MPLS forwarding:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable split horizon for
MPLS forwarding.
mpls forwarding split-horizon
By default, split horizon is
disabled for MPLS forwarding.
23B
Enabling SNMP notifications for MPLS
To report critical MPLS events to an NMS, enable SNMP notifications for MPLS. For MPLS event
notifications to be sent correctly, you must also configure SNMP on the device. For more information
about SNMP configuration, see the network management and monitoring configuration guide for the
device.
To enable SNMP notifications for MPLS:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable SNMP
notifications for MPLS.
snmp-agent trap enable mpls
By default, SNMP notifications for
MPLS are enabled.
24B
Displaying and maintaining MPLS
Execute
display
commands in any view and
reset
commands in user view.
Task Command
Display MPLS interface information.
display mpls interface
[
interface-type
interface-number
]
Display usage information for MPLS labels.
display mpls label
{
label-value1
[
to label-value2
] |
all
}
Display LSP information.
display mpls lsp
[
egress
|
in-label
label-value
|
ingress
|
outgoing-interface interface-type interface-number
|
protocol
{
bgp
|
ldp
|
local
|
rsvp-te
|
static
|
static-cr
}
|
transit
] [
vpn-instance vpn-instance-name
]
[
ipv4-address mask-length
|
ipv6
[
ipv6-address
prefix-length
] ] [
verbose
]
Display MPLS Nexthop Information Base (NIB)
information.
display mpls nib
[
nib-id
]
Display usage information for NIDs.
display mpls nid
[
nid-value1
[
to
nid-value2
] ]
Display LSP statistics.
display mpls lsp statistics
[
ipv6
]
Display MPLS summary information.
display mpls summary
Display ILM entries.
display mpls forwarding ilm
[
label
] [
slot
slot-number
]