Use it where applications need microsecond timing (industrial, broadcast, finance, 5G), or when PTP clocks do not synchronise.
PTP
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.
1. PTP (IEEE 1588) gives sub-microsecond time with hardware timestamping.
2. Grandmaster, boundary and transparent clocks.
3. Needs platform support.
4. Domains separate PTP systems.
5. Used for broadcast, finance, telecom.
grandmaster → boundary/transparent clocks → ordinary clocks
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
show ptp clockShow Commands
Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.
show ptp clockShowDisplay the Precision Time Protocol clock.
Use when: Use at the Network Time & Clocking Troubleshooting boundary after prerequisites have been verified.
Quick note: Operational guidance. Correct wall-clock appearance does not prove synchronization; a reachable peer does not prove selection.
Cisco IOS / IOS XE · mixedshow ptp clock runningShowDisplay the running PTP clock state.
Use when: Use at the Network Time & Clocking Troubleshooting boundary after prerequisites have been verified.
Quick note: Operational guidance. Correct wall-clock appearance does not prove synchronization; a reachable peer does not prove selection.
Cisco IOS / IOS XE · mixedshow ptp portShowDisplay PTP port states.
Use when: Use at the Network Time & Clocking Troubleshooting boundary after prerequisites have been verified.
Quick note: Operational guidance. Correct wall-clock appearance does not prove synchronization; a reachable peer does not prove selection.
Cisco IOS / IOS XE · mixedVerification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification and output interpretation Verify boundary
Inspect grandmaster identity, local clock role/state, offset-from-master, mean path delay and any servo/clock quality indicators. Correlate these with interface/hardware timestamp support and domain/profile settings. Verification should move from route/transport to protocol state and then to the resulting artifact or clock quality. Use protocol counters/status, timestamps or transfer progression, and validate the consumer-side result. A socket/UDP response is useful reachability evidence but should not be mistaken for successful service semantics.
Subtopics
Go one level deeper into this subject.
The PTP grandmaster is the best clock in the domain, selected by the Best Master Clock Algorithm, and is usually locked to GPS; all other clocks synchronise to it.
Subtopic Boundary ClockA PTP boundary clock terminates PTP on its upstream port as a slave and acts as master on its downstream ports, reducing timing error across switched networks.
Subtopic Ordinary ClockA PTP ordinary clock has one PTP port and is either a master (time source) or a slave (end device synchronising its time).
Subtopic DomainA PTP domain is a numbered group of clocks that synchronise to each other; devices only exchange PTP messages with clocks in the same domain number.
Subtopic Precision timingPrecision timing means accuracy far better than NTP's milliseconds — microseconds or nanoseconds — which needs PTP, hardware timestamps and timing-aware network devices.
Subtopic PTP Platform DependencyPTP depends on hardware timestamping in the switch or NIC and on specific profiles (default, power, telecom), so configuration and support differ by platform and model.
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.
show ptp clock— PTP clock stateshow ptp parent— grandmaster infoshow ptp port— port states
ReferenceWhy it matters1 section · depth on demand
When to use it
Use it when timestamps drift, authentication fails, a source is reachable but rejected, or precision timing loses lock.
ReferenceImportant terms & boundaries4 sections · depth on demand
In depth
PTP on Catalyst 9300: IEEE 1588v2 with boundary and transparent clocks
The Catalyst 9300 PTP guide describes IEEE 1588v2 support, with the default profile over Layer 2 and Layer 3 (IPv4 UDP only). IEEE 802.1AS (gPTP) is a separate profile, and only one of the two can be enabled.
Clock modes (ptp mode)
| Mode | Behaviour |
|---|---|
boundary delay-req or boundary pdelay-req | Takes part in best-master selection; syncs to a parent and serves downstream ports |
e2etransparent (default) | Corrects for residence time in the switch; doesn't sync its own clock |
p2ptransparent | Peer-to-peer transparent clock; doesn't sync or take part in selection |
Messages and BMCA (from the guide)
| Group | Messages |
|---|---|
| Event | Sync, Delay_Req, Pdelay_Req, Pdelay_Resp |
| General | Announce, Follow_Up, Delay_Resp, Pdelay_Resp_Follow_Up |
The best master clock algorithm compares priority1, class, accuracy, variance, priority2 and finally the clock identity. A priority1 of 255 prevents a clock from becoming grandmaster.
C9300(config)# ptp mode boundary delay-req
C9300(config)# ptp priority1 128
C9300(config)# ptp priority2 128
C9300(config)# ptp domain 0
C9300(config)# interface GigabitEthernet1/0/24
C9300(config-if)# no ptp enable
C9300# show ptp brief
Interface Domain PTP State
GigabitEthernet1/0/1 0 SLAVE
GigabitEthernet1/0/2 0 MASTER
C9300# show ptp parent
Documented restrictions
| Restriction | Detail |
|---|---|
| Not supported | IPv6, VRF, StackWise Virtual, syncing PTP time to the system clock |
| Clock steps | Two-step only; one-step messages from the grandmaster are dropped |
| Transport | Multicast PTP messages only |
| Transparent mode | Not on native Layer 3 ports or EtherChannels; no inter-VLAN |
| Port limits | Only some ports on certain models (for example the first 16 downlinks plus uplinks on C9300-48UXM) |
| Mode changes | Use no ptp mode before switching mode |
Accuracy
The guide notes that non-PTP devices in the path reduce accuracy. Every switch between grandmaster and clients should be a boundary or transparent clock.
Documented example, not captured output.
Quick reference
PTP (Precision Time Protocol, IEEE 1588) synchronises clocks to sub-microsecond accuracy using hardware timestamping. The Best Master Clock Algorithm selects a grandmaster; boundary and transparent clocks in switches remove queuing delay errors along the path.
| Clock type | Role |
|---|---|
| Grandmaster | Reference, usually GPS-locked |
| Boundary clock | Slave upstream, master downstream |
| Transparent clock | Corrects for residence time in the switch |
| Ordinary clock | End device |
show ptp clock
show ptp parent
show ptp port
Documented example, not captured output.
All devices in the path must support PTP in hardware; one switch without it ruins accuracy.
Protocol/service mechanics and state model
PTP achieves precision by exchanging timestamped synchronization and delay-measurement messages between clock roles. Grandmaster selection determines the reference hierarchy, while boundary clocks can terminate and regenerate timing across network segments. Hardware timestamping and path asymmetry strongly influence achievable precision, so protocol adjacency alone cannot describe timing quality. IP service protocols add operational dependencies above basic routing. Time and file-transfer services each have their own control/state model, transport behavior and quality criteria. Reachability to the service endpoint is only the first step; selection/authentication, protocol exchange, resulting clock/file state and consumer behavior must be interpreted separately.
Limits and common misconceptions
A PTP port in a normal protocol state does not show sub-microsecond accuracy. Asymmetric paths, software timestamps or an unstable grandmaster can produce valid signaling with poor timing quality. Service protocol success has a narrow scope. A synchronized-looking peer relationship may still have poor clock quality; a completed file transfer may still contain the wrong artifact. Keep transport reachability, protocol exchange, security/authentication, resulting state and dependent application behavior as separate evidence layers.
ReferenceConfiguration & state1 section · depth on demand
Design and configuration intent
Define the timing domain, clock roles, priority/source policy, transport profile and hardware capabilities explicitly. Keep network paths predictable and understand whether switches act as transparent/boundary clocks or ordinary forwarding devices. Configure service endpoints, source/VRF context, authentication/security and operational ownership explicitly. Prefer secure protocols where credentials or sensitive artifacts are involved, document path conventions and reference hierarchy, and make fallback/redundancy behavior intentional rather than accidental.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in IP Services → Time Synchronization → PTP. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.cisco.com/c/en/us/support/ios-nx-os-software/ios-xe-17/series.html · confidence 94%Quick lookup tables
PTP · operational reference
Compact protocol/state/evidence reference for fast lookup.
| PTP state | Meaning |
|---|---|
| Grandmaster selected | Reference hierarchy |
| Port state | Protocol role |
| Offset/delay | Timing quality evidence |
| Hardware timestamps | Precision capability |