Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

PTP

Direct 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.

When to use this

Use it where applications need microsecond timing (industrial, broadcast, finance, 5G), or when PTP clocks do not synchronise.

First 30 seconds

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.

Operational verification

grandmaster → boundary/transparent clocks → ordinary clocks

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Cisco IOS / IOS XE
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformCisco IOS / IOS XE
Key commandshow ptp clock
Scope / prerequisiteUse it where applications need microsecond timing (industrial, broadcast, finance, 5G), or when PTP clocks do not synch…
Show · 3
What next?3 suggested next steps
Child topics (this level)6
Catalog command links3
Evidence0
On this pageJump to a specific section
Verification

Show Commands

Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.

Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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.

Command lookup Jump straight to Cisco syntax
Drill down

Subtopics

Go one level deeper into this subject.

Key points
  • 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.
Key checks
  • show ptp clock — PTP clock state
  • show ptp parent — grandmaster info
  • show 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)

ModeBehaviour
boundary delay-req or boundary pdelay-reqTakes 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
p2ptransparentPeer-to-peer transparent clock; doesn't sync or take part in selection

Messages and BMCA (from the guide)

GroupMessages
EventSync, Delay_Req, Pdelay_Req, Pdelay_Resp
GeneralAnnounce, 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

RestrictionDetail
Not supportedIPv6, VRF, StackWise Virtual, syncing PTP time to the system clock
Clock stepsTwo-step only; one-step messages from the grandmaster are dropped
TransportMulticast PTP messages only
Transparent modeNot on native Layer 3 ports or EtherChannels; no inter-VLAN
Port limitsOnly some ports on certain models (for example the first 16 downlinks plus uplinks on C9300-48UXM)
Mode changesUse 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.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

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 typeRole
GrandmasterReference, usually GPS-locked
Boundary clockSlave upstream, master downstream
Transparent clockCorrects for residence time in the switch
Ordinary clockEnd 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.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

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
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docCisco IOS / IOS XE Current documentation reviewed 2026-09-14

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%
Embedded reference data

Quick lookup tables

PTP · operational reference

Compact protocol/state/evidence reference for fast lookup.

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

Confirm action

Continue?