display mpls static-lsp [ lsp-name ] [ { include | exclude } ip-address mask-length ] [ verbose ]
Parameter | Description | Value |
---|---|---|
lsp-name | Specifies the name of an LSP. | The value is an existing static LSP name. |
include | Displays information about LSPs, including information about the specific FEC. | - |
exclude | Displays information about LSPs, excluding information about the specific FEC. | - |
ip-address | Specifies the destination IPv4 address. | The value is in dotted decimal notation. |
mask-length | Specifies the length of an IPv4 mask. | The value is an integer ranging from 0 to 32. |
verbose | Displays detailed information. | - |
Static LSPs are configured locally, so you need to run the ping lsp command to check whether the static LSP can work normally. If the static LSP cannot work normally, run the display mpls static-lsp command to view information about static LSPs.
# Display brief information about static LSPs.
<HUAWEI> display mpls static-lsp TOTAL : 1 STATIC LSP(S) UP : 1 STATIC LSP(S) DOWN : 0 STATIC LSP(S) Name FEC I/O Label I/O If Status lsp1 3.3.3.9/32 NULL/100 -/Vlanif100 Up
Item |
Description |
---|---|
TOTAL |
Total number of static LSPs. |
UP |
Number of static LSPs that are in the Up state. |
DOWN |
Number of static LSPs that are in the Down state. |
Name |
Name of an LSP. |
FEC |
Destination IP address and mask length of an LSP. |
I/O Label |
Incoming and outgoing labels. |
I/O If |
Incoming and outbound interfaces. |
Status |
Current status of an LSP:
|
# Display detailed information about static LSPs.
<HUAWEI> display mpls static-lsp verbose No : 1 LSP-Name : lsp1 LSR-Type : Ingress FEC : 3.3.3.9/32 In-Label : NULL Out-Label : 100 In-Interface : - Out-Interface : Vlanif100 NextHop : 10.1.1.2 Static-Lsp Type: Normal Lsp Status : Up
Item |
Description |
---|---|
No |
Serial number. |
LSP-Name |
Name of an LSP. |
LSR-Type |
Role of the current LSR on a static LSP:
|
FEC |
Destination IP address and mask length of an LSP. |
In-Label |
Incoming label. |
Out-Label |
Outgoing label. |
In-Interface |
Inbound interface. |
Out-Interface |
Outbound interface. |
NextHop |
Next hop IP address. |
Static-Lsp Type |
Type of a static LSP. |
Lsp Status |
LSP status:
|