Re: 2910al-48G: Resetting port statistics with SNMP set? (726 Views)
Reply
Occasional Contributor
JesperP
Posts: 3
Registered: ‎06-15-2012
Message 1 of 2 (757 Views)

2910al-48G: Resetting port statistics with SNMP set?

[ Edited ]

Hi,

 

I wondering if it possible to actually reset the 2910al-48G switch's port statistics permantly without having to reboot the switch, by using a SNMP set instead?

 

(If you do a "clear interface statistics" the statistics will only reset in during that session)

 

For example if I wanted to reset the tx dropped packets counter on port to 0:

 

snmpset.exe -u operator -c myCommunity -v 2c 10.0.0.10 ifOutDiscards.16 i 0

 

Sadly, I have currently no HP switches for lab testing, so I'm not to happy about just trying this command out in our office network switches.

 

Thanks

 

- Jesper

 

 

P.S. This thread has been moved from Comware-Based to  ProCurve / ProVision-Based. -HP Forum Moderator

Please use plain text.
Occasional Contributor
JesperP
Posts: 3
Registered: ‎06-15-2012
Message 2 of 2 (726 Views)

Re: 2910al-48G: Resetting port statistics with SNMP set?

[ Edited ]

Apparently this is not possible because the MIBs OIDs is using the data type "Counter32" or "Counter64" which is read-only.

 

But would be great if someone proved me wrong or came up with a work-around though.

Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation