show ptp lock-status
Syntax
show ptp lock-status
Description
Display information about the lock status of the timeReceiver. The output verifies whether the timeReceiver is aligned to the reference (timeTransmitter clock) or not.
Options
| detail | Display detailed information about the lock status of the timeReceiver. |
Required Privilege Level
view
Output Fields
Table 1 lists
the output fields for the show ptp lock-status
command. Output fields are listed in the approximate order in which
they appear.
|
Field Name |
Field Description |
|---|---|
|
|
State of the timeReceiver clock with respect to its timeTransmitter clock:
|
|
|
Note:
|
|
|
Time offset information of a timeReceiver clock with respect to its timeTransmitter clock. Precision of this time offset is 1 nanosecond. |
|
|
Date, time, and how long ago the lock status of
the PTP timeReceiver or timeReceiver clock
changed. The format is |
|
|
Indicates the current timing source. It can be one of the following:
|
|
|
Indicates the state of the primary GNSS source.
|
|
|
Indicates the state of the secondary timing source When the system is in normal state:
When the system is in
|
|
|
Details include the following:
Note:
On ACX Series router, if the PTP lock state is FREERUN, then the Selected Master Details field is not shown. |
Sample Output
- show ptp lock-status
- show ptp lock-status
- show ptp lock-status detail
- show ptp lock-status detail
- show ptp lock-status detail
- show ptp lock-status detail (AFTS enabled)
- show ptp lock-status detail (AFTS enabled with PTP over LAG)
- show ptp lock-status detail
show ptp lock-status
user@host> run show ptp lock-status Lock Status: Lock State : 5 (PHASE ALIGNED) Phase offset : 0.000000001 sec
show ptp lock-status
user@host> show ptp lock-status Lock Status: Lock State : 1 (FREERUN) Phase offset : 0.000000869 sec
show ptp lock-status detail
user@host> show ptp lock-status detail Lock Status: Lock State : 5 (PHASE ALIGNED) State since : 2014-09-10 11:24:11 PDT (00:02:51 ago) Phase offset : 0.000000030 sec Selected Master Details: Upstream Master address : 13.13.13.1 Slave interface : ge-0/1/5.0
show ptp lock-status detail
user@host> show ptp lock-status detail Lock Status: Lock State : 5 (PHASE ALIGNED) Phase offset : -0.000000010 sec Selected Master Details: Upstream Master address : 2001:cdba:0000:0000:0000:0000:3257:9652 Slave interface : ge-0/2/0.0 Parent Id : 84:18:88:ff:fe:c0:34:00 GMC Id : 00:18:0b:ff:fe:20:03:14
show ptp lock-status detail
user@host> show ptp lock-status detail Lock Status: Lock State : 5 (PHASE ALIGNED) Phase offset : -0.000000016 sec State since : 2018-10-17 01:53:29 UTC (01:09:37 ago) Selected Master Details: Upstream Master address : 2003::a Slave interface : ae0.0 Parent Id : 12:34:56:78:9a:bc:de:01 GMC Id : 12:34:56:78:9a:bc:de:01
show ptp lock-status detail (AFTS enabled)
user@host> show ptp lock-status detail Lock Status: Lock State : INITIALIZING/FREERUN/ACQUIRING/PHASE ALIGNED/HOLDOVER Holdover State : In-specification/Out-of-specification (Displayed only when the Lock state is HOLDOVER) Phase offset : x ns (When the current source is GNSS then it is offset from GNSS, When the current source is PTP then it is offset from the PTP master, 0 ns when PTP is inactive) State since : 2024-12-04 07:55:56 PST (00:18:18 ago) Source Details: Current Source : GNSS/PTP/SYNCE/NONE/PTP+SyncE Primary Source : GNSS Active/Ready or Not Ready/Inactive Secondary Source : PTP Active/Inactive, Ready/Not Ready, SYNCE Ready/Not Ready Selected Master Details: Upstream Master address : 48:73:10:ff:fe:af:a3:68 Slave interface : et-0/0/0.0
show ptp lock-status detail (AFTS enabled with PTP over LAG)
root@host> show ptp lock-status detail Lock Status: Lock State : 5 (PHASE ALIGNED) Phase offset : 0.000000000 sec State since : 2025-02-17 09:41:59 PST (22:31:32 ago) Source Details: Current Source : GNSS Primary Source : GNSS Active, Ready Secondary Source : PTP Active, Ready, SyncE Ready Selected PTP Master Details: Upstream Master address : 00:cc:34:ff:fe:88:cd:5d Slave interface : ae0.0 (et-0/0/13, primary)
show ptp lock-status detail
user@host> show ptp lock-status detail Lock Status: Lock State : 5 (PHASE ALIGNED) Phase offset : -0.000000016 sec State since : 2018-10-17 01:53:29 UTC (01:09:37 ago) Selected Master Details: Upstream Master address : 2003::a Slave interface : lo0.0 Parent Id : 12:34:56:78:9a:bc:de:01 GMC Id : 12:34:56:78:9a:bc:de:01
show ptp lock-status detail (QFX5120-48T)
user@host> show ptp lock-status detail Lock Status: Lock State : 5 (PHASE ALIGNED) Phase offset : -0.000000013 sec State since : 2021-05-20 23:15:01 PDT (1d 00:26 ago) Selected Master Details: Upstream Master address : 51.0.0.1 Slave interface : xe-0/0/50:0.0 Parent Id : 00:00:00:00:00:00:00:01 GMC Id : 00:00:00:00:00:00:00:01
show ptp lock-status detail (PTX10008)
user@host> show ptp lock-status detail Lock Status: Lock State : 5 (PHASE ALIGNED) Phase offset : -0.000002880 sec State since : 2021-05-06 18:55:13 UTC (00:01:20 ago) Selected Master Details: Upstream Master address : 00:00:00:00:00:00:00:01 Slave interface : et-6/0/16:2.0 Clock reference state : Clock locked 1pps reference state : Clock qualified
Release Information
Command introduced in Junos OS Release 12.2.