R0106-HP MSR Router Series MPLS Command Reference(V7)
3
display mpls forwarding nhlfe [ nid ] [ slot slot-number ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
nid: Displays the NHLFE entry with the specified NID in the range of 0 to 4294967294. If you do not
specify an NID, the command displays information about all NHLFE entries.
slot slot-number: Specifies a card by its slot number. If you do not specify a card, this command displays
NHLFE entries on the active MPU. (MSR4000.)
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 does the following:
1. Obtains the bottom label and NID in the matching FIB or ILM entry.
2. 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 GE2/1/2 10.11.112.26
# Display all NHLFE entries.
<Sysname> display mpls forwarding nhlfe
Total NHLFE entries: 5
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
--------------------------------------------------------------------------------
10 - TA - 2049
20 - TA - 2050
2048 LSP NA 2025 GE2/1/2 10.11.112.26
2049 LSP NA 3024 GE2/1/2 10.11.112.26