Networking · IP Services › Time Synchronization
PTP
Cheat sheet · https://pcornel.dk/topic.php?topic=664
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 clockis 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 stateshow ptp parent— grandmaster infoshow 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 state | Meaning |
|---|---|
| Grandmaster selected | Reference hierarchy |
| Port state | Protocol role |
| Offset/delay | Timing quality evidence |
| Hardware timestamps | Precision capability |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=664