80
Syntax
display mpls route-state [ vpn-instance vpn-instance-name ] [ dest-addr mask-length ] [ | { begin |
exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
vpn-instance vpn-instance-name: Displays the LSP information of the routes of a VPN instance. vpn-
instance-name is the VPN instance name, which is a case-sensitive string of 1 to 31 characters.
dest-addr mask-length: Displays the LSP information of routes to a destination address. dest-addr is the
destination IP address. The mask length is 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 256
characters.
Examples
# Display LSP-related information about all routes.
<Sysname> display mpls route-state
DEST/MASK NEXT-HOP OUT-INTERFACE STATE LSP-COUNT VPN-INDEX
-----------------------------------------------------------------
1.1.1.1/32 10.0.0.1 Vlan2 ESTA 1 0
Table 39 Command output
Field Description
LSP-COUNT Number of LSPs established based on this route
VPN-INDEX Index number of the VPN instance
display mpls static-lsp
Description
Use the display mpls static-lsp command to display information about a specific static LSP or all static
LSPs.
Related commands: display mpls lsp and display mpls statistics lsp.
Syntax
display mpls static-lsp [ lsp-name lsp-name ] [ { exclude | include } dest-addr mask-length ] [ verbose ] [ |
{ begin | exclude | include } regular-expression ]