xStack
® 
DGS-3120 Series Managed Switch CLI Reference Guide 
525 
 
Format 
clear counters {ports <portlist>} 
 
Parameters 
ports - (Optional) Specify a range of ports to be configured. The port list is specified by listing the 
lowest switch number and the beginning port number on that switch, separated by a colon. 
Then highest switch number, and the highest port number of the range (also separeted by a 
colon) are specified. The beginning and end of the port list range are seperated by a dash.  
<portlist> - Enter a list of ports used for the configuration here. 
If no parameter is specified, system will display counters of all the ports . 
 
Restrictions 
Only Administrator and Operator-level users can issue this command. 
 
Example 
To clear the Switch’s statistics counters: 
DGS-3120-24TC:admin# clear counters ports 2:7-2:9 
Command: clear counters ports 2:7-2:9 
 
Success.