show lldp statistics
Syntax
show lldp statistics
<interface interface>
Description
Display LLDP statistics for all interfaces or for the specified interface.
Options
none | Display LLDP statistics for all interfaces. |
interface interface | (Optional) Display LLDP statistics for the specified interface. |
Required Privilege Level
view
Output Fields
Table 1 lists the output fields for the show lldp statistics
command. Output fields are listed in the approximate order in which
they appear.
Field Name |
Field Description |
---|---|
Interface |
Name of the interface. |
Parent Interface |
Name of the aggregated Ethernet interface, if any, to which the interface belongs. Note:
Because LLDP packets are transmitted and received on member interfaces only, statistics are available only for the member interfaces, not for the aggregated interface. |
Received |
Total number of LLDP frames received on an interface. |
Unknown TLVs |
Number of unrecognized LLDP TLVs received on an interface. |
With Errors |
Number of invalid LLDP TLVs received on an interface. |
Discarded |
Number of LLDP TLVs received and then discarded on an interface. |
Transmitted |
Total number of LLDP frames that were transmitted on an interface. |
Untransmitted |
Total number of LLDP frames that were untransmitted on an interface. |
Sample Output
- show lldp statistics
- show lldp statistics interface xe-3/0/0.0
- show lldp neighbors detail (l2ng and non-l2ng platform)
- show lldp neighbors interface (l2ng and non-l2ng platform)
show lldp statistics
user@switch> show lldp statistics Interface Parent Interface Received Unknown TLVs With Errors xe-3/0/0.0 ae31.0 1564 0 0 xe-3/0/1.0 ae31.0 1564 0 0 xe-3/0/2.0 ae31.0 1565 0 0 xe-3/0/3.0 ae31.0 1566 0 0 xe-3/0/4.0 ae31.0 1598 0 0 xe-3/0/5.0 ae31.0 1598 0 0 xe-3/0/6.0 ae31.0 1596 0 0 xe-3/0/7.0 ae31.0 1597 0 0 xe-5/0/6.0 - 0 0 0 xe-5/0/7.0 - 0 0 0 Discarded TLVs Transmitted Untransmitted 0 3044 1 0 3044 1 0 3044 1 0 3044 1 0 3075 1 0 3075 1 0 3075 1 0 3075 1 0 17312 0 0 17312 0
show lldp statistics interface xe-3/0/0.0
user@switch> show lldp statistics interface xe-3/0/0.0 Interface Parent Interface Received Unknown TLVs With Errors xe-3/0/0.0 ae31.0 1566 0 0 Discarded TLVs Transmitted Untransmitted 0 3046 1
show lldp neighbors detail (l2ng and non-l2ng platform)
user@switch show lldp neighbors detail LLDP Neighbor Information: Local Information: Index: 11 Time to live: 20 Time mark: Fri Feb 4 11:15:46 2022 Age: 3 secs Local Interface : ge-0/0/2 Parent Interface : - Local Port ID : 521 Ageout Count : 1 Neighbour Information: Chassis type : Mac address Chassis ID : 00:05:86:90:bd:c0 Port type : Interface name Port ID : ge-0/0/2 Port description : INTF2_DISECR_CE1 System name : CE1_re0
show lldp neighbors interface (l2ng and non-l2ng platform)
user@switch show lldp neighbors interface ge-0/0/2LLDP Neighbor Information: Local Information: Index: 3 Time to live: 20 Time mark: Fri Feb 4 11:16:50 2022 Age: 3 secs Local Interface : ge-0/0/2 Parent Interface : - Local Port ID : 521 Ageout Count : 0 Neighbour Information: Chassis type : Mac address Chassis ID : 2c:6b:f5:0d:3d:c0 Port type : Interface name Port ID : ge-0/0/2 Port description : FIRST_INTF_DESC_CE2 System name : CE2_re0.englab.juniper.net
Release Information
Command introduced in Junos OS Release 9.0.