The display lldp statistics command displays statistics about Link Layer Discovery Protocol (LLDP) packets that all interfaces send and receive or LLDP packets that a specified interface sends and receives.
Usage Scenario
To view statistics about LLDP packets that a device sends and receives, run the display lldp statistics command. The command output helps diagnose faults.
NOTE: Before you view statistics about LLDP packets that a device sends and receives for a specified period of time, run the reset lldp statistics command to delete all existing statistics.Prerequisites
LLDP has been globally enabled using the lldp enable command in the system view, and LLDP has also been enabled on interfaces using the lldp enable command in the interface view.
Precautions
If you want to use the
display lldp statistics command to locate faults, note that:The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display lldp statistics LLDP statistics global Information: Statistics for Gigabitethernet0/1/16: Transmitted Frames Total: 28 Received Frames Total: 25 Frames Discarded Total: 0 Frames Error Total: 0 TLVs Discarded Total: 0 TLVs Unrecognized Total: 0 Neighbors Expired Total: 0 DCBX TLVs Transmitted Total: 0 DCBX TLVs Received Total: 0 Med TLVs Transmitted Total: 0 Med TLVs Received Total: 0 Last cleared Time: never Statistics for Gigabitethernet0/1/17: Transmitted Frames Total: 28 Received Frames Total: 25 Frames Discarded Total: 0 Frames Error Total: 0 TLVs Discarded Total: 0 TLVs Unrecognized Total: 0 Neighbors Expired Total: 0 DCBX TLVs Transmitted Total: 0 DCBX TLVs Received Total: 0 Med TLVs Transmitted Total: 0 Med TLVs Received Total: 0 Last cleared Time: never
Item | Description |
---|---|
LLDP statistics global Information | Statistics about LLDP packets that a device sends and receives. |
Transmitted Frames Total | Number of sent LLDP packets. |
Frames Discarded Total | Number of dropped LLDP packets. |
Frames Error Total | Number of received error LLDP packets. |
Received Frames Total | Number of received LLDP packets. |
TLVs Discarded Total | Number of dropped LLDP TLVs. |
TLVs Unrecognized Total | Number of unrecognized TLVs received. |
Neighbors Expired Total | Number of aged remote neighbors. |
DCBX TLVs Transmitted Total | Number of sent Data Center Bridging Capabilities Exchange (DCBX) TLVs. |
DCBX TLVs Received Total | Number of received DCBX TLVs. |
Med TLVs Transmitted Total | Number of sent MED TLVs. |
Med TLVs Received Total | Number of received Med TLVs. |
Last cleared Time | Date and time when statistics about LLDP packets were deleted last time. |