Pcornel
Networking · IP Services › Time Synchronization › NTP

NTP Authentication

Cheat sheet · https://pcornel.dk/topic.php?topic=1216

Back to the Topic

Answer

NTP authentication uses shared keys (ntp authentication-key, ntp trusted-key, ntp authenticate) so a device only accepts time from servers that prove they know the key.

Remember

  • show clock is observation, not proof of synchronization
  • NTP association, selection and synchronized system state are separate
  • Offset, delay, dispersion and jitter explain source quality
  • PTP depends on domain, grandmaster selection and clock role
  • ACL/CoPP, VRF/source, UDP 123, one-way delay and hardware support can be the first boundary.

First checks

  • show ntp associations detail — authenticated status
  • show running-config | include ntp authenticat|ntp trusted-key — config

Commands

show ntp associations detail

Verify in this order

keyed NTP packets → key verified → time accepted

Where it usually breaks

local configuration → reachability/transport → request/negotiation → server or policy decision → response/state installation → client-visible result

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=1216

Confirmation

Confirm action

Continue?