Study FAQ
How do you verify that a Cisco IOS XE device is synchronized with NTP?
Also asked as 2
- Why can a configured NTP server still leave a Cisco switch unsynchronized?
- What NTP status and association evidence confirms that a Cisco IOS XE device has selected a time source?
Answer
Check both the clock state and the selected Network Time Protocol (NTP) association. On Cisco IOS XE 17.15.x for Catalyst 9300, use privileged EXEC show ntp status to confirm the clock is synchronized and show ntp associations to identify the peer or server marked with an asterisk as the current synchronization source. A configured server address or one successful reply is insufficient evidence that the clock is using the intended time source.
If the intended association is unreachable, check the actual source address and routing in both directions, UDP port 123, and any NTP access or authentication settings. If replies arrive but the expected peer stays unselected, compare its status with the selected source and check the upstream clock's health. A device can also serve time to downstream clients under a supported configuration. Confirm synchronization on those clients separately.
Synchronized clocks make events across devices easier to correlate. Before inferring that one event caused another, confirm the devices' time reference and the timestamp format or time zone used in the collected logs.
References
Full explanation
CCNA IP Services: NAT, DHCP, DNS, NTP, SNMP, Syslog, QoS, and SSH
Study guide · 200-301
Read the full explanation