DGS-3710 Series Layer 2 Managed Gigabit Switch CLI Reference Guide
492
Restrictions
Only Administrator and Operator-level users can issue this command.
Example
To clear the historical counter for all ports:
DGS-3710-12C:admin#clear historical_counters all
Command: clear historical_counters all
Success.
DGS-3710-12C:admin
47-9
clear counters
Description
This command is used to clear the switch’s statistics counters.
Format
clear counters {ports <portlist>}
Parameters
ports
- Specifies a range of ports to be configured. The beginning and end of the port list range
are separated by a dash.
<portlist>
- Enter the list of ports, to be configured, here.
Note:
If no parameter is specified, the system will count all of the ports.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example
To clear the switch’s statistics counters for ports 7 to 9:
DGS-3710-12C:admin#clear counters ports 7-9
Command: clear counters ports 7-9
Success.
DGS-3710-12C:admin#