![D-Link xStack DGS-3120-48PC Reference Manual Download Page 476](http://html.mh-extra.com/html/d-link/xstack-dgs-3120-48pc/xstack-dgs-3120-48pc_reference-manual_76212476.webp)
xStack
®
DGS-3120 Series Managed Switch CLI Reference Guide
472
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
DGS-3120-24TC:admin#
47-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: