BuildTheNet

Opening your workspace

Your learning content and tools are loading.

Device Management

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, ~ configured

Reference output: hand-written in standard Cisco IOS format for this example network, not captured from a device.

Useful variants

What each column or field means

FieldMeaning
* / ~* is the server this device is synchronised to; ~ means it was configured with ntp server.
ref clockThe server that peer is itself synchronised to.
stThe peer’s stratum. This device will be one higher (here 4). Stratum 16 means unsynchronised.
when / pollSeconds since the last poll, and the polling interval.
reachAn octal record of the last eight polls. 377 means all eight succeeded; 0 means none.
delay / offset / dispRound-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

Learn it in the CCNA path

Topic

Device Management — Read the configuration and software version, save changes, discover neighbors with CDP and LLDP, and check logging and time.

All 57 commands