Hardware Controller Clear and Show Commands
4-92 Configuring Hardware Controllers

Hardware Controller Clear and Show Commands

clear counters fastethernet

ThiscommandclearsMIBIIcountersfortheFastEthernetinterface.Thecountersclearedinclude:
•ifInOctets
•ifInUcastPkts
• ifInNUcastPkts
•ifInDiscards
• ifInErrors
• ifOutOctets
• ifOutUcastPkts
•ifOutNUcastPkts
•ifOutDiscards
• ifOutErrors
• ifInUnknownProtos
Syntax
clear counters fastethernet interface sub-interface
Mode
PrivilegedEXEC:XSR#
Example
ThefollowingexampleclearstheMIBIIcountersonFastEthernetport1,subinterface20:
XSR#clear counters fastethernet 1.20

clear counters gigabitethernet

ThiscommandclearsthesameMIBIIcountersfortheinterfaceastheclear counters
fastethernet command.
Syntax
clear counters gigabitethernet interface sub-interface
interface FastEthernetinterfacenumber,rangingfrom1to2.
sub-interface FastEthernetsubinterfacenumber,rangingfrom1to64.
interface Interfacenumber,rangingfrom1to3.
sub-interface Subinterfacenumber,rangingfrom1to64.