JAEN

Cisco IOS

clear counters

CautionReset interface counters

clear counters [interface]

Zeroes counters so you can tell whether errors are live or historical — standard prep for error hunts.

Examples

  • clear counters Gi1/0/12Reset one port's counters

Syntax

clear counters [interface]

Before you run it

History is lost — note values first.

Used when you see

Switch port won't come up
3
Clear counters to see if errors are still growing
See the whole flow →

Related commands

You can carry a laptop to the rack. Signal will not follow.

Check syntax standing in front of the hardware, with no connection at all. Free to install, no ads.

Get it free on the App Store