The following is a snippet from "show version" after a device lost power;
sw1 uptime is 3 hours, 22 minutes
System returned to ROM by power-on
System restarted at 13:16:51 BST Wed Nov 21 2012
Initially when this switch started up it was logging errors into it's buffer and timestamping them from midnight like the following;
*Mar 1 00:00:52.199: %SPANTREE-5-EXTENDED_SYSID: Extended SysId enabled for type vlan
*Mar 1 00:00:54.571: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to down
Later on, it communicated with an NTP server and received the correct time, at which point it started to log entires in its buffer with the correct time;
*Mar 1 00:01:06.216 BST: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/6, changed state to up
*Mar 1 00:01:32.616 BST: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan97, changed state to up
Nov 21 13:20:45.379 BST: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/6, changed state to down
Nov 21 13:20:47.387 BST: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/6, changed state to up
At the point when the clock is updatyed by NTP, is the value in "show version" updated accordingly where it says "System restarted at 13:16:51 BST Wed Nov 21 2012"? The device counts how long it has been up "sw1 uptime is 3 hours, 22 minutes" so presumably it will adjust the value accordingly if there is a clock change?
My guess is that the software hooks into the time interrupt and increments a counter value by 1 for every 1/100 of a second that has passed since the management portion of the system initialized. Therefore, it wouldn't matter what you did to the clock (moving it forward in time, back in time, etc) because the time interrupt would fire off at the same interval regardless.
I'm working on a project that includes basic router configurations. I configurated everything including: line console 0, line vty 0 15 and secret passwords. There are 3 routers in the network and every LAN is going t...
Desire to create Terminal Server ("TS" in this document) out of 2811 Cisco Router with HWIC-16A card (with Octal cables)
Desire to use SSH over Telnet
TS is ip'ed, SSH access configured (to the TS)
Python based Script to BULK Import/Delete devices using Cisco Prime API
Check my Repo on GitHub for all the details ( see below link )