11
Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x
155
Ethernet Configuration Commands
clear counters
To clear the statistics counters on all interfaces or on a specific interface, use the
clear counters Privileged EXEC Mode command.
Syntax
clear counters [interfaces
interface-id
]
Parameters
•
interfaces
interface-id
—(Optional) Specifies an interface ID or a list of
interface IDs. The interface ID can be one of these types: Ethernet port or
port channel.
Default Configuration
N/A
Command Mode
Privileged EXEC Mode
Example
The following example clears the statistics counters for gi5:
switchxxxxxx#
clear counters interfaces gi5