clear counters
Use the clear counters command in Privileged EXEC mode to clear statistics on an interface.
Syntax
clear counters [ethernet
interface — Valid Ethernet port. The full syntax is: unit/port
•
port-channel-number — Valid port-channel index.
•
Default Configuration
This command has no default configuration.
Command Mode
Privileged EXEC mode
User Guidelines
This command has no user guidelines.
Example
In the following example, the counters for port 1/g1 are cleared.
console#clear counters ethernet 1/g1
description
Use the description command in Interface Configuration mode to add a description to an
interface. To remove the description use the no form of this command.
Syntax
description
no description
string — Comment or a description of the port attached to this interface. (Range: 1 to 64
•
characters)
Default Configuration
By default, the interface does not have a description.
236
interface
| port-channel
string
port-channel-number
]