PTP Packet Dump

Enhanced PTP User Guide (UG1602)

Document ID
Release Date
1.1 English

The sfptpd configuration file ptp_pkt_dump option captures and displays all PTP packets sent/received by the sfptpd process. This is different from tcpdump which captures packets sent/received at the adapter interface.

The ptp_pkt_dump option is useful for:

  • Checking that PTP packets are actually being sent/received by sfptpd. (Counters for all messages types sent/received are accumulated in the /var/lib/sfptpd/stats-<clock id> files.)
  • Debugging badly formatted PTP packets.
Important: It is strongly recommended NOT to run with the ptp_pkt_dump option enabled for extensive periods as this produces a lot of additional data. This option should be used for debug purposes only.