Hardware Controller Clear and Show Commands
Hardware Controller Clear and Show Commands
clear counters fastethernet
This command clears MIB‐II counters for the FastEthernet interface. The counters cleared include:
•
ifInOctets
•
ifInUcastPkts
•
ifInNUcastPkts
•
ifInDiscards
•
ifInErrors
•
ifOutOctets
•
ifOutUcastPkts
•
ifOutNUcastPkts
•
ifOutDiscards
•
ifOutErrors
•
ifInUnknownProtos
Syntax
clear counters fastethernet interface sub-interface
interface
sub-interface
Mode
Privileged EXEC:
Example
The following example clears the MIB‐II counters on FastEthernet port 1, sub‐interface 20:
XSR#clear counters fastethernet 1.20
clear counters gigabitethernet
This command clears the same MIB‐II counters for the interface as the
fastethernet
Syntax
clear counters gigabitethernet interface sub-interface
interface
sub-interface
4-92 Configuring Hardware Controllers
FastEthernet interface number, ranging from 1 to 2.
FastEthernet sub‐interface number, ranging from 1 to 64.
XSR#
command.
Interface number, ranging from 1 to 3.
Sub‐interface number, ranging from 1 to 64.
clear counters