show ntp associations
Lists the NTP servers the device is polling, their stratum and reachability, and which one it is synchronised to.
Written by a working field network engineer · CCNA, Security+, CySA+
Lists the NTP servers the device is polling and which one it has synchronised to. Accurate time matters for log correlation, certificates and anything that compares timestamps across devices.
Example output
R1#show ntp associations
address ref clock st when poll reach delay offset disp
*~10.0.12.2 192.0.2.123 3 41 64 377 1.204 0.311 0.950
* sys.peer, # selected, + candidate, - outlyer, x falseticker, ~ configuredReference output: hand-written in standard Cisco IOS format for this example network, not captured from a device.
Useful variants
show ntp statusshow ntp associations detailshow clock detail
What each column or field means
| Field | Meaning |
|---|---|
* / ~ | * is the server this device is synchronised to; ~ means it was configured with ntp server. |
ref clock | The server that peer is itself synchronised to. |
st | The peer’s stratum. This device will be one higher (here 4). Stratum 16 means unsynchronised. |
when / poll | Seconds since the last poll, and the polling interval. |
reach | An octal record of the last eight polls. 377 means all eight succeeded; 0 means none. |
delay / offset / disp | Round-trip delay, clock difference and dispersion, in milliseconds. |
When it doesn’t look right
reach is 0 and there is no *.
The server is not answering: check reachability, that UDP 123 is not filtered, and that the server address is right.
reach is 377 but there is still no *.
The server itself is unsynchronised (stratum 16), or the offset is too large to accept. Wait a few polls, or check the server.
Related commands
Try it yourself
- Syslog & NTP Integration (Pro)
- NTP and Syslog Together (Pro)
- Free lab on this topic: Switch Management VLAN
- Or build the example network in the free Sandbox
Learn it in the CCNA path
- Network Time Protocol (NTP) (4. IP Services)
- Trace clock accuracy back through the strata (Prerequisite review: CCNA topics from the CCNP courses)
Topic
Device Management — Read the configuration and software version, save changes, discover neighbors with CDP and LLDP, and check logging and time.