show ptp lock-status
Syntax
show ptp lock-status
Description
(ACX Series, MX80, MX240, MX480, MX960, PTX10008 routers, and QFX Series switches) Display information about the lock status of the client. The output verifies whether the client is aligned to the reference (primary clock) or not.
Options
detail | Display detailed information about the lock status of the client. |
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 client clock with respect to its primary clock:
|
|
Time offset information of a client clock with respect to its primary clock. Precision of this time offset is 1 nanosecond. |
|
Date, time, and how long ago the lock status of the PTP
client or client clock changed. The format is |
|
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
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
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.