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 | interface-name } | remote ] [ peer peer-id ]

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

display mpls ldp adjacency vpn-instance vpn-instance-name [ interface { interface-type interface-number | interface-name } | remote ] [ peer peer-id ]

display mpls ldp adjacency vpn-instance vpn-instance-name [ interface { interface-type interface-number | interface-name } | remote ] [ peer peer-id ] verbose

display mpls ldp adjacency all [ verbose ]

Parameters

Parameter Description Value
interface

Displays information about the LDP adjacency of a specified interface name.

-

interface-type

Specifies the type of interface.

-

interface-number

Specifies the number of interface.

-

remote

Displays information about the LDP adjacency of a specified remote peer. The value is defined using the remote-ip command.

-

peer peer-id

Displays information about the LDP adjacency of a specified peer. The value is defined using the mpls lsr-id command.

The value is in dotted decimal notation.

verbose

Displays detailed information about LDP adjacencies.

-

vpn-instance vpn-instance-name

Displays information about the LDP adjacency of a specified VPN instance.

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 (").

all

Displays information about all LDP adjacencies.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
mpls-ldp read

Usage Guidelines

Usage Scenario

To view information about LDP adjacencies, such as the number of received Hello messages, the display mpls ldp adjacency 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 the LDP adjacency of the remote peer with LSR ID 3.3.3.3/32.
<HUAWEI> display mpls ldp adjacency remote peer 3.3.3.3 verbose
LDP Adjacency Information
 ------------------------------------------------------------------------------
                           LDP Peer ID : 3.3.3.3
                      VPNInstance name : -
                            CreateDate : 2013-11-11
                            CreateTime : 01:52:30
                         Adjacency Age : 0000:00:00
                         AdjacencyType : Remote Adjacency
                      Discovery-Source : -
                    UDP Source Address : 1.1.1.1
                         UDP Socket ID : 7
                          Sequence No. : 1
   Configuration Hello Hold Timer(sec) : 45
                    Hello Message Rcvd : 5
                              BED-Rate : 0e-0
 ------------------------------------------------------------------------------
 TOTAL: 1 Adjacency(s) Found.
# Display information about LDP adjacencies.
<HUAWEI> display mpls ldp adjacency
LDP Adjacency Information
 Codes: R: Remote Adjacency, L: Local Adjacency
 An asterisk (*) before an adjacency means the adjacency is being deleted.
 -------------------------------------------------------------------------------
 SN   SourceAddr      PeerID          VrfID     AdjAge(DDDD:HH:MM) RcvdHello Type
 -------------------------------------------------------------------------------
 1    10.1.1.1        1.1.1.1         0           0000:01:19       956        L
 2    10.2.2.2        2.2.2.2         0           0000:01:19       949        L
 3    1.1.1.1         1.1.1.1         0           0000:01:19       315        R
 4    2.2.2.2         2.2.2.2         0           0000:01:19       313        R
 -------------------------------------------------------------------------------
 TOTAL: 4 Record(s) Found.
Table 1 Description of the display mpls ldp adjacency command output
Item Description
LDP Peer ID

LSR ID of an LDP peer.

Adjacency Age

Time elapsed since an LDP adjacency was created.

VPNInstance name

Name of a VPN instance.

CreateDate

Date when an LDP adjacency was created.

CreateTime

Time when an LDP adjacency was created.

AdjacencyType

Type of an LDP adjacency:

  • Local Adjacency.
  • Remote Adjacency.
Discovery-Source

Discovery source of an LDP adjacency:

  • Interface: discovery source of the local LDP adjacency.
  • Null: discovery source of the remote LDP adjacency.
UDP Source Address

UDP source address.

Sequence No.

Sequence number carried in the received Hello message. The value default 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. By default, its value is 15.
  • Target Hello hold timer: maintains the remote LDP adjacency. By default, its value is 45.
Hello Message Rcvd

Number of received Hello messages.

BED-Rate

LDP bit error rate.

Type

Type of an LDP adjacency:

  • L: local LDP adjacency.
  • R: remote LDP adjacency.
SN

Sequence number.

SourceAddr

Source address.

PeerID

LSR ID of an LDP peer.

VrfID

ID of a VPN instance.

AdjAge(DDDD:HH:MM)

Time elapsed since an LDP adjacency is created.

RcvdHello

Number of received Hello messages.

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