# Monitoring LDP Interfaces

#### Purpose

Display information about all LDP interfaces or the specified LDP interface.

#### Action

To display information about all LDP interfaces:

    host1#show ldp interface
    Interface ATM6/0.120
        Interface address: 192.168.12.1/28
        Enabled with profile 'default'
        Configured hold time: 15
        Hello interval: 5
        Hold Time: 1
        242 hello received, 242 hello sent, 0 hello rejected
        1 adjacency created, 0 adjacency deleted,
      Number of adjacencies = 1
        Link hello adjacency: Address: 10.10.12.2, Transport address: 80.0.2.2,
          Up for 00:20:09, Remaining hold time: 11 sec

To display brief information about LDP interfaces:

    host1#show ldp interface brief
    Interface              IP-Address          Protocol
    ATM6/1.1               192.168.100.21/30   enabled
    ATM6/1.3               192.168.100.17/30   enabled
    ATM6/1.5               192.168.100.13/30   enabled
    ATM6/0.7               172.16.100.1/30     enabled
    ATM6/0.8               172.16.100.22/30    enabled
    ATM6/0.9               172.16.100.14/30    enabled

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

#### Meaning

Table 67 lists the show ldp interface command output fields.

Table 67: show ldp interface Output Fields

Field Name | Field Description
--- | ---
Interface | Identifier of the interface
autoconfigured | LDP has been autoconfigured on the interface
Interface address | IP address of the interface, with address mask
Enabled with profile | Name of profile with which interface was enabled
Configured hold time | Configured period for which a sending LSR maintains a record of link hello messages from the receiving LSR without receipt of another link hello message from that LSR, in seconds
Hello interval | Negotiated interval between link-hello packets, in seconds
Hold time | Lowest configured hold time among all neighbors on the same subnet, used as the effective hold time, in seconds
Number of adjacencies | Number of LDP adjacencies for the interface
Link hello adjacency | Address and transport address of the link hello adjacency; time adjacency has been up in hh:mm:ss; remaining hold time for the adjacency in seconds
label alloc | Number of labels allocated and advertised to this peer
label learned | Number of labels received from this peer
accum label alloc | Cumulative total number of labels allocated and advertised to this peer
accum label learned | Cumulative total number of labels received from this peer
last restart time | Time in hh:mm:ss since session last restarted
notf | Number of notification messages received or received bad or sent
msg | Number of messages received or received bad or sent
mapping | Number of label mapping messages received or received bad or sent
request | Number of label request messages received or received bad or sent
abort | Number of label abort messages received or received bad or sent
release | Number of label release messages received or received bad or sent
withdraw | Number of label withdraw messages received or received bad or sent
addr | Number of address messages received or received bad or sent
addr withdraw | Number of address withdraw messages received or received bad or sent
msgId | Number of message ID messages received or sent
unknown msg type err | Number of unknown message type errors received
hello recv | Number of hello messages received
hello sent | Number of hello messages sent
bad hello recv | Number of hello messages received bad
adj setup time | Time in hh:mm:ss since adjacency set up
last hello recv time | Time in hh:mm:ss since last hello message received
last hello sent time | Time in hh:mm:ss since last hello message sent
remaining hold time | Time in hh:mm:ss remaining of the hold time
IP-Address | IP address of the interface
Protocol | Administrative state of LDP, enabled or disabled

#### Related Documentation

- show ldp interface