Hardware Controller Clear and Show Commands
4-92 Configuring Hardware Controllers
Hardware Controller Clear and Show Commands
clear counters fastethernet
ThiscommandclearsMIB‐IIcountersfortheFastEthernetinterface.Thecountersclearedinclude:
•ifInOctets
•ifInUcastPkts
• ifInNUcastPkts
•ifInDiscards
• ifInErrors
• ifOutOctets
• ifOutUcastPkts
•ifOutNUcastPkts
•ifOutDiscards
• ifOutErrors
• ifInUnknownProtos
Syntax
clear counters fastethernet interface sub-interface
Mode
PrivilegedEXEC:XSR#
Example
ThefollowingexampleclearstheMIB‐IIcountersonFastEthernetport1,sub‐int erface20:
XSR#clear counters fastethernet 1.20
clear counters gigabitethernet
ThiscommandclearsthesameMIB‐IIcountersfortheinterfaceastheclear counters
fastethernet
command.
Syntax
clear counters gigabitethernet interface sub-interface
interface
FastEthernetinterfacenumber,rangingfrom1to2.
sub-interface
FastEthernetsub‐interfacenumber,rangingfrom1to64.
interface
Interfacenumber,rangingfrom1to3.
sub-interface
Sub‐interfacenumber,rangingfrom1to64.