63
If you do not specify any parameter, the command will display information about all LSPs established by
LDP.
Related commands: display mpls ldp.
Syntax
display mpls ldp lsp [ all | [ vpn-instance vpn-instance-name ] [ destination-address mask-length ] ] [ |
{ begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
all: Specifies all LSPs established by LDP.
vpn-instance vpn-instance-name: Displays the LSP information of a VPN instance. vpn-instance-name is
the name of the VPN instance, which is a case-sensitive string of 1 to 31 characters.
dest-addr mask-length: Displays the LSP information of an FEC. dest-addr is the destination address of the
FEC. mask-length is the length of the mask for the FEC destination address, ranging from 0 to 32.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see the Fundamentals Configuration Guide.
• begin: Displays the first line that matches the specified regular expression and all lines that follow.
• exclude: Displays all lines that do not match the specified regular expression.
• include: Displays all lines that match the specified regular expression.
• regular-expression: Specifies a regular expression, which is a case-sensitive string of 1 to 80
characters.
Examples
# Display information about all LSPs established by LDP.
<Sysname> display mpls ldp lsp
LDP LSP Information
--------------------------------------------------------------------------
SN DestAddress/Mask In/OutLabel Next-Hop In/Out-Interface
--------------------------------------------------------------------------
1 1.1.1.1/32 3/NULL 127.0.0.1 -------/InLoop0
2 10.1.1.0/24 3/NULL 10.1.1.1 -------/Vlan10
*3 100.1.1.1/32 Liberal (1025)
--------------------------------------------------------------------------
A '*' before an LSP means the LSP is not established
A '*' before a Label means the USCB or DSCB is stale
Table 25 Command output
Field Description
In/OutLabel
In/out label. A * before a label means that the LSP is in
process of GR. Liberal(number) means that the LSP is
unavailable and the label value is number.