display mpls lsp protocol ldp

Function

The display mpls lsp protocol ldp command displays information about LDP LSPs.

Format

display mpls lsp protocol ldp [ include ip-address mask-length ] [ outgoing-interface { interface-name | interface-type interface-number } ] [ nexthop nexthop ] [ lsr-role { ingress | transit | egress } ] [ in-label in-label-value ]

display mpls lsp protocol ldp [ include ip-address mask-length ] [ outgoing-interface { interface-name | interface-type interface-number } ] [ nexthop nexthop ] [ lsr-role { ingress | transit | egress } ] [ in-label in-label-value ] verbose

display mpls lsp compatible protocol ldp [ include ip-address mask-length ] [ outgoing-interface { interface-name | interface-type interface-number } ] [ nexthop nexthop ] [ lsr-role { ingress | transit | egress } ]

display mpls lsp vpn-instance vpn-instance-name protocol ldp [ include ip-address mask-length ] [ outgoing-interface { interface-name | interface-type interface-number } ] [ nexthop nexthop ] [ lsr-role { ingress | transit | egress } ] [ in-label in-label-value ]

display mpls lsp vpn-instance vpn-instance-name protocol ldp [ include ip-address mask-length ] [ outgoing-interface { interface-name | interface-type interface-number } ] [ nexthop nexthop ] [ lsr-role { ingress | transit | egress } ] [ in-label in-label-value ] verbose

Parameters

Parameter Description Value
include

Displays information about LSPs that are mapped to a specified FEC.

-

ip-address

Displays information about LSPs with a specified destination IP address.

The value is in dotted decimal notation.

mask-length

Specifies the mask length of an IP address.

The value is an integer ranging from 0 to 32.

outgoing-interface

Displays information about all LSPs with a specified outbound interface.

-

interface-name

Specifies an interface name.

-

interface-type

Specifies the interface type.

-

interface-number

Specifies the interface number.

-

nexthop nexthop

Displays information about all LSPs with a specified next hop.

The value is in dotted decimal notation.

lsr-role

Displays information about all LSPs on the current LSR that plays a specified role.

-

ingress

Displays information about all LSPs on the current LSR that functions as the ingress.

-

transit

Displays information about all LSPs on the current LSR that functions as a transit node.

-

egress

Displays information about all LSPs on the current LSR that functions as the egress.

-

in-label in-label-value

Displays information about all LSPs with a specified incoming label.

The value ranges from 0 to 1048575.

verbose

Displays detailed information about LSPs.

-

compatible

Displays information about LSPs in compatible style.

-

vpn-instance vpn-instance-name

Specifies the name of a VPN instance.

The value is a string of 1 to 31 case-sensitive characters.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
mpls-ldp read

Usage Guidelines

Usage Scenario

If no parameter is configured, the display mpls lsp command displays information about all LDP LSPs.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display information about all LSPs.
<HUAWEI> display mpls lsp protocol ldp
Flag after Out IF: (I) - RLFA Iterated LSP, (I*) - Normal and RLFA Iterated LSP
Flag after LDP FRR: (L) - Logic FRR LSP
-------------------------------------------------------------------------------
                 LSP Information: LDP LSP
-------------------------------------------------------------------------------
FEC                In/Out Label    In/Out IF                      Vrf Name
10.2.3.4/32        3/NULL          -/-                            
10.3.4.5/32        NULL/3          -/GE0/1/0                      
10.3.4.5/32        22/3            -/GE0/1/0                      
10.10.3.3/32       NULL/3001       -/GE0/1/1(I*)                  
10.10.3.3/32       3002/3001       -/GE0/1/1                      
   **LDP FRR**     NULL/3002       -/GE0/1/2(I*)                  
   **LDP FRR**     3002/3002       -/GE0/1/2                      
10.10.4.4/32       NULL/3003       -/GE0/1/3                      
10.10.4.4/32       3005/3004       -/GE0/1/3                      
   **LDP FRR**     NULL/3006       -/LDP LSP                      
   **LDP FRR**     3005/3006       -/LDP LSP
10.10.5.5/32       NULL/3          -/GE0/1/4
10.10.5.5/32       48125/3         -/GE0/1/4
   **LDP FRR**     NULL/48153      -/SRBE
   **LDP FRR**     48125/48153     -/SRBE
Table 1 Description of the display mpls lsp protocol ldp command output
Item Description
LSP Information

Indicates LSP information of all types.

FEC

Indicates the forwarding equivalence class. Usually, the value is the destination address and mask for an LSP.

In/Out Label

Indicates the values of the incoming and outgoing labels.

In/Out IF

Indicates the names of the inbound and outbound interfaces.

Vrf Name

Indicates the name of a VPN instance.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >