DGS-6604
m
clear counters
CLI Reference Guide
91
clear counters
Use the command to clear counters for a specific port interface or all port
interfaces.
clear counters [
INTERFACE
-
ID
[ , | - ] ]
Default
None
Command Mode
Privileged EXEC
Usage Guideline
For now, only physical port counters are provided.
Examples
This example shows how to clear counters of interface eth3.10.
The following example will clear all of physical ports' statistic counters.
The following example will clear eth 3.1-3.24 physical port s' statistic counters.
Syntax Description
INTERFACE-ID
(Optional) Specifies the interface ID. If no interface is specified, all counters on
applicable interfaces (physical ports) will be cleared.
Switch# clear counters eth3.10
Switch#
Switch# clear counters
Switch#
Switch# clear counters eth3.1-3.24
Switch#