Use this procedure to verify port-based LLDP statistics.
LLDP operates at the interface level. Enabling FA on a port automatically enables LLDP transmission and reception on the port. It also enables traffic tagging and disables spanning tree on that port.
Enabling FA on an MLT enables LLDP transmission and reception on all ports in the MLT.
Note
When FA is enabled on ports in an MLT or LACP MLT, tagging is enabled and spanning tree is disabled on those ports.
When a port is removed from an MLT, LLDP transmission on that port stops and spanning tree is enabled. Any I-SID-to-VLAN mappings on that port are removed, if not already learned on any other port in the MLT. This also causes the Switched UNI I-SID to be deleted from the MLT. If however, the mappings are learned on another port on the MLT, then the Switched UNI I-SID continues to exist for that MLT.
enable
show lldp tx-stats port {slot/port[/sub-port] [-slot/port[/sub-port]] [,...]}
show lldp rx-stats port {slot/port[/sub-port] [-slot/port[/sub-port]] [,...]}
clear lldp stats {slot/port[/sub-port] [-slot/port[/sub-port]] [,...]}
Verify LLDP transmission statistics on a port:
Switch:1>en Switch:1#show lldp tx-stats port 1/2 ================================================================ LLDP Tx-Stats ================================================================ PORT NUM FRAMES ---------------------------------------------------------------- 1/2 100
Verify that the port is receiving LLDP PDUs:
Switch:1#show lldp rx-stats port 1/2 ================================================================================ LLDP Rx-Stats ================================================================================ Port Frames Frames Frames TLVs TLVs AgeOuts Num Discarded Errors Total Discarded Unsupported (Non FA) (Non FA) -------------------------------------------------------------------------------- 1/2 0 0 46 0 0 0