< Home

display mpls ldp adjacency

Function

The display mpls ldp adjacency command displays information about LDP adjacencies.

Format

display mpls ldp adjacency [ interface interface-type interface-number | remote ] [ peer peer-id ] [ verbose ]

display mpls ldp adjacency all [ verbose ]

Parameters

Parameter Description Value
interface interface-type interface-number Displays information about the LDP adjacency of a specified interface.
  • interface-type specifies the type of the interface.
  • interface-number specifies the number of the interface.
-
remote Displays information about the LDP adjacency of a specified remote end. -
peer peer-id Displays information about the LDP adjacency of a specified peer. The value is in dotted decimal notation.
verbose Displays detailed information about LDP adjacencies. -
all Displays information about all the LDP adjacencies. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

After an LDP session is established, run the display mpls ldp adjacency command to view real-time information about LDP adjacencies, for example, the number of received Hello messages.

Example

# Display information about LDP adjacencies.

<HUAWEI> display mpls ldp adjacency

 LDP Adjacency Information in Public Network
 Codes: R: Remote Adjacency, L: Local Adjacency
 A '*' before an adjacency means the adjacency is being deleted.
 ------------------------------------------------------------------------------
 SN   SourceAddr      PeerID          VrfID AdjAge(DDDD:HH:MM) RcvdHello Type
 ------------------------------------------------------------------------------
  1   10.1.2.2        2.2.2.2         0      0000:00:22        527       L
  2   10.2.3.3        3.3.3.3         0      0000:00:20        254       L
  3   3.3.3.3         3.3.3.3         0      0000:00:18        79        R
 ------------------------------------------------------------------------------
 TOTAL: 3 Record(s) found.  
Table 1 Description of the display mpls ldp adjacency command output

Item

Description

SN

Serial number.

SourceAddr

Source address of the Hello message received by an LDP adjacency.

PeerID

LSR ID of an LDP peer.

VrfID

ID of a VPN instance.

AdjAge(DDDD:HH:MM)

Time elapsed since the LDP adjacency was created, in DDDD:HH:MM format.

RcvdHello

Number of Hello messages received by an LDP adjacency.

Type

Type of an LDP adjacency:
  • L: local LDP adjacency.
  • R: remote LDP adjacency.

# Display detailed information about the LDP adjacency of the remote peer with the LSR ID of 3.3.3.3/32.

<HUAWEI> display mpls ldp adjacency remote peer 3.3.3.3 verbose

 LDP Adjacency Information in Public Network
 ------------------------------------------------------------------------------
                           LDP Peer ID : 3.3.3.3
                      VPNInstance name : -
                            CreateDate : 2005-07-27
                            CreateTime : 11:15:41+00:00
                         Adjacency Age : 0000:03:44
                         AdjacencyType : Remote Adjacency
                      Discovery-Source : -
                    UDP Source Address : 3.3.3.3
                         UDP Socket ID : 33
                          Sequence No. : 0
   Configuration Hello Hold Timer(sec) : 45
                    Hello Message Rcvd : 899
             Adjacency Deletion Status : No
 ------------------------------------------------------------------------------
 TOTAL: 1 Adjacency(s) found. 
Table 2 Description of the display mpls ldp adjacency remote peer command output

Item

Description

LDP Peer ID

LSR ID of an LDP peer.

VPNInstance name

Name of a VPN instance.

NOTE:

The switch does not support this parameter.

CreateDate

Creation date of an LDP adjacency.

CreateTime

Creation time of an LDP adjacency.

Adjacency Age

Time elapsed since the LDP adjacency was created, in DDDD:HH:MM format.

AdjacencyType

Type of an LDP adjacency:

  • Local Adjacency.

  • Remote Adjacency.

Discovery-Source

Discovery source of an LDP adjacency:
  • Interface: a discovery source of the local LDP adjacency.

  • Null: a discovery source of the remote LDP adjacency.

UDP Source Address

Source address of the UDP packet contained in the Hello message received by an LDP adjacency.

UDP Socket ID

Socket ID of the LDP adjacency to receive Hello message.

Sequence No

Serial number carried in the received Hello message.

The default value is 0.

Configuration Hello Hold Timer(sec)

Hello hold timer configured on the peer, in seconds:

  • Link Hello hold timer: maintains the local LDP adjacency. The default value is 15.

  • Target Hello hold timer: maintains the remote LDP adjacency. The default value is 45.

Hello Message Rcvd

Number of Hello messages received by an LDP adjacency.

Adjacency Deletion Status

Deletion status of an LDP adjacency:
  • Yes: The LDP adjacency is being deleted.
  • No: The LDP adjacency is not being deleted.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >