PTP Notification Status Conditions¶
The PTP status notifications are derived based on the following conditions:
PTP Lock State |
||
---|---|---|
Clock Status |
Status |
Description |
Freerun |
Clock is out of sync state |
|
Locked |
Clock is in sync state |
|
Holdover |
Clock is in holdover state |
|
PTP Clock Class |
||
6 |
T-GM connected to a PRTC in locked mode (e.g., PRTC traceable to GNSS) |
|
7 |
T-GM in holdover, within holdover specification, traceable to Category 1 frequency source |
|
135 |
T-BC in holdover, within holdover specification traceable to Category 1 frequency source |
|
140 |
T-GM in holdover, out of holdover specification, traceable to Category 1 frequency source |
|
248 |
T-GM or T-BC in free-run mode |
|
255 |
Slave only OC (does not send Announce messages) |
|
OS Clock State |
||
Locked |
Clock is out of sync state |
|
Holdover |
Clock is in holdover state |
|
Freerun |
Clock is in freerun |
|
GNSS State |
||
SYNCHRONIZED |
GNSS data is present |
|
FAILURE-NOFIX |
GNSS data is not detected |
|
Overall Sync State |
||
Locked |
Overall state is locked |
|
Holdover |
Overall state is in holdover |
|
Freerun |
Overall state is freerun |
|
Overall Sync State Description¶
The overall sync state notification (sync-state) describes the health of the timing chain on the local system. A locked state is reported when the system has reference to an external time source (GNSS or PTP) and the system clock is synchronized to that time source.
This notification helps you to verify that the local system time is being actively synchronized. If a component of the local timing chain enters a degraded state, then a sync-state notification will be produced to indicate that the local timing chain is unhealthy.
The following is an example log output from the ptp-notification container that indicates the components of the local timing chain:
2025-05-01 15:34:48 INFO Overall sync state chaining info:
os-clock-state = Locked
os-clock's source ptp-device = ptp0
ptp-device's sync-source = PTP
(PTP source) ptp4l-instance-and-state = ('ptp1', 'Locked')
(GNSS source) ts2phc-instance-and-state = NA
Overall sync: previous-state = Freerun, new-state = Locked