display mpls ldp lsp
Use display mpls ldp lsp to display information about LSPs generated by LDP.
Syntax
display mpls ldp lsp [ vpn-instance vpn-instance-name ] [ ipv4-address mask-length ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. This command displays LDP LSP information for the specified VPN instance. If you do not specify a VPN instance, this command displays LDP LSP information for the public network.
ipv4-address mask-length: Specifies an IPv4 FEC by an IPv4 address and a mask length in the range of 0 to 32.
Usage guidelines
If you do not specify the ipv4-address mask-length argument, this command displays information about LDP LSPs for all IPv4 FECs.
Examples
# Display LDP LSP information for IPv4 FECs on the public network.
<Sysname> display mpls ldp lsp Status Flags: * - stale, L - liberal, B - backup FECs: 4 Ingress: 1 Transit: 1 Egress: 3 FEC In/Out Label Nexthop OutInterface 1.1.1.1/32 -/3 10.1.1.1 Vlan10 1151/3 10.1.1.1 Vlan10 -/1025(B) 30.1.1.1 Vlan20 1151/1025(B) 30.1.1.1 Vlan20 2.2.2.2/32 3/- -/1151(L) 10.1.1.0/24 1149/- -/1149(L) 192.168.1.0/24 1150/- -/1150(L)
Table 15: Command output
Field | Description |
---|---|
Status Flags | LSP status:
|
FECs | Total number of FECs. |
Ingress | Number of LSPs that take the local device as the ingress node. |
Transit | Number of LSPs that take the local device as a transit node. |
Egress | Number of LSPs that take the local device as the egress node. |
FEC | Forwarding equivalence class identified by an IP prefix. |
In/Out Label | Incoming/outgoing label. |
Nexthop | Next hop address for the FEC. |
OutInterface | Outgoing interface for the FEC. |
Related commands
display mpls lsp