display mpls ldp lsp compatible

Function

The display mpls ldp lsp compatible command displays information about a specific or all LDP LSPs.

Format

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

Parameters

Parameter Description Value
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.

-

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 set up, to view detailed information about LSPs, such as the outgoing interfaces, next hop addresses, total number, and types, run the display mpls ldp lsp compatible 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 compatible
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         3/NULL         2.2.2.9         127.0.0.1         Loop1
*1.1.1.9/32         Liberal/18                     DS/2.2.2.9        
 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.9/32         NULL/17        -               10.1.1.2          GE0/1/0
 3.3.3.9/32         17/17          2.2.2.9         10.1.1.2          GE0/1/0
 10.1.1.0/30        3/NULL         2.2.2.9         10.1.1.1          GE0/1/0
*10.1.1.0/30        Liberal/3                      DS/2.2.2.9        
 10.2.1.0/30        NULL/3         -               10.1.1.2          GE0/1/0
 10.2.1.0/30        18/3           2.2.2.9         10.1.1.2          GE0/1/0
 -------------------------------------------------------------------------------
 TOTAL: 8 Normal LSP(s) Found.
 TOTAL: 2 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 in GR state
 An asterisk (*) before a DS means the session is in GR state
 An asterisk (*) before a NextHop means the LSP is FRR LSP
Table 1 Description of the display mpls ldp lsp compatible command output
Item Description
DestAddress/Mask

Destination address and mask of an LSP.

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 a NextHop means the LSP is FRR LSP.

OutInterface

Name of an outbound interface.

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