[Contents] [Prev] [Next] [Index] [Report an Error]

# Monitoring LDP Neighbors

Purpose

Display LDP neighbor information.

Action

To display information about LDP neighbor 10.3.5.1:

    host1#show ldp neighbor 10.3.5.1
    LDP Neighbor: 10.0.2.2
      LSR: Remote 10.0.2.2:0, local 10.0.1.1:0
      Transport address: remote 10.0.2.2, local 10.0.1.1
      State: Operational
      LDP advertisement: Unsolicited
      Up for 00:20:03

      Number of next-hop addresses received = 3
        10.0.2.2  100.6.12.2  100.6.23.2
      Number of adjacencies = 1
        Link Hello adjacency: address 10.6.12.2, transport 10.0.2.2,
          Up for 00:20:09, remaining hold time: 11 sec

To display brief information about all LDP neighbors:

    host1#show ldp neighbor brief

    Neighbor                 Transport Address   State
    10.0.2.2                10.0.1.1->80.0.2.2     Operational

To display information about graceful restart for neighbors:

    host1#show ldp neighbor graceful-restart
    LDP Neighbor: 10.0.1.1
      Graceful Restart is disabled
      Helper Mode is enabled
      Reconnect Time: 0 msec
      Recovery Time: 0 msec
      State: operational

    LDP neighbor 10.0.2.2
      Graceful Restart is enabled
      Helper Mode is enabled
      Reconnect Time: 220000 msec
      Recovery Time: 0 msec
      State: operational

To display information about LDP statistics for the session with each LDP neighbor:

    host1#show ldp neighbor statistics

    LDP Neighbor: 10.0.2.2
      Message type     Received   Sent
    ----------------   --------   ----
    Initialization            1      1
    Keepalive                85     85
    Notification              0      0
    Address                   1      1
    Address withdraw          0      0
    Label mapping             5      5
    Label request             0      0
    Label withdraw            2      2
    Label release             2      2

| Note: The mpls keyword is optional and is provided for compatibility with non–E-series implementations.

| Note: If a password is configured for a peer, you can view the password with the show configuration command. This command displays the passwords in cleartext unless the service password-encryption command has been issued, in which case the passwords are displayed in encrypted format.

Meaning

Table 38 lists the show ldp neighbor command output fields.

Table 38: show ldp neighbor Output Fields

Field Name | Field Description
--- | ---
LDP neighbor | IP address of LDP peer
LSR | IP address of remote and local peers; the number following the colon is the platform label space ID, and is always 0
Transport address | Transport remote and local address for the TCP session
State | State of the session, nonexistent (session connection not established) or operational (has received keepalive message)
LDP advertisement | Mode of label distribution, downstream-unsolicited or downstream-on-demand
Up | Time that the adjacency has been up, in hh:mm:ss format
Graceful Restart | State of graceful restart, enabled or disabled
Helper Mode | State of graceful restart helper mode, enabled or disabled
Reconnect Time | Value for reconnect time received from peer in FT TLV, in milliseconds
Recovery Time | Value for recovery time received from peer in FT TLV, in milliseconds
State | Status of the neighbor’s graceful restart, one of the following:
nonexistent | LDP session is not established
restarting | Neighbor LSR is restarting
recovering | Session with neighbor LSR has reestablished after the neighbor restarted; label bindings are being exchanged
operational | LDP session is up
Neighbor | IP address of LDP peer
Initialization | Number of initialization messages received and sent
Keepalive | Number of keepalive messages received and sent
Notification | Number of notification messages received and sent
Address | Number of address messages received and sent
Address withdraw | Number of address withdraw messages received and sent
Label mapping | Number of label mapping messages received and sent
Label request | Number of label request messages received and sent
Label withdraw | Number of label withdraw messages received and sent
Label release | Number of label release messages received and sent

#### Related Topics

- show ldp neighbor

[Contents] [Prev] [Next] [Index] [Report an Error]