Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Grandmaster

Direct answer

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.

When to use this

Use it when checking which clock the PTP domain follows, or why the grandmaster changed.

First 30 seconds

1. The grandmaster is the best clock (BMCA) and source of time.

2. Usually GNSS-backed.

3. Priority1/2, class, accuracy decide.

4. Have a backup grandmaster.

5. Monitor GNSS lock.

Operational verification

GNSS → grandmaster → BMCA selection → network

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common mistakes
  • Two grandmaster candidates with the same priority and no clear tie-breaker.
  • GPS antenna problems turning the grandmaster into a free-running clock.
  • Switches without PTP support (not transparent or boundary clocks) adding jitter.
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 when checking which clock the PTP domain follows, or why the grandmaster changed.
Show · 2
What next?3 suggested next steps
Catalog command links2
Evidence1
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 Checks Verify boundary
show ptp clock
show ptp parent
show ptp port
pmc -u -b 0 'GET PARENT_DATA_SET'      # linuxptp

Confirm the grandmaster identity, clock class (6 = locked to GNSS) and that the GNSS receiver has a fix. Alert on grandmaster changes.

Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Command lookup Jump straight to Cisco syntax
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 parent — grandmaster identity and class
  • GNSS lock status on grandmaster — source quality
ReferenceWhat it is1 section · depth on demand

How the grandmaster is chosen

The Best Master Clock Algorithm compares, in order: priority1 → clock class → clock accuracy → offset scaled log variance → priority2 → clock identity. The lowest value wins.

A grandmaster normally has a GNSS (GPS) receiver and reports clock class 6 when locked. If it loses GNSS it degrades its class, and a better backup grandmaster can take over. Set priority1 deliberately so the intended grandmaster wins.

ReferenceImportant terms & boundaries2 sections · depth on demand

In depth

The grandmaster is the clock that every other PTP clock follows

The Catalyst 9300 PTP guide describes the grandmaster as the primary time source for a PTP domain. Grandmaster clocks are usually dedicated appliances with GNSS (GPS) receivers. Catalyst switches act as boundary or transparent clocks between the grandmaster and end devices.

How the grandmaster is chosen

The Best Master Clock Algorithm (BMCA) compares announce messages in this order: priority1, clock class, accuracy, variance, priority2, then clock identity. On the switch, ptp priority1 and ptp priority2 range from 0 to 255 with a default of 128. The guide notes that priority1 255 prevents a clock from becoming grandmaster.

C9300# show ptp parent
 PTP PARENT PROPERTIES
  Parent Clock:
  Parent Clock Identity: 0x0:1D:C1:FF:FE:12:34:56
  Parent Port Number: 1
  Grandmaster Clock:
  Grandmaster Clock Identity: 0x0:1D:C1:FF:FE:12:34:56
  Grandmaster Clock Quality:
        Class: 6
        Accuracy: Within 100ns
        Offset (log variance): 13563
        Priority1: 1
        Priority2: 1
C9300(config)# ptp priority1 255

Grandmaster design

PracticeReason
Two grandmasters with different priority1BMCA fails over automatically
GNSS antenna with holdover (OCXO or rubidium)Accuracy during GNSS outages
Priority1 255 on all switchesNo switch can win the election by accident
Grandmasters close to the boundary-clock coreFewer hops, less accumulated error

Clock class

ClassTypical meaning
6Locked to a primary reference (GNSS)
7In holdover, within specification
248Default; not traceable

A grandmaster that loses GNSS and degrades its class can be outranked by a backup that still has GNSS. Monitor the class, not only reachability.

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 far more accurately than NTP — sub-microsecond instead of milliseconds — by timestamping packets in hardware. The grandmaster is the top of the time hierarchy, usually locked to GPS or another satellite system. All other clocks in the domain follow it, and an election algorithm picks a new grandmaster automatically if the active one fails or degrades.

A PTP grandmaster clock is the primary time source in a PTP (IEEE 1588) domain, typically GNSS-disciplined, selected by the Best Master Clock Algorithm (BMCA) using priority1, clock class, accuracy, variance, priority2 and identity.

PTP achieves sub-microsecond accuracy (vs milliseconds for NTP) for broadcast media (SMPTE 2110), financial trading timestamps, 5G fronthaul and industrial automation. Deploy redundant grandmasters with GNSS holdover.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
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 → Grandmaster. 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%
Confirmation

Confirm action

Continue?