Displaying LDP LSP Forwarding Database

To display information about LDP LSPs, use the following command:
show mpls ldp lsp {prefix ipNetmask} {egress | ingress | transit} {detail}

This command displays the LDP LSPs established to, from, and through this switch. By default, ingress, egress, and transit LSPs are all displayed. By optionally specifying the LSP type, the output display is filtered to show only the type of LSPs specified.

When all LSP types are being displayed, LSPs that show only an advertised label represent egress LSPs from the network perspective or incoming LSPs from the switch perspective. LSPs that show only a received label represent ingress LSPs from the network perspective or outgoing LSPs from the switch perspective. LSPs that show both an incoming and an outgoing label represent transit LSPs. As Extreme switches are merge-capable, all LDP transit LSPs can also be used as ingress LSPs.

The significance of the VLAN (Virtual LAN) information shown depends on the LSP type. For ingress and transit LSPs, the indicated VLAN is the MPLS (Multiprotocol Label Switching) interface used to reach the next hop peer. For egress LSPs, there is no associated MPLS next hop interface. When the prefix being advertised is associated with a local (direct) VLAN, that VLAN name is displayed. When the advertised prefix is associated with a static or an RIP (Routing Information Protocol) route, the VLAN field is empty.

Advertised labels have switch-wide significance and are generally advertised out multiple interfaces.

* BD-10K.15 # show mpls ldp lsp
Prefix            Adv Label Peer Label Next Hop        VLAN
192.99.1.5/32      0x80402   --         --              loopback
192.80.40.0/24     0x80403   --         --              asheville
192.100.40.0/24    0x80404   --         --              boone
192.60.40.0/24     0x8040b   --         --              blowingrock
192.24.100.0/24    0x00015   0x80401    192.100.40.3    boone
192.99.1.3/32      0x00016   0x80403    192.100.40.3    boone
192.10.50.0/24     0x00018   0x80405    192.100.40.3    boone
10.20.30.0/24      0x0001c   0x00013    192.100.40.3    boone
11.136.96.0/24     0x0001d   0x00014    192.100.40.3    boone

Specifying the optional detail keyword displays each LSP in detail format.

Additionally, received packets and bytes are maintained for transit and egress (or incoming) LSPs. Specifying the keyword prefix and a matching ipNetmask restricts the display to a single entry.

*BD-X8.17 # show mpls ldp lsp prefix 11.108.96.0/24 detail
FEC IP/Prefix: 11.108.96.0/24:
Advertised Label: 0 (0)
Received Label  : 0x18 (24)
Next Hop IP     : 192.100.40.3
VLAN Name       : boone
Packets received  :        489
Bytes received    :      46944