R211x-HP Flexfabric 11900 MPLS Command Reference

3
Syntax
In standalone mode:
display mpls forwarding nhlfe [ nid ] [ slot slot-number ]
In IRF mode:
display mpls forwarding nhlfe [ nid ] [ chassis chassis-number slot slot-number ]
Views
Any view
Predefined user roles
network-admin
network-operator
mdc-admin
mdc-operator
Parameters
nid: Displays the NHLFE entry with the specified NID. The NID value range is 0 to 4294967294. If you
do not specify an NID, the command displays information about all NHLFE entries.
slot slot-number: Displays the NHLFE entries on a card. The slot-number argument specifies the number
of the slot that holds the card. (In standalone mode.)
chassis chassis-number slot slot-number: Displays the NHLFE entries of a card on an IRF member device.
The chassis-number argument specifies the ID of the IRF member device. The slot-number argument
specifies the number of the slot that holds the card. (In IRF mode.)
Usage guidelines
An NHLFE entry records label forwarding information, such as the outgoing label and outgoing interface.
NHLFE entries are mainly used to add multiple labels to packets. To add multiple labels to a packet, an
LSR first obtains the bottom label and NID in the matching FIB or ILM entry, and then obtains the outer
label in the NHLFE entry identified by the NID.
Examples
# Display the NHLFE entry with NID 2048.
<Sysname> display mpls forwarding nhlfe 2048
Flags: T - Forwarded through a tunnel
N - Forwarded through the outgoing interface to the nexthop IP address
B - Backup forwarding information
A - Active forwarding information
NID Tnl-Type Flag OutLabel Forwarding Info
--------------------------------------------------------------------------------
2048 LSP NA 2025 Vlan2 10.11.112.26
# Display all NHLFE entries for the card in slot 3.
<Sysname> display mpls forwarding nhlfe slot 3
Total NHLFE entries: 5
Flags: T - Forwarded through a tunnel
N - Forwarded through the outgoing interface to the nexthop IP address