Clear SNMP counters

Unanswered Question
May 7th, 2009
User Badges:

Does anyone know how to clear the counters that are shown when you enter the "show snmp" command?

I'm trying to troubleshoot an SNMP issue, but I'm not sure if the errors I'm seeing are recent or if they're old. If I could clear the counters I could see if I'm getting new errors.

I've tried "clear snmp" and things like that, but can't seem to find the right command.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Joe Clarke Thu, 05/07/2009 - 08:54
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

You cannot clear SNMP counters. This is part of the SNMP spec. The only way to reset those counters is to reboot the device. What you should do is note the current values before you begin your test. Then conduct your test, and take the delta values. If the counters have not changed, then you can disregard those values as being old.


This Discussion