cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4804
Views
5
Helpful
3
Replies

Clearing interface counters

paul.tower
Level 1
Level 1

Hi, I'm looking to identify the unused ports on all of our switches.

So I want to reset the statistics under "show interface summary".  I run that command, and then "clear counters" and confirm "y".  When I then run sho int sum the output is similar to previous and not what I expect which would be all zeros.  Looking at sho int the output tells me those counters were cleared but the numbers remain more or less unchanged.

Am I totally misunderstanding what clear count does?  I understand the figure is a five minute average however it seems that clearing the counter would result in clear counters period.

Is there a way to reset those statistics across the board?

Thanks in advance for any help! 

1 Accepted Solution

Accepted Solutions

pieterh
VIP
VIP

the counters you refer to are the 5-min interval counters,

clear counters clears the cumulative counters shown by 
       show interface counters
and show interface counters error

 

View solution in original post

3 Replies 3

marce1000
Hall of Fame
Hall of Fame

 

  - Provide screenshot of observed output.

 M.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '

pieterh
VIP
VIP

the counters you refer to are the 5-min interval counters,

clear counters clears the cumulative counters shown by 
       show interface counters
and show interface counters error

 

That works for me.  I show interface counters, clear them, and watch them increment.

Thanks