DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide
75
19 0 0 0
20 0 0 0
21 0 0 0
clear counters
Purpose
Used to clear the switch’s statistics
counters.
Syntax
clear counters {ports <portlist>}
Description
This command will clear the counters used
by the switch to compile statistics.
Parameters
<portlist>
−
Specifies a range of ports to be
configured. The port list is specified by
listing the beginning port number and the
highest port number of the range. The
beginning and end of the port list range are
separated by a dash. For example, 3 would
specify port 3. 4 specifies port 4. 3-4
specifies all of the ports between port 3 and
port 4
−
in numerical order.
Restrictions
Only administrator-level users can issue
this command.
Example Usage:
To clear the counters:
DGS-3224TGR:4#clear counters ports 7-9
Command: clear counters ports 7-9