Technical Documentation

show ldp statistics

Syntax

show ldp statistics<instance instance-name><logical-system (all | logical-system-name)>

Release Information

Command introduced before Junos OS Release 7.4.

Description

Display Label Distribution Protocol (LDP) statistics.

Options

none

Display LDP statistics for all routing instances.

instance instance-name

(Optional) Display information for the specified routing instance only.

logical-system (all | logical-system-name)

(Optional) Perform this operation on all logical systems or on a particular logical system.

Required Privilege Level

view

Related Topics

List of Sample Output

show ldp statistics

Output Fields

Table 1 lists the output fields for the show ldp statistics command. Output fields are listed in the approximate order in which they appear.

Table 1: show ldp statistics Output Fields

Field Name

Field Description

Total Sent, Received

Total number of each message type sent and received.

Last 5 seconds Sent, Received

Number of each message type sent and received in the last 5 seconds.

Message type

LDP message types:

  • Hello—Messages that enable LDP nodes to discover one another and to detect the failure of a neighbor or of the link to the neighbor.
  • Initialization—Messages that indicate an LDP session has started.
  • Keepalive—Messages that ensure that the keepalive timeout is not exceeded.
  • Notification—Advisory information and signal error information.
  • Address—Messages with address information.
  • Address withdrawal—Messages regarding address withdrawal.
  • Label mapping—Messages with label mapping information.
  • Label request—Request for a label mapping from a neighboring router.
  • Label withdrawal—Withdrawal message sent by the downstream LSR to recall a label that it previously mapped. If an LSR that has received a label mapping subsequently determines that it no longer needs that label, it can send a label release message that frees the label for use.
  • Label release—Message sent by the downstream LSR to recall a label that it previously mapped. If an LSR that has received a label mapping subsequently determines that it no longer needs that label, it can send a label release message that frees the label for use.
  • Label abort—Messages about label interruptions.
  • All UDP—All hello messages sent by LSRs to the well-known UDP port, 646.
  • All TCP—All LDP session messages.

Event type

LDP events and errors.

Total

Total number of each event or error.

Last 5 seconds

Number of each event or error in the last 5 seconds.

Sample Output

show ldp statistics

user@host> show ldp statistics
Message type               Total                     Last 5 seconds
                       Sent      Received          Sent      Received
Hello                   265           263             2             2
Initialization            2             2             0             0
Keepalive               112           111             1             0
Notification              0             0             0             0
Address                   2             2             0             0
Address withdraw          0             0             0             0
Label mapping             7             6             0             0
Label request             0             0             0             0
Label withdraw            2             0             0             0
Label release             0             2             0             0
Label abort               0             0             0             0
All UDP                 265           263             2             2
All TCP                 123           121             1             0

Event type                             Total        Last 5 seconds

Sessions opened                            2                  0
Sessions closed                            0                  0
Topology changes                          11                  0

No interface                               0                  0
No session                                 0                  0
No adjacency                               0                  0
Unknown version                            0                  0
Malformed PDU                              0                  0
Malformed message                          0                  0
Unknown message type                       0                  0
Inappropriate message                      0                  0
Malformed TLV                              0                  0
Bad TLV value                              0                  0
Missing TLV                                0                  0
PDU too large                              0                  0

Published: 2010-07-13

Help
|
My Account
|
Log Out