display mpls static-lsp

Function

The display mpls static-lsp command displays static LSP information.

Format

display mpls static-lsp [ lsp-name ] [ { exclude | include } ip-address mask-length ]

display mpls static-lsp [ lsp-name ] [ { exclude | include } ip-address mask-length ] verbose

Parameters

Parameter Description Value
lsp-name

Specifies the name of a static LSP.

The value is a string of 1 to 19 case-sensitive characters. It cannot contain spaces. The string can contain spaces if it is enclosed with double quotation marks (").

exclude

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

-

include

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

-

ip-address

Specifies an IPv4 address.

The value is in dotted decimal notation.

mask-length

Specifies a mask length.

The value is an integer ranging from 0 to 32.

verbose

Displays detailed information.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
mpls-ldp read

Usage Guidelines

Usage Scenario

A static LSP is of local significance. To check whether a static LSP is working properly, run both the display mpls static-lsp and ping lsp commands.

Example

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

# Display detailed information about a static LSP.
<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  : GigabitEthernet0/1/0
NextHop        : 10.1.1.2
Static-Lsp Type: Normal
Lsp Status     : Up
# Display the summary about a static LSP.
<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   -/GE0/1/0              Up
Table 1 Description of the display mpls static-lsp command output
Item Description
No

Sequence number.

LSP-Name

LSP name.

LSR-Type

Role of an LSR on a static LSP:

-

Ingress.

-

Transit.

-

Egress.

FEC

FEC, which is the destination IP address and mask length of a static LSP in the preceding example.

In-Label

Incoming label value.

Out-Label

Outgoing label value.

In-Interface

Inbound interface name.

Out-Interface

Outbound interface name.

NextHop

Next-hop IP address.

Static-Lsp Type

Static LSP type.

Lsp Status

LSP status:

  • Up.
  • Down.
Status

LSP status:

  • Up.
  • Down.
TOTAL

Total number of static LSPs.

UP

Number of static LSPs in the Up state.

DOWN

Number of static LSPs in the Down state.

Name

LSP name.

I/O Label

Values of the incoming and outgoing labels.

I/O If

Inbound and outbound interface names.

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