xStack
®
DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide
656
DGS-3120-24TC:admin# debug stp show counter ports 1:9
Command: debug stp show counter ports 1:9
STP Counters
--------------------------------------
Port 1: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
64-5 debug stp clear counter
Description
This command is used to clear the STP counters.
Format
debug stp clear counter [ports <portlist> | all]
Parameters
ports - Specify the port range.
<portlist> - Enter the list of port used for this configuration here.
all - Clears all port counters.
Restrictions
Only Administrator-level users can issue this command.
Example
To clear all STP counters on the Switch: