Command Guide of WGSW-28040
254
4.20.9 clear interface
Command:
clear interfaces
IF_PORTS
counters
Parameter:
IF_PORTS
Specifiy port to clear counters.
Mode:
Privileged EXEC
Usage Guide:
Use “
clear interface
” command to clear counters on specific ports.
Example:
This example shows how to clear counters on port gi1.
Switch(config)#
clear interfaces gi1 counters
This example shows how to show current counters
Switch#
show interfaces gi1
Hardware is gigabit
Auto-duplex, Auto-speed, media type is Copper
flow-control is off
0 packets input, 0 bytes, 0 throttles
Received 0 broadcasts (0 multicasts)
0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 multicast, 0 pause input
0 input packets with dribble condition detected
0 packets output, 0 bytes, 0 underrun
0 output errors, 0 collisions, 0 interface resets
0 babbles, 0 late collision, 0 deferred
0 PAUSE output