Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

show ptp lock-status

Syntax

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.

Table 1: show ptp lock-status Output Fields

Field Name

Field Description

Lock State

State of the client clock with respect to its primary clock:

  • Freerun

  • Holdover

  • Phase Aligned

  • Acquiring

  • Initializing

  • Freq locked

Phase offset

Time offset information of a client clock with respect to its primary clock. Precision of this time offset is 1 nanosecond.

State since

Date, time, and how long ago the lock status of the PTP client or client clock changed. The format is State since: year-month-day hour:minute:second:timezone (hour:minute:second ago). For example, State since: 2002-04-26 10:52:40 PDT (04:33:20 ago). On ACX Series routers, this field is displayed in Junos OS Release 15.1 and later.

Selected Master Details

Details include the following:

  • Upstream Master address—The address of the remote primary from which the salve acquires the clock.

  • Slave interface—The client interface on this router corresponding to the Primary above.

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 detail (QFX5120-48T)

show ptp lock-status detail (PTX10008)

Release Information

Command introduced in Junos OS Release 12.2.