Use it when PTP must cross a switch without losing accuracy.
Boundary Clock
A 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.
1. A boundary clock syncs to upstream on one port and serves downstream on others.
2. Reduces load and error accumulation.
3. Needs hardware support.
4. Check port states.
5. Monitor offset.
upstream master → BC slave port → BC master ports → downstream
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & 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 Checks Verify boundary
Boundary clocks show one port in SLAVE state and the others in MASTER. Check offset and mean path delay on the slave port; with hardware timestamping, offsets in the tens of nanoseconds are typical. show ptp port (Cisco), pmc with GET PORT_DATA_SET (linuxptp).
Step 2 Common mistakes Narrow the fault
- Mixing PTP profiles in one domain.
- Boundary clock not configured on every hop that needs it.
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.
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 port— one slave port, others mastershow ptp clock— boundary clock state
ReferenceWhat it is1 section · depth on demand
Why boundary clocks are used
A boundary clock synchronises to the grandmaster on one port and acts as master on its other ports. This splits the network into smaller PTP segments, so delay variation from queuing in switches does not add up across many hops, and it reduces the number of clients each master serves.
The alternative is a transparent clock, which forwards PTP messages and adds the time spent inside the switch to the correction field.
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
A boundary clock terminates PTP on each port and becomes the master for the next hop
The Catalyst 9300 PTP guide describes boundary clocks as having multiple PTP ports. They run the BMCA to select the best clock, synchronise to it on one port (slave), and act as master to downstream devices on the others. Cisco's PTP troubleshooting document adds that boundary clocks intercept and process all PTP messages and pass other traffic, and that they provide an interface between PTP domains.
C9300(config)# no ptp mode
C9300(config)# ptp mode boundary delay-req
C9300(config)# ptp domain 24
C9300(config)# ptp priority1 255
C9300# show ptp brief
Interface Domain PTP State
TenGigabitEthernet1/1/1 24 SLAVE
GigabitEthernet1/0/10 24 MASTER
GigabitEthernet1/0/11 24 MASTER
C9300# show ptp clock
C9300# show ptp port Te1/1/1
Modes on Catalyst 9300 (16.12 guide)
| Mode | Command |
|---|---|
| Boundary, end-to-end delay | ptp mode boundary delay-req |
| Boundary, peer delay | ptp mode boundary pdelay-req |
| End-to-end transparent (default) | ptp mode e2etransparent |
| Peer-to-peer transparent | ptp mode p2ptransparent |
The guide says to clear the existing mode with no ptp mode before configuring another.
Boundary versus transparent
| Boundary clock | Transparent clock | |
|---|---|---|
| PTP messages | Terminated and regenerated | Forwarded with residence-time correction |
| Inter-VLAN | Can synchronise across VLANs | Cisco: not supported across VLANs |
| Scaling | Each BC serves its own slaves; offloads the grandmaster | Grandmaster sees all slaves |
| Error | Each hop adds a little servo error | Correction field reduces queueing error |
Port states to expect
One port in SLAVE (towards the grandmaster), downstream ports in MASTER, alternative upstream ports in PASSIVE. UNCALIBRATED is a transitional state while the port locks. A port stuck there usually means asymmetric delay, a wrong delay mechanism or packet loss.
Documented example, not captured output.
Quick reference
A boundary clock is a network device that takes part in PTP instead of just forwarding it. It synchronises itself to the grandmaster on one port and acts as a master for devices on its other ports. This removes the variable delay caused by queues inside the switch from the timing path, which is essential for high accuracy across multi-hop networks.
A boundary clock has multiple PTP ports: it is a slave on one port (towards the grandmaster) and master on others, regenerating timing per hop. This removes queuing-delay variation of the switch from the time path and scales PTP to large networks.
Alternative: transparent clocks, which forward PTP messages and add their residence time to a correction field. Switches in the PTP path should support one of these modes; ordinary switches add variable delay that degrades accuracy.
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 → Boundary Clock. 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%