< Home

display mpls static-lsp

Function

The display mpls static-lsp command displays information about static label switched paths (LSPs).

Format

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

Parameters

Parameter Description Value
lsp-name Specifies the name of an LSP. A string of 1 to 19 case-sensitive characters, spaces not supported.
NOTE:
When double quotation marks are used around the string, spaces are allowed in the string.
include Displays information about LSPs, including information about the specific Forwarding Equivalence Class (FEC). -
exclude Displays information about LSPs, excluding information about the specific FEC. -
ip-address Specifies the destination IPv4 address. -
mask-length Specifies the length of an IPv4 mask. An integer ranging from 0 to 32
verbose Displays detailed information. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

None

Example

# Display brief information about static LSPs.

<sysname> 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/0/0              Up
Table 1 Description of the display mpls static-lsp command output

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 outgoing interfaces

Status

Current status of an LSP:
  • Up
  • Down

# Display detailed information about static LSPs.

<sysname> 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/0/0
NextHop        : 10.1.1.2
Static-Lsp Type: Normal
Lsp Status     : Up
Table 2 Description of the display mpls static-lsp verbose command output

Item

Description

No

Sequence number

LSP-Name

Name of an LSP

LSR-Type

Role of the current LSR on a static LSP:
  • Ingress

  • Transit

  • Egress

FEC

Destination IP address and mask length of an LSP

In-Label

Incoming label

Out-Label

Outgoing label

In-Interface

Incoming interface

Out-Interface

Outgoing interface

NextHop

Next-hop IP address

Static-Lsp Type

Type of a static LSP

Lsp Status

Current status of an LSP:
  • Up
  • Down
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >