Ethernet Configuration Commands
Page 82
clear counters
The clear counters User EXEC mode command clears statistics on an interface.
Syntax
clear counters [ethernet interface | port-channel port-channel-number]
Parameters
•
interface — Valid Ethernet port. (Full syntax: port)
• port-channel-number — Valid port-channel number.
Default Configuration
This command has no default configuration.
Command Mode
User EXEC mode
User Guidelines
There are no user guidelines for this command.
Example
In the following example, the counters for interface 1 are cleared.
Console>
clear counters ethernet
1