System information
3-61
Interface Commands
3
clear counters
Use this command to clear statistics on an interface.
Syntax
clear counters interface
interface
• ethernet unit/port
- unit - This is device 1.
- port - Port number.
• port-channel channel-id (Range: 1-6)
Default Setting
None
Command Mode
Privileged Exec
Command Usage
Statistics are only initialized for a power reset. This command sets the base
value for displayed statistics to zero for the current management session.
However, if you log out and back into the management interface, the statistics
displayed will show the absolute value accumulated since the last power reset.
Example
The following example clears statistics on Ethernet port 1/1
shutdown
Use this command to disable an interface. To restart a disabled interface, use the no
form.
Syntax
[no] shutdown
Default Setting
All interfaces are enabled.
Command Mode
Interface Configuration (Ethernet, Port Channel)
Console#clear counters ethernet 1/1
Console#