Switches, Hubs, and Modems
1752788 Members
6049 Online
108789 Solutions
New Discussion юеВ

Re: Clear Procurve port Counters

 
SOLVED
Go to solution
Darren Etheridge_2
Super Advisor

Clear Procurve port Counters

Is there a CLI way to clear ALL the port Counters back to zero?
7 REPLIES 7
serpel
Trusted Contributor

Re: Clear Procurve port Counters

try
clear stati all
but i think its only for the current session.
hth
alex
Darren Etheridge_2
Super Advisor

Re: Clear Procurve port Counters

I tried this one.. but it doesn't seem to clear all counters on teh 3500yl and 5406zl
rick jones
Honored Contributor

Re: Clear Procurve port Counters

I cannot speak to the ProCurves, I'm not in that part of HP, but if you are say cutting and pasting port statistic output and want to subtract one from the other to get stats over an interval, you might find "beforeafter" from

https://h10145.www1.hpe.com/support/SupportLookUp.aspx

helpful.

there is no rest for the wicked yet the virtuous have no pillows
MichaelvLonden
Advisor
Solution

Re: Clear Procurve port Counters

Hi Darren,

in release K.13.40 the feature "clear statistics global" was introduced.

So upgrade your switches to the latest K.13 of K.14 firmware.

Regards, Michael.
Shadow13
Respected Contributor

Re: Clear Procurve port Counters

if you have old firmware then after issuing the command u need to reboot the switch to work
Darren Etheridge_2
Super Advisor

Re: Clear Procurve port Counters

Thank you all.. especially MichaelvLonden , that global option did the trick!! :)
Darren Etheridge_2
Super Advisor

Re: Clear Procurve port Counters

Thank you everyone for your help!