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 126.96.36.199
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.
I have two Cisco 9336C-FX2 chassis running as VPC pair hooked up to ESXi hosts. These ESXi hosts are running a Windows Network Load Balancing (NLB) cluster and I have IGMP multicast mode configured. I'm doing Option 1: Static A...
Wow, been while since I have looked at Cisco switches. I need an affordable L3 switch that will support VRF's and static routing between VRF's. I don't need POE, 10G, 40G, 48 ports. 12 port's would be enough 24 if I must. Best I can tell the&nb...
Hi there, Just setting up some 2960x switches and trying to get a basic admin connection to these just via the normal switchports while we set things up (management port fa0 goes into first normal gigabit switchport gi1/0/1 to allow SSH from all part...
Looking to find the total (useable) DRAM memory on Cisco ISR 4431 router. Is it 8Gb or 16 Gb ?Thanks, cisco ISR4431/K9 (1RU) processor with 7792789K/6147K bytes of memory. < < < < 8 Gb8 Gigabit Ethernet interfaces3...
Hello all and thanks for your time and expertise. Here's my scenario: I often install APs in buildings with multiple switches. The ports in these buildings are not marked and there can be as many as 10 switches in a building. I've ...