< 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 ] [ 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 name. -
peer peer-id Displays information about the LDP adjacency of a specified peer. -
verbose Displays detailed information about LDP adjacencies. -
all Displays information about all LDP adjacencies. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Run the display mpls ldp adjacency command to view information about LDP adjacencies in real time. The number of received Hello messages is also displayed.

Example

# Display information about LDP adjacencies.

<sysname> 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.10.2.2       2.2.2.2         0      0000:00:22        527       L
  2   10.11.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

Sequence number

SourceAddr

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

PeerID

label switching router (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
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >