Pcornel
Networking · IP Services › Time Synchronization

PTP

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

Back to the Topic

Answer

The Precision Time Protocol (PTP, IEEE 1588) synchronises clocks to sub-microsecond accuracy using hardware timestamps, for applications such as broadcast, finance and industrial control where NTP is not precise enough.

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 ptp clock — PTP clock state
  • show ptp parent — grandmaster info
  • show ptp port — port states

Commands

show ptp clock
Display the Precision Time Protocol clock.
show ptp clock running
Display the running PTP clock state.
show ptp port
Display PTP port states.

Verify in this order

grandmaster → boundary/transparent clocks → ordinary clocks

Where it usually breaks

physical/link dependency → local object state → peer/control state → policy → forwarding/adjacency → end-to-end result

PTP · operational reference

PTP stateMeaning
Grandmaster selectedReference hierarchy
Port stateProtocol role
Offset/delayTiming quality evidence
Hardware timestampsPrecision capability

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

Confirmation

Confirm action

Continue?