Clearing Spanning-Tree Counters

Unanswered Question
Jan 30th, 2009
User Badges:


I was just looking to clear all of the current spanning-tree counters after making some changes. I have used the command "clear spanning-tree counters" however this only seemed to clear the interfaces stats such as number of BPDUs sent and received. I am wanting to clear the Topology Change counters mainly. Is there a way of doing this easily?


  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 2 (1 ratings)
smalkeric Thu, 02/05/2009 - 08:05
User Badges:
  • Silver, 250 points or more

To clear the interface counters, use the clear counters command. Still it is not clear the topology change counters then there are only two ways to clear that counter in IOS. That could be either reload the whole switch or shut down and enable the STP to clear the counters on.

mike_guy29 Thu, 02/05/2009 - 08:16
User Badges:


Thanks for that. I had already tried the "clear counters" command as well. I can't find another way myself (other than as you say a reload etc). Nevermind!

Thanks for your help

k.aumell Wed, 02/25/2015 - 06:56
User Badges:

Is there a solution to Mike's problem, other than reloading the switch? I would really like to clear the topology change counters.




This Discussion