display mpls static-lsp

Use display mpls static-lsp to display static LSP information.

Syntax

display mpls static-lsp [ lsp-name lsp-name ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

lsp-name lsp-name: Specifies a static LSP by its name, a case-sensitive string of 1 to 15 characters. If you do not specify a static LSP, this command displays information about all static LSPs.

Examples

# Display information about all static LSPs.

<Sysname> display mpls static-lsp
Total: 3
Name            FEC                In/Out Label Nexthop/Out Interface    State
egress123       -/-                16/NULL      -                        Up
ingress123      202.118.224.132/32 NULL/1022    100.100.100.19           Down
transit123      -/-                32/1022      100.100.100.17           Down

Table 9: Command output

Field

Description

Total

Total number of static LSPs.

Name

Name of the static LSP.

FEC

Forwarding equivalence class—IP prefix and the prefix length.

In/Out Label

Incoming label/outgoing label.

Nexthop/Out Interface

Next hop address or outgoing interface specified for an ingress node or a transit node.

State

Current state of the static LSP:

  • Up—The static LSP is available.

  • Down—The static LSP is not available.

  • Idle—The incoming label of the static LSP is not available.

  • Dup—The incoming label of the static LSP is used by a static CRLSP.