cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Bookmark
|
Subscribe
|
1307
Views
5
Helpful
2
Replies

Device System Uptime

dfyen
Level 1
Level 1

Hi,

does anyone know where a system gets its info for its own system uptime (eg shown in 'sh ver')?

I was wondering if there's a maximum value for this. And what would happen if the system had a longer uptime than that value?

kind regards,

Dirk

2 Replies 2

bauzenne
Level 1
Level 1

Hi Dirk!

sysUPTime, as defined in RFC 1213, is 32-bit unsigned integer that indicates the number of hundredths of seconds since some arbitrary start date. Used for timestamping and to compute elapsed time. The maximum integer walue would be 4,294,967,296. Since this value is 1/100th of a second, it would translate to approximately 1 year and 4 months. In other words, if the router has been up for 1 year and 4 months, the sysUpTime counter will be reset to zero (0) and from an SNMP application, it would appear that the router rebooted.

On the other hand, Cisco decided to use a 64 bit object for its own system uptime. A 64 bit object would reset after 5,849,424,174 years;

What would happen if the system had a longer uptime than that value? I don't think that is a problem we are likely to face.

Hi Bauzenne,

Could you please provide me an exact name of this 64 bit counter used in CISCO devices?