Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

show ptp clock

date_range 24-Sep-24

Syntax

content_copy zoom_out_map
show ptp clock

Description

(ACX Series, MX80, MX240, MX480, MX960, PTX10008 routers, and QFX Series switches) Display the details of the clock configured on the node.

Options

This command has no options.

Required Privilege Level

view

Output Fields

Table 1 lists the output fields for the show ptp clock command. Output fields are listed in the approximate order in which they appear.

Table 1: show ptp clock Output Fields

Field Name

Field Description

Slot Number

Number of the FPC or MIC slot.

Two-step Clock

Whether the clock provides time information which is a combination of an event message and a subsequent general message: True or False.

Clock Identity

Clock identity of the timeReceiver or timeReceiver as defined in IEEE 1588.

Total Ports on Device

Total number of PTP ports on the router.

Clock Class

Attribute of an ordinary or boundary clock that denotes the traceability of the time or frequency distributed by the grandmaster clock.

Clock Accuracy

Indicates the expected accuracy of a clock when it is the grandmaster clock, or in the event it becomes the grandmaster.

Log Variance

Represents an estimate of the variations of the local clock when it is not synchronized via PTP to another clock.

Clock Priority1

Priority value of the clock. Lower value takes precedence.

Clock Priority2

Prioritize the primaries to avoid confusion when the Clock Priority1 value is the same for different primaries in a network.

UTC Offset

Offset between International Atomic Time (TAI ) and Coordinated Universal Time (UTC) times. The value is 34 seconds as of January 2012.

Leap59

When TRUE, the last minute of the current UTC day has only 59 seconds (instead of the 60 SI seconds).

Leap61

When TRUE, the last minute of the current UTC day has 61 seconds (instead of the 60 SI seconds).

Time Traceable

When TRUE, the timescale and the UTC offset are traceable to a timeTransmitter reference.

Frequency Traceable

When TRUE, frequency determining the timescale is traceable to a timeTransmitter reference.

Time Source

Time source external to the Precision Time Protocol (PTP), which provides time and/or frequency as appropriate. The time source is traceable to the international standards laboratories maintaining clocks that form the basis for the International Atomic Time (TAI) and Universal Coordinated Time (UTC) timescales. Examples of these are Global Positioning System (GPS), NTP, and National Institute of Standards and Technology (NIST) timeservers.

Delay Req Sending Time

Interval in seconds between the delay-request messages sent by the timeReceiver to the timeTransmitter.

Steps Removed

Number of boundary clocks between the local clock and the foreign timeTransmitter clock.

Slave-only

Set to TRUE, when the system is used in ordinary timeReceiver clock mode; otherwise, FALSE.

Parent Id

EUI-64 clock identifier of the immediate upstream timeTransmitter clock.

GMC Id

EUI-64 clock identifier of the grandmaster clock.

GMC Class

Denotes the grandmaster clock’s traceability of the distributed time or frequency.

GMC Accuracy

Indicates the expected accuracy of the grandmaster clock.

GMC Variance

Represents an estimate of the variations of the grandmaster clock.

GMC Priority1

Priority1-value of the grandmaster clock.

GMC Priority2

Priority2-value of the grandmaster clock.

Sample Output

show ptp clock

content_copy zoom_out_map
user@host> show ptp clock
Clock Details:

Slot Number           : 7            
Default Data: 
Two-step Clock        : FALSE                      Clock Identity : 00:05:85:ff:fe:73:ef:d0
Total Ports on Device : 0                          Clock Class    : 255
Clock Accuracy        : 49                         Log Variance   : -12944
Clock Priority1       : 128                        Clock Priority2: 128
UTC Offset            : 33                         Leap59         : FALSE
Leap61                : FALSE                      Time Traceable  : FALSE
Frequency Traceable   : FALSE                      Time master    : 0  
Delay Req Sending Time: 0                          Steps Removed  : 1  
Slave-only            : NA  
Parent Data: 
Parent Id             : 00:18:0b:ff:ff:20:01:62                       
GMC Id                : 00:18:0b:ff:ff:20:01:62   GMC Class        : 52 
GMC Accuracy          : 254                       GMC Variance     : 11952  
GMC Priority1         : 0                         GMC Priority2    : 0  
Global Data:
UTC Offset            : 34                        Leap-59          : FALSE
Leap-61               : FALSE                     Time traceable    : FALSE
Freq Traceable        : FALSE                     Time Scale       : FALSE
Time master           : 160

show ptp clock (ACX Series Routers)

content_copy zoom_out_map
user@host> show ptp clock
Clock Details:
Slot Number           : 0            
Default Data: 
Two-step Clock        : FALSE                      Clock Identity : 84:18:88:ff:fe:c0:7a:00
Total Ports on Device : 0                          Clock Class    : 255
Clock Accuracy        : 34                         Log Variance   : 15353
Clock Priority1       : 128                        Clock Priority2: 128
UTC Offset            : 0                          Leap59         : FALSE
Leap61                : FALSE                      Time Traceable : FALSE
Frequency Traceable   : FALSE                      Time Source    : 0  
Delay Req Sending Time: 0                          Steps Removed  : 0  
Slave-only            : NA  
Parent Data: 
Parent Id             : 00:00:64:ff:fe:01:01:02                       
GMC Id                : 00:00:64:ff:fe:01:01:02   GMC Class        : 80 
GMC Accuracy          : 35                        GMC Variance     : 0    
GMC Priority1         : 128                       GMC Priority2    : 128
Global Data:
UTC Offset            : 0                         Leap-59          : FALSE
Leap-61               : FALSE                     Time tracable    : FALSE
Freq Traceable        : FALSE                     Time Scale       : FALSE
Time source           : 16 

show ptp clock (QFX5120-48T)

content_copy zoom_out_map
user@host> show ptp clock
Clock Details:
Slot Number           : 0            
Default Data: 
Two-step Clock        : FALSE                      Clock Identity : 3c:8c:93:ff:fe:b4:c4:4d
Total Ports on Device : 0                          Clock Class    : 255
Clock Accuracy        : 254                        Log Variance   : 65535
Clock Priority1       : 128                        Clock Priority2: 255
UTC Offset            : 37                         Leap59         : FALSE
Leap61                : FALSE                      Time Traceable : FALSE
Frequency Traceable   : FALSE                      Time Source    : 160  
Delay Req Sending Time: 0                          Steps Removed  : 2  
Slave-only            : TRUE   
Parent Id             : 3c:8c:93:ff:fe:b5:4c:4c                       
GMC Id                : 7c:e2:ca:ff:fe:a2:2b:d0   GMC Class        : 248 
GMC Accuracy          : 254                       GMC Variance     : 65535    
GMC Priority1         : 128                       GMC Priority2    : 40
Global Data:
UTC Offset            : 37                        Leap-59          : FALSE
Leap-61               : FALSE                     Time tracable    : FALSE
Freq Traceable        : FALSE                     Time Scale       : TRUE
Time source           : 160                       Path Trace count : 0 

show ptp clock detail (PTX10008)

content_copy zoom_out_map
user@host> show ptp clock detail
Clock Details:
Slot Number           : 0 (CB)
Default Data:
Two-step Clock        : FALSE                      Clock Identity : e4:5d:37:ff:fe:4e:d7:76
Total Ports on Device : 128                        Clock Class    : 248
Clock Accuracy        : 254                        Log Variance   : 65535
Clock Priority1       : 128                        Clock Priority2: 128
UTC Offset            : 37                         Leap59         : FALSE
Leap61                : FALSE                      Time Traceable : FALSE
Frequency Traceable   : FALSE                      Time Source    : 160
Delay Req Sending Time: 0                          Steps Removed  : 0
Slave-only            : FALSE
Parent Data:
Parent Id             : 2c:21:72:ff:fe:d8:07:d0
GMC Id                : 00:00:00:00:00:00:00:01   GMC Class        : 6 (Tx: 248)
GMC Accuracy          : 33 (Tx: 254)              GMC Variance     : 65535 (Tx: 65535)
GMC Priority1         : 128                       GMC Priority2    : 128 (Tx: 128)
Global Data:
UTC Offset            : 37                        Leap-59          : FALSE
Leap-61               : FALSE                     Time traceable   : TRUE
Freq Traceable        : TRUE                      Time Scale       : TRUE
Time source           : 160                       Path Trace count : 0

Release Information

Command introduced in Junos OS Release 12.2.

footer-navigation