Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

show ptp lock-status

Syntax

show ptp lock-status

Release Information

Command introduced in Junos OS Release 12.2.

Description

(ACX Series, MX80, MX240, MX480, and MX960 routers) Display information about the lock status of the slave. The output verifies whether the slave is aligned to the grandmaster (master clock) or not.

Options

detail

Display detailed information about the lock status of the slave.

Required Privilege Level

view

List of Sample Output

show ptp lock-status
show ptp lock-status (ACX Series)
show ptp lock-status detail (ACX Series)

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 slave clock with respect to its master clock:

  • Freerun
  • Holdover
  • Phase Aligned
  • Acquiring
  • Initializing
  • Freq locked

Phase offset

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

Selected Master Details

Details include the following:

  • Upstream Master address—The address of the remote master from which the salve acquires the clock.
  • Slave interface—The slave interface on this router corresponding to the Master above.

Sample Output

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 (ACX Series)

user@host> show ptp lock-status
Lock Status:

Lock State    : 1 (FREERUN)
Phase offset  : 0.000000869 sec

show ptp lock-status detail (ACX Series)

user@host> show ptp lock-status detail
Lock Status:

Lock State    : 5 (PHASE ALIGNED)
Phase offset  : 0.000000030 sec

Selected Master Details:
Upstream Master address    : 13.13.13.1
Slave interface            : ge-0/1/5.0

Published: 2013-01-30