Timestamps are useful for viewing when certain events happen on a router. Timestanps are also helpful for troubleshooting, because they allow the network administrator to compare simultaneous events on network routers and analyze whether one occurrence caused, or was a result of, another.
If a router is configured to get the time from a Network Time Protocol (NTP) server, the times in the router's log entries may be different from the time on the system clock if the [localtime] option is not in the service timestamps log command. In the example below, the router gets its time from an NTP server and theservice timestamps log datetime command is issued. The show clock command displays a time of 14:12:26, yet when a configuration change is made immediately after the show clock command, the log message shows a time of 21:12:28, as shown in this example:
clock timezone PST -8
clock summer-time PDT recurring
service timestamps debug datetime
service timestamps log datetime
logging buffered 16000 debugging
ntp clock-period 17179272
ntp server 184.108.40.206
router#show clock14:12:26.312 PDT Thu Apr 27 2000
Enter configuration commands, one per line. End with CNTL/Z.
Apr 27 21:12:28: %SYS-5-CONFIG_I: Configured from console by vty0
Add the [localtime] option to the service timestamps log command. For example, if the current configuration is service timestamps log datetime, issue this global configuration command:
router(config)#service timestamps log datetime localtime
router(config)#^Z (ctrl z to exit)
The times should now be synchronized between the system clock and the log message timestamps.
Hi all.I have a cisco 1921 router with the following interface configuration. interface Embedded-Service-Engine0/0no ip addressshutdown!interface GigabitEthernet0/0description $ETH-LAN$$ETH-SW-LAUNCH$$INTF-INFO-GE 0/0$ip address 10.139.1.25 255...
I am configuring configuring circuit over DWDM NCS 2006 network.I created all internal and network patch cords as expected, but I keep receiving message A valid route cannot be found for circuit creation request. Any idea?
Hi all, How do i select the IOS in flash amongst the three in Cisco Catalyst 4948E Switch. I have set the boot flash of that particular IOS but whenever switch restart it loads the 1st one in auto. Kindly help in changing the priority of IOS / Flash ...
ear All, I wanted to check latency of Nexus 93180YC-FX as per data sheet it says latency is 1 microsecond. Our requirement is to reduce to the same to nano second is there any license available for the same? where we can install t...
I have an ISR 4451 running ios 15.5(2)S1c. It has a number of eBGP peers which have been working fine for ages. Ive added a new BGP peer simply viarouter bgp <my-as> bgp log-neighbor-changes neighbor 10.66.250.202 remote-as 120...