display mpls forwarding ilm

Use display mpls forwarding ilm to display Incoming Label Map (ILM) entries.

Syntax

display mpls forwarding ilm [ label ] [ slot slot-number ]

display mpls forwarding ilm [ label ] [ chassis chassis-number slot slot-number ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

label: Displays the ILM entry with the specified incoming label. The value range for this argument is 16 to 1048575. If you do not specify an incoming label, this command displays ILM entry information for all incoming labels.

slot slot-number: Specifies a card by its slot number. If you do not specify a card, this command displays ILM entries for the active MPU.

chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The chassis-number argument represents the member ID of the IRF member device. The slot-number argument represents the slot number of the card. If you do not specify a card, this command displays ILM entries for the global active MPU.

Usage guidelines

An ILM entry records the label operation type, outgoing label, and other forwarding information.

After an LSR receives a labeled packet, it performs the following operations:

  1. Identifies the ILM entry that matches the top label of the packet.

  2. Performs the specified label operation.

  3. Forwards the packet.

Examples

# Display all ILM entries.

<Sysname> display mpls forwarding ilm
Total ILM entries: 3

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
       M – P2MP forwarding information

InLabel Oper    VRF   Flag SwapLabel Forwarding Info
--------------------------------------------------------------------------------
30      SWAP    0     T    1000      1024
1279    POP     0     -    -         -
1407    SWAP    0     NA   1271      Vlan10                    50.2.0.2
                      NB   1270      Tun0                      0.0.0.0

Table 1: Command output

Field

Description

Total ILM entries

Total number of ILM entries.

InLabel

Incoming label.

Oper

Operation type:

  • POP—Pops the label.

  • POPGO—Pops the label and forwards the packet to another tunnel.

  • SWAP—Swaps the label.

VRF

Index of a VPN instance.

Flag

Forwarding flag:

  • T—Forwarded through a tunnel.

  • N—Forwarded through the outgoing interface to the next hop IP address.

  • B—Backup forwarding information.

  • A—Active forwarding information.

  • M—P2MP forwarding information. This flag is not supported in the current software version.

SwapLabel

Outgoing label value.

Forwarding Info

Forwarding information:

  • When the forwarding flag is N, the forwarding information records the outgoing interface and the next hop.

  • When the forwarding flag is T, the forwarding information records the NID.