display mpls static-sr-mpls

Use display mpls static-sr-mpls to display static SRLSP and adjacency path information.

Syntax

display mpls static-sr-mpls [ lsp lsp-name | adjacency adjacency-path-name ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

lsp lsp-name: Specifies a static SRLSP by its name, a case-sensitive string of 1 to 15 characters.

adjacency adjacency-path-name: Specifies an adjacency path by its name, a case-sensitive string of 1 to 15 characters.

Usage guidelines

If you do not specify a static SRLSP or adjacency path, this command displays information about all static SRLSPs and adjacency paths.

Examples

# Display static SRLSP and adjacency path information.

<Sysname> display mpls static-sr-mpls
LSP Name       : lsp1
LSR Type       : LSP
In-Label       : Null
Out-Label      : 60,70,80
LSP State      : Up

LSP Name       : adj1
LSR Type       : Adjacency
In-Label       : 40
Out-Label      : Null
Out-Interface  : Vlan2
Nexthop        : 20.1.1.2
LSP State      : Up

Table 76: Command output

Field

Description

LSP Name

Name of the static SRLSP or adjacency path.

LSR Type

Information type:

  • LSP—Static SRLSP information.

  • Adjacency—Adjacency path information.

In-Label

Incoming label.

Out-Label

Outgoing label.

Out-Interface

Output interface.

Nexthop

Next hop address.

LSP State

Status of the static SRLSP or adjacency path:

  • Down.

  • Up.

Related commands

static-sr-mpls lsp

static-sr-mpls adjacency