How to find out last reset date from port statistics

  • 0
  • 1
  • Question
  • Updated 3 years ago
  • Answered
Hi,
i need to know when the counter of the port statistics was reset last time. If i only enter show port statistics it display the actual date and time(which is not very helpful) and the statistics.

Does anyone know where to find the last reset time....or port statistics since...days?

Thanks in Advance
Photo of holden

holden

  • 452 Points 250 badge 2x thumb
  • busy

Posted 3 years ago

  • 0
  • 1
Photo of Paul Russo

Paul Russo, Alum

  • 9,694 Points 5k badge 2x thumb
Hello Holger

I am not aware of any place that shows the last time the counters were cleared. Counters are clerked when you enter the clear command or when the switch is rebooted.

I haven't check the newer code so ther may have been changes. I will check and see if I can verify.

P
Photo of holden

holden

  • 452 Points 250 badge 2x thumb

Hi,

to know how long the counter was reset is essential. In Cisco IOS you find the last reset time of the counter. So you can see how long traffic was not seen on interfacers and can declare them as not in use. If i now reset the counter i have to note this and communicate to my team, so in some weeks we now how long the port was not used.

Any suggestions?

Photo of Ronald Dvorak

Ronald Dvorak, Embassador

  • 45,024 Points 20k badge 2x thumb
Do a "show log" and you'd see the date/time at which the "clear counter"  was done.....

X430-48t.9 # show log
08/13/2015 20:59:54.38 <Noti:DM.Notice> Clearing all counters
08/13/2015 20:58:43.71 <Noti:DM.Notice> Clearing all counters

-Ron
Photo of holden

holden

  • 452 Points 250 badge 2x thumb
okay, thats a good workaround, but this shows only short terms. The logfile doesnt keep data from weeks or months


Thanks
Photo of Andrew Maldonado

Andrew Maldonado, Extreme Alumnus

  • 2,302 Points 2k badge 2x thumb
Holger,

A syslog server can be setup to store log messages over a long period of time.

-Andrew