< Home

display mpls ldp lsp

Function

The display mpls ldp lsp command displays information about an LDP LSP.

Format

display mpls ldp lsp [ all | destination-address mask-length ] [ peer peer-id ]

display mpls ldp lsp inbound-policy

Parameters

Parameter Description Value
all Displays information about all LDP LSPs. -
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 IPv4 address. The value is an integer ranging from 0 to 32.
peer peer-id Specifies the peer ID. The value is in dotted decimal notation.
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. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

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

Example

# Display information about LSPs.

<HUAWEI> display mpls ldp lsp

 LDP LSP Information
 -------------------------------------------------------------------------------
 Flag after Out IF: (I) - LSP Is Only Iterated by RLFA
 -------------------------------------------------------------------------------
 DestAddress/Mask   In/OutLabel    UpstreamPeer    NextHop        OutInterface
 -------------------------------------------------------------------------------
 10.3.3.3/32        3/NULL         10.4.4.9        127.0.0.1       InLoop0
 10.3.3.9/32        3/NULL         10.4.4.9        127.0.0.1       InLoop0
*10.3.3.9/32        Liberal/1024                   DS/10.4.4.9
 10.4.4.9/32        NULL/3         -               172.16.1.2      Vlanif100
 10.4.4.9/32        1029/3         10.4.4.9        172.16.1.2      Vlanif100
 -------------------------------------------------------------------------------
 TOTAL: 4 Normal LSP(s) Found.
 TOTAL: 1 Liberal LSP(s) Found.
 TOTAL: 0 Frr LSP(s) Found.
 A '*' before an LSP means the LSP is not established
 A '*' before a Label means the USCB or DSCB is stale
 A '*' before a UpstreamPeer means the session is stale
 A '*' before a DS means the session is stale
 A '*' before a NextHop means the LSP is FRR LSP 
Table 1 Description of the display mpls ldp lsp command output

Item

Description

DestAddress/Mask

Destination address and mask of an LSP.

In/OutLabel

Values of the incoming and outgoing labels.

An asterisk (*) before In/OutLabel indicates that the LSP is in the Stale state and 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 FRR LSP.

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

OutInterface

Name of an outbound interface.

TOTAL: 4 Normal LSP(s) Found.

Total number of normal LSPs.

TOTAL: 1 Liberal LSP(s) Found.

Total number of liberal LSPs.

TOTAL: 0 Frr LSP(s) Found.

Total number of FRR LSPs.

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