display mpls ldp lsp

Function

The display mpls ldp lsp command displays information about LDP LSPs.

Format

display mpls ldp lsp [ host-name host-name | destination-address mask-length | all | inbound-policy ]

display mpls ldp lsp vpn-instance vpn-instance-name [ destination-address mask-length ]

Parameters

Parameter Description Value
host-name host-name

Displays the specified host LDP LSP information.

The value is a string of 1 to 255 case-sensitive characters. It cannot contain spaces.

destination-address

Specifies the destination IPv4 address of an LDP LSP.

The value is in dotted decimal notation.

mask-length

Specifies the mask length of the specified destination IPv4 address.

The value is an integer ranging from 0 to 32.

all

Displays information about all LDP LSPs.

-

inbound-policy

Displays information about the LSPs that have passed an inbound policy, in addition to information about the LSPs that are established without applying the inbound policy.

-

vpn-instance vpn-instance-name

Displays events that LDP adjacencies in a specified VPN instance go Down.

The value is a string of 1 to 31 case-sensitive characters. It cannot contain spaces. The VPN instance name cannot be <b>_public_</b>. However, the character string can contain spaces if it is enclosed with double quotation marks (").

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
mpls-ldp read

Usage Guidelines

Usage Scenario

After LDP LSPs are established, to view detailed information about LSPs, such as the outbound interfaces, next hop addresses, total number, and types, run the display mpls ldp lsp command.

Prerequisites

MPLS and MPLS LDP have been enabled globally.

Example

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

# Display information about LDP LSPs.
<HUAWEI> display mpls ldp lsp
LDP LSP Information
 -------------------------------------------------------------------------------
 Flag after Out IF: (I) - RLFA Iterated LSP, (I*) - Normal and RLFA Iterated LSP
 -------------------------------------------------------------------------------
 DestAddress/Mask   In/OutLabel    UpstreamPeer    NextHop          OutInterface
 -------------------------------------------------------------------------------
*1.1.1.9/32         Liberal/16                     DS/2.2.2.9
 1.1.1.9/32         3/NULL         2.2.2.9         127.0.0.1         Loop1
 2.2.2.9/32         NULL/3         -               10.1.1.2          GE0/1/0
 2.2.2.9/32         16/3           2.2.2.9         10.1.1.2          GE0/1/0
 3.3.3.3/32         NULL/32833     -              *4.4.4.4           LDP LSP  
 3.3.3.3/32         32834/32833    2.2.2.2        *4.4.4.4           LDP LSP
 3.3.3.3/32         32834/32833    3.3.3.3        *4.4.4.4           LDP LSP  
 3.3.3.3/32         32834/32833    4.4.4.4        *4.4.4.4           LDP LSP
-------------------------------------------------------------------------------
 TOTAL: 3 Normal LSP(s) Found.
 TOTAL: 1 Liberal LSP(s) Found.
 TOTAL: 0 Frr LSP(s) Found.
An asterisk (*) before an LSP means the LSP is not established
 An asterisk (*) before a Label means the USCB or DSCB is stale
 An asterisk (*) before an UpstreamPeer means the session is stale
 An asterisk (*) before a DS means the session is stale
 An asterisk (*) before a NextHop means the LSP is FRR LSP
Table 1 Description of the display mpls ldp lsp command output
Item Description
Normal LSP

Number of common LSPs.

DestAddress/Mask

Destination address and mask of an LSP.

An asterisk (*) before DestAddress/Mask indicates that the LSP is not established.

In/OutLabel

Values of the incoming label and outgoing label.

An asterisk (*) before In/OutLabel indicates that the LSP is in the Stale state and the LSP needs to be restored.

UpstreamPeer

Upstream peer of an LSP.

An asterisk (*) before UpstreamPeer indicates that the session is in the GR state.

NextHop

Next-hop IP address.

An asterisk (*) before NextHop indicates that the LSP is a backup LSP.

DS is short for DownStream. The address next to DS/ is the LSR ID of a downstream peer.

The next-hop address of a liberal LSP is in the preceding form.

OutInterface

Outbound interface:

  • Interface name.
  • LDP LSP.
Liberal LSP

Number of liberal LSPs.

Frr LSP

Number of FRR LSPs.

USCB

The upstream control block records the status of messages sent to an upstream peer on an LSP.

DSCB

The downstream control block records the status of messages received from a downstream peer on an LSP.

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