| Interface Commands
C
26
HAPTER
Interface Configuration
clear counters
R
C
ELATED
OMMANDS
negotiation (973)
capabilities (969)
This command clears statistics on an interface.
S
YNTAX
clear counters interface
interface
ethernet unit/port
unit - Unit identifier. (Range: 1)
port - Port number. (Range: 1-28/52)
port-channel channel-id (Range: 1-16)
D
S
EFAULT
ETTING
None
C
M
OMMAND
ODE
Privileged Exec
C
U
OMMAND
SAGE
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.
E
XAMPLE
The following example clears statistics on port 5.
Console#clear counters ethernet 1/5
Console#
– 976 –