S o n o m a U s e r M a n u a l
34
C H A P T E R F O U R
35
S o n o m a U s e r M a n u a l
P T P / I E E E - 1 5 8 8
PTP Configuration Using the Network or Serial Port
The ptpconfig0 or ptpconfig1 command starts an interactive shell script that will allow you to
congure the PTP Subsystem of the Sonoma. You will be prompted to set PTP parameters as fol-
lows:
ETH Port: 0 or 1
Sync Interval (Per Second): 1, 2, 4, 8, 16, 32, 64, 128
Announce Interval (Seconds): 1, 2, 4, 8, or 16
Priority1: 0-255
Priority2: 0-255
Delay Mechanism: E2E or P2P
Domain: 0-255
PTP Time Mode: UTC or PTP
PTP TTL: 1-255
One le is modied for each port. Either/etc/ptp0.conf for eth0 or /etc/ptp1.conf for eth1. These
are non-volatile les stored in the FLASH disk /boot/etc directory. You must reboot the Sonoma after
running this script for the changes to take effect.
The following is a transcript of the question and answer conguration utility provided by ptpcon-
fig0 or ptpconfig1. The user-entered parameters are underlined:
Sonoma(root@gntp)-> ptpconfig0
*******************************************************************************
*************Precision Time Protocol IEEE-1588 V2 Configuration****************
*******************************************************************************
* *
* This interactive utility will guide you in configuring the ptp daemon *
* configuration file that controls its operation on port 0. *
* *
* You will be able to configure the PTP sync interval, announce interval, *
* priority1, priority2, delay mechanism , ptp domain, time mode and *
* time-to-live (TTL). *
* *
* The changes you make now will not take effect until you re-boot. *
* If you make a mistake, just re-run ptpconfig0 prior to *
* re-booting. *
* *
* You will now be prompted for the necessary set up parameters. *
* *
*******************************************************************************
*******************************************************************************
---PTP Sync Interval Configuration
Set the PTP Sync Interval in packets per second (1, 2, 4, 8, 16, 32, 64, 128) 1
---PTP announce interval Configuration
Set the PTP Announce Interval in seconds (1, 2, 4, 8, 16) 16
---PTP Priority1 Configuration
Set the PTP Priority1 value (0-255) 127
---PTP Priority2 Configuration