How to view counters last cleared

  • 0
  • 1
  • Question
  • Updated 3 years ago
  • Answered
Hi everybody ,

How can i find when is the last time counters were cleared for a port ?


SW # show switch 

Primary ver:      12.6.2.10                                 patch1-2
Secondary ver:    12.1.3.14  

Have a great weekend!!!
Photo of zeeshan qadir

zeeshan qadir

  • 266 Points 250 badge 2x thumb

Posted 3 years ago

  • 0
  • 1
Photo of PARTHIBAN CHINNAYA

PARTHIBAN CHINNAYA, Alum

  • 4,362 Points 4k badge 2x thumb
You should be able to see that in show logs
And if recently executed check history in cli
Photo of zeeshan qadir

zeeshan qadir

  • 266 Points 250 badge 2x thumb
Thanks Parthiban
Photo of Harkanwaljeet Singh

Harkanwaljeet Singh

  • 644 Points 500 badge 2x thumb
If using clear counters, then the command will be visible in the "show logs" only and only if you have enabled "cli-config-logging". "show management" is the command to see if cli-config-logging is enabled.

if you have executed "show ports utilization" and pressed 0 to clear the port counters, then i doubt if you will be able to find the time of clearing port counters.