ptp_boundary.cfg

Enhanced PTP User Guide (UG1602)

Document ID
UG1602
Release Date
2022-10-18
Revision
1.0 English

This file shows how to configure sfptpd to act as a PTP boundary clock:

  • Two PTP sync modules are instantiated using the sync_module option.
  • One instance is associated with a particular interface, and is configured to act as a PTP master by using the ptp_mode option.
  • The other instance is associated with a different interface, and is configured to act as a PTP slave by using the ptp_mode option.
  • The slave also has ptp_tx_latency and ptp_rx_latency options that can be used to compensate for latency between the two interfaces (see PPS Measurements).
  • Both instances are allocated to the same PTP domain by using the ptp_domain option in the generic [ptp] section.
  • Any PTP traffic is transmitted using hybrid mode by using the ptp_network_mode option in the generic [ptp] section (see Hybrid Mode).
Note: Using the ptp_boundary.cfg, sfptpd will operate as both master and slave simultaneously within the same or different PTP domains. This boundary clock mode is not intended to meet all the requirements of a boundary clock as specified in the IEEE-1588 specification.
Note: When acting as a master clock, sfptpd uses UTC time and not TAI time.