[c-nsp] "snmpEngineTime" seems to wrap with "sysUpTime" in old IOS release

Adam Atkinson ghira at mistral.co.uk
Thu Apr 6 15:23:44 EDT 2017


On 06/04/17 17:01, Martin T wrote:
> Or is it simply a buggy "snmpEngineTime"
> implementation which wraps with the "sysUpTime" because to be more
> precise, then according to "sh ver" switch has been up for 6 years, 11
> weeks, 2 days and 8 hours which is roughly 196243200 seconds so it
> could have wrapped four times and now the counter is ~24444512 seconds
> which is roughly 280 days:

It wraps at about 497 days.

4*497+280 = 2268 days

6 years 11 weeks and 0.78 of a day

close enough to the uptime you mention. Probably if I used an exact 
value instead of 497 I'd be closer



More information about the cisco-nsp mailing list