© Copyright Lenovo 2017
Table 103.
Layer 2 Statistics Commands
Command Syntax and Usage
show macaddresstable counters unicast
Displays all FDB statistics for all Unicast FDB entries.
Command mode: All
show macaddresstable counters vlan <VLAN ID (1‐4094)>
Displays all FDB statistics on a single VLAN.
Command mode: All
show oam counters
Displays OAM statistics. See page
Command mode: All
show spanningtree statistics
Displays all Spanning Tree Protocol (STP) statistics. See page
output.
Command mode: All
show spanningtree statistics port <port alias or number>
Displays STP statistics for the specified port. See page
Command mode: All
show spanningtree statistics stp <1‐128>
Displays STP statistics for the specified Spanning Tree Group (STG). See
page
245 for sample output.
Command mode: All
show vlag statistics
Displays all vLAG statistics. See page
Command mode: All
clear hotlinks
Clears all Hot Links statistics.
Command mode: Privileged EXEC
clear interface port <port alias or number> lacp counters
Clears Link Aggregation Control Protocol (LACP) statistics.
Command mode: Privileged EXEC
clear interface port <port alias or number> lldpcounters
Clears Link Layer Detection Protocol (LLDP) statistics for the specified port.
Command mode: Privileged EXEC
clear macaddresstable counters
Clears FDB statistics.
Command mode: Privileged EXEC
246 for sample output.
245 for sample output.
247 for sample output.
Chapter 3: Statistics Commands
245 for sample
239