show mpls label

show mpls {rsvp-te | static} label {summary | label_num | [advertised | received] {label_num} | received implicit-null}

Description

Displays label information for all label types and protocols.

Syntax Description

rsvp-te Specifies that only RSVP-TE LSP labels are displayed.
static Specifies that only static LSP labels are displayed.
summary Specifies that summary information for the labels is displayed.
label_num Specifies that only labels that match the specified hexadecimal label number are displayed.
advertised Specifies that only labels advertised to other routers are displayed.
received Specifies that only labels received from other routers are displayed.
implicit-null Specifies that only implicit-null labels are displayed.

Default

N/A.

Usage Guidelines

If no options are specified, tabular information for all labels, except advertised implicit-null labels, is displayed. The following table describes the display fields that appear when this command is entered.

Table 1. show mpls label Field Definitions
Field Definition
Advertised Label Advertised Label is the label advertised to other routers.
Destination Mapping Destination Mapping displays the destination IP address and mask.
LSP Flags LSP Flags lists the flags for each label, which are described in the key at the bottom of the display.
Peer Label The peer label that replaces the received label of incoming packets during a label swap on a transit LSP. The peer label appears only for transit LSPs.
NHop Type

NHop Type helps define the handling of a packet arriving with the specified advertised label. Possible values are:

IP—The label on the packet is swapped and the packet forwarded to the IP address shown in the NextHop field.locl—Indicates that the tunnel destination is local to this switch.

VLAN—The label on the packet is stripped and is IP routed according to the Destination Mapping field.

VRF—For advertised labels, the Next Hop column contains the name of the virtual router to which packets with the given Layer 3 VPNlabel will be forwarded. For received labels, the Next Hop column displays the router ID of the BGP peer, and the Name column displays the name of the VR using this label.

VPLS—The label on the packet is stripped and forwarded according to the service configuration of the VPLS specified in the Name field.

Next Hop Displays an interface ID for the next hop router, which can be a VLAN name, VMAN name, or IP address.
Name Displays a VPLS or LSP name.
Received Label Received Label displays the label received from other routers.
Note

Note

Unsupported labels will contain no information.

Example

The following command displays all labels except received implicit-null labels:

* Switch.1 # show mpls label

Advertised     Destination    LSP     Peer  NHop
Label              Mapping  Flags    Label  Type  NextHop            Name
-------------------------------------------------------------------------------
0x8082c         3.3.3.3/32    -LE       --  VLAN  lpbk               --
0x8082d         5.5.5.5/32    2LE       --  VPLS  --                 extreme-501
0x8082e         5.5.5.5/32    2LE       --  VPLS  --                 extreme-503
0x8082f         5.5.5.5/32    2LE       --  VPLS  --                 extreme-504
0x80830         5.5.5.5/32    2LE       --  VPLS  --                 extreme-505
0x80831         5.5.5.5/32    2LE       --  VPLS  --                 extreme-506
0x80832         5.5.5.5/32    2LE       --  VPLS  --                 extreme-507
0x80833         5.5.5.5/32    2LE       --  VPLS  --                 extreme-508
0x80834         5.5.5.5/32    2LE       --  VPLS  --                 extreme-509
0x8082a         3.3.3.3/32    -RE       --  locl  3.3.3.3            lsp5to3-2
0x8082b       101.0.0.1/32    -RE       --  locl  101.0.0.1          lsp5to3
0x80400                 --    3-E       --  VRF   blue-vr            --
0x80401                 --    3-E       --  VRF   red-vr             --
0x80402                 --    3-E       --  VRF   white-vr           --

Received       Destination    LSP
Label              Mapping  Flags   NextHop            Name
------------------------------------------------------------------------------
0x8082d         5.5.5.5/32    2LI   5.5.5.5            extreme-501
0x8082f         5.5.5.5/32    2LI   5.5.5.5            extreme-503
0x80830         5.5.5.5/32    2LI   5.5.5.5            extreme-504
0x80831         5.5.5.5/32    2LI   5.5.5.5            extreme-505
0x80832         5.5.5.5/32    2LI   5.5.5.5            extreme-506
0x80833         5.5.5.5/32    2LI   5.5.5.5            extreme-507
0x80834         5.5.5.5/32    2LI   5.5.5.5            extreme-508
0x80835         5.5.5.5/32    2LI   5.5.5.5            extreme-509
0x8082a       101.0.0.2/32    -RI   101.0.0.2          lsp3to5
0x8082b         5.5.5.5/32    -RI   101.0.0.2          lsp3to5-2
0x80401                 --    3-I   5.5.5.5            red-vr
0x80400                 --    3-I   5.5.5.5            red-vr
0x80401                 --    3-I   5.5.5.5            blue-vr
0x80400                 --    3-I   5.5.5.5            blue-vr
0x80402                 --    3-I   5.5.5.5            white-vr

Flags:(3) L3VPN,(2) L2VPN, (L) LDP, (R) RSVP-TE, (S) Static
(T) Transit LSP, (I) Ingress to LSP, (E) Egress from LSP,
(M) Multiple Next Hops

Summary of Labels                            Advertised      Received
Total number of RSVP-TE LSP labels           2               2
Total number of LDP LSP labels               1               0
Total number of Static LSP labels            0               0
Total number of L2VPN Labels                 8               8
Total number of L3VPN Labels                 3               5
 

The following command displays all rsvp-te labels except received implicit-null labels:

* Switch.2 # show mpls rsvp-te label

Advertised     Destination  Label     Peer  NHop
Label              Mapping  Flags    Label  Type  NextHop            Name
-------------------------------------------------------------------------------
0x80834       101.0.0.1/32    -RE       --  locl  101.0.0.1          lsp5to3
0x80835         3.3.3.3/32    -RE       --  locl  3.3.3.3            lsp5to3-2

Received       Destination  Label
Label              Mapping  Flags   NextHop            Name
------------------------------------------------------------------------------
0x8082a       101.0.0.2/32    -RI   101.0.0.2          lsp3to5
0x8082b         5.5.5.5/32    -RI   101.0.0.2          lsp3to5-2

Flags:(3) L3VPN,(2) L2VPN, (L) LDP, (R) RSVP-TE, (S) Static,
(T) Transit LSP, (I) Ingress to LSP, (E) Egress from LSP,
(M) Multiple Next Hops

Summary of Labels                            Advertised     Received
Total number of RSVP-TE LSP labels           2            2
 

History

This command was first available in ExtremeXOS 11.6.

This command was modified to display only RSVP-TE and static label information in ExtremeXOS 12.5. Additional commands were added to display LDP Layer 2 VPN and Layer 3 VPN labels.

Platform Availability

This command is available only on the platforms that support MPLS as described in the ExtremeXOS 32.6.1 Feature License Requirements document.