This file shows how to configure
sfptpd
to act as a PTP boundary clock:
-
Two PTP sync modules are instantiated using the
sync_moduleoption. -
One instance is associated with a particular
interface, and is configured to act only as a PTP master by using theptp_modeoption. -
The other instance is associated with a different
interface, and is configured to act as a PTP slave by using theptp_modeoption. -
The slave also has
ptp_tx_latencyandptp_rx_latencyoptions that can be used to compensate for latency between the two interfaces (see PPS Measurements ). -
Any PTP traffic is transmitted using hybrid mode by using the
ptp_network_modeoption in the generic[ptp]section (see Hybrid Mode ).
Note:
Using the ptp_boundary.cfg,
sfptpd
operates 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.