DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide
265
Restrictions
Only Administrators can issue this command.
Example
To display the STP counters for port 9:
DWS-3160-24PC:admin# debug stp show counter ports 9
Command: debug stp show counter ports 9
STP Counters
--------------------------------------
Port 9 :
Receive: Transmit:
Total STP Packets : 0 Total STP Packets : 0
Configuration BPDU : 0 Configuration BPDU : 0
TCN BPDU : 0 TCN BPDU : 0
RSTP TC-Flag : 0 RSTP TC-Flag : 0
RST BPDU : 0 RST BPDU : 0
Discard:
Total Discarded BPDU : 0
Global STP Disabled : 0
Port STP Disabled : 0
Invalid packet Format : 0
Invalid Protocol : 0
Configuration BPDU Length : 0
TCN BPDU Length : 0
RST BPDU Length : 0
Invalid Type : 0
Invalid Timers : 0
DWS-3160-24PC:admin#
22-15
debug stp clear counter
Description
This command used to clear the STP counters.
Format
debug stp clear counter [ports <portlist> | all]
Parameters
ports
- Specifies the port range.
<portlist>
- Enter the list of port used for this configuration here.
all
- Clears all port counters.