show mpls ldp lsp

show mpls ldp lsp {prefix ipNetmask} {ingress |egress |transit} {detail}

Description

Displays the LSP information associated with LDP that is used to forward packets within the MPLS network. If no options are specified, summary information for all LSPs is displayed.

Syntax Description

prefix Displays information for a single FEC that matches the prefix.
ipNetmask Designates the FEC for which to display information.
ingress Displays information for LSPs that originate from the switch into the MPLS network.
egress Displays information for LSPs that terminate at the switch from the MPLS network.
transit Displays information for LSPs that traverse the switch.
detail Display detailed LSP information.

Default

N/A.

Usage Guidelines

If no options are specified, this command displays summary information for all LSPs.

Optionally, the LSPs displayed can be further qualified by the keywords ingress, egress, and transit. These keywords qualify the LSPs displayed from the perspective of the switch. Ingress LSPs originate from the switch into the MPLS network. Egress LSPs terminate at the switch from the MPLS network. Transit LSPs traverse the switch. If the optional prefix keyword is specified, only the LSP information associated with the FEC that matches the prefix is displayed.

If the detail keyword is specified, information is displayed in verbose form and includes received packet and byte counts.

Example

The following command displays LDP information for an ingress LSP:

# show mpls ldp lsp 11.100.100.59/32 ingress detail
FEC IP/Prefix: 11.100.100.59/32
Next Hop I/F     : m5vlan1
Next Hop Addr    : 12.224.0.55
Advertised Label : n/a               Received Label : 0x80403 (525315)
Rx Packets       : n/a                   Tx Packets : 61
Rx Bytes         : n/a                     Tx Bytes : 4294967296

The following command displays LDP information for a transit LSP:

# show mpls ldp lsp 11.100.100.55/32 transit detail
FEC IP/Prefix: 11.100.100.55/32
Next Hop I/F     : m5vlan1
Next Hop Addr    : 12.224.0.55
Advertised Label : 0x11 (17)         Received Label : 0x80403 (525315)
Rx Packets       : 61                    Tx Packets : 61
Rx Bytes         : 4294967296              Tx Bytes : 4294967296

The following command displays LDP information for an egress LSP:

# show mpls ldp lsp 11.100.100.30/32 egress detail
FEC IP/Prefix: 11.100.100.30/32
Direct VLAN      : loop
Advertised Label : 0x80400 (525312)  Received Label : n/a
Rx Packets       : 61                    Tx Packets : n/a
Rx Bytes         : 4294967296              Tx Bytes : n/a

History

This command was first available in ExtremeXOS 11.6.

The output for this command was modified in ExtremeXOS 12.2.2.

Platform Availability

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