show mpls ldp label

show mpls {ldp} label {lsp} {summary | label_num | [advertised | received] {label_num} | received implicit-null}


Displays LDP LSP label information.

Syntax Description

ldp Specifies that only LDP 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.



Usage Guidelines

If no options are specified, tabular information for all LDP 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 ldp 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.vlan—The label on the packet is stripped and is IP routed according to the Destination Mapping field.locl—Indicates that the tunnel destination is local to this switch.

Next Hop Displays an interface ID for the next hop router, which can be a This command is available on the ExtremeSwitching X440-G2, X450-G2, X460-G2, X465, X590, X620, X670-G2, X690, X695, X870, 5320, 5420, 5520 series switches. name, VMAN name, or IP address.
Name Displays an LSP name.
Received Label Received Label displays the label received from other routers.


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

* Switch.1 # show mpls ldp label


This command was first available in ExtremeXOS 12.5.

Platform Availability

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