I'm trying to get a total data transmitted throughout our WAN using SNMP to poll the ifInOctets and ifOutOctets. We've written a script to do this but the results are semingly erratic ie. We poll once at the 'zero' point to get a baseline and then poll every 12 hours and use the difference. The trouble is that the amount are sometimes LESS than the baseline figure. I've checked on the routers to see if the counters had been reset but they hadn't.
The only thing I could think of was that the counters zero themselves when they hit a certain point, can anyone confrim this? If so, at what point do they zero, as you can imagine this is a bit of a disability when you're trying to do what I'm doing...
Yes they can reset (wrap around) and that depends on the counter type of the device you are using. You will need to check but I think it is a 32-bit Integer counter...You might want to build in your script to account for when the number gets extremely large to expect a wrap around and let it go at that point. There is also a ifXEntry object (without checking) that specifies a "clear counter" affect.
If you get even fancier try to account for sysUptime.
This is actually a pretty cool feature, i didn't even know it existed until I was looking for a solution to advertise a subnet (prefix in BGP talk), only if a certain condition existed. This is exactly what conditional advertisements does
j ai une question j ai achete un routeur cisco 887VA-k9 , je le configuré avec la configuration ci- dessous
si je le lier avec mon pc portable sur l un de ses ports directement ça marche toute est bien ( la connexion internet + m...
Attached policy provides CLI access to the Cisco 4G router over text messaging. Two files are in the attached .tar file:
2. PDF with instructions on how to load and use the .tcl file.