display mpls lsp lsp-id

Function

The display mpls lsp lsp-id command displays information about specified LSPs.

Format

display mpls lsp lsp-id ingress-lsr-id session-id lsp-id [ verbose ]

Parameters

Parameter Description Value
ingress-lsr-id

Specifies the ingress LSR ID of a tunnel.

The value is in dotted decimal notation.

session-id

Specifies a session ID.

The value is an integer ranging from 0 to 65535.

lsp-id

Specifies the LSP ID.

The value is an integer ranging from 0 to 65535.

verbose

Displays detailed information about LSPs.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
mpls-te read

Usage Guidelines

Usage Scenario

To view the information about specified LSPs, you can run this command.

Example

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

# Displays detailed information about specified LSPs.
<HUAWEI> display mpls lsp lsp-id 2.2.2.2 1 1 verbose
----------------------------------------------------------------------
                 LSP Information: RSVP LSP
----------------------------------------------------------------------
  No                  :  1
  SessionID           :  1
  IngressLsrID        :  1.1.1.1
  LocalLspID          :  1
  Tunnel-Interface    :  Tunnel1
  Fec                 :  3.3.3.3/32
  Type                :  Main
  Nexthop             :  192.168.21.2
  In-Label            :  NULL
  Out-Label           :  16
  In-Interface        :  ----------
  Out-Interface       :  GigabitEthernet0/1/3
  LspIndex            :  33
  Token               :  ----------
  LsrType             :  Ingress
  Mpls-Mtu            :  1500
  LspAge              :  229 sec
  Entropy Label Flag  :  None
# Displays information about specified LSPs.
<HUAWEI> display mpls lsp lsp-id 2.2.2.2 1 1
----------------------------------------------------------------------
                 LSP Information: RSVP LSP
----------------------------------------------------------------------
FEC                In/Out Label  In/Out IF                   Vrf Name
1.1.1.1/32         3/NULL        P1/0/0/-
Table 1 Description of the display mpls lsp lsp-id command output
Item Description
LSP Information

Information about various types of LSPs.

No

LSP number.

SessionID

Session ID of a CR-LSP.

IngressLsrID

Ingress LSR ID of a CR-LSP.

LocalLspID

Local LSP ID of a CR-LSP.

Tunnel-Interface

Tunnel interface.

Fec

Forwarding equivalence class, which is usually the destination address of an LSP.

Type

Type of an LSP. For an LDP LSP, the value can be:

  • Primary.
  • Backup.
  • Backup_RLFA.
  • RLFA.

For an RSVP LSP, the value can be:

  • Main.
  • Detour.
Nexthop

Next hop address.

In-Label

Value of the incoming label.

Out-Label

Value of an outgoing label.

In-Interface

Inbound interface.

Out-Interface

Outbound interface.

LspIndex

Index of an LSP.

Token

Token value of an LSP, which is used to guide packet forwarding.

LsrType

Role of an LSR on an LSP:

  • Ingress.
  • Transit.
  • Egress.
Mpls-Mtu

Maximum transmission unit (MTU) of an interface of an LSP.

LspAge

Time elapsed since an LSP was set up.

Entropy Label Flag

Whether the entropy label function is enabled, which is the negotiation result of the ingress and egress of an RSVP-TE LSP.

FEC

Forwarding equivalence class. The value is usually the destination address and mask of an LSP.

In/Out Label

Value of an incoming or outgoing label.

In/Out IF

Name of an inbound or outbound interface.

Vrf Name

Name of a VPN instance.

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