Clock Synchronization Operational Commands

Currently, there are no RBFS CLIs available for validating the PTP configuration. To validate the configuration, use the ufi-ptp-cli shell as shown in the following example.

The example below displays the configuration and status details of a PTP clock in a network device.

supervisor@rtbrick>rtbrick.net:~ $ ufi-ptp-cli
Check UFI PTP Service Status ... Ready.
Read configuration successfully
Build On Jun 3 2025 02:14:45
ufi-ptp> enable
ufi-ptp# show ptp clock info
Clock Identity : A1:B2:C3:D4:E5:F6:G7:H8
Profile : G.8275.1 profile
Clock Type : Time Slave Clock
Servo Alg : Default
Number Of Ports : 32
Clock Class : 255
Domain Number : 24
Scaled Log Variance : 0xFFFF
Priority1 : 128
Priority2 : 255
Slave Only : True
Two Step : False
Announce Receipt Timeout (min) : 3
Announce Receipt Timeout (def) : 3
Announce Receipt Timeout (max) : 10
Log Announce Interval (min) : -3
Log Announce Interval (def) : -3
Log Announce Interval (max) : -3
Log Sync Interval (min) : -4
Log Sync Interval (def) : -4
Log Sync Interval (max) : -4
Log Min Delay Req Interval (min) : -4
Log Min Delay Req Interval (def) : -4
Log Min Delay Req Interval (max) : -4
Domain # (min) : 24
Domain # (def) : 24
Domain # (max) : 43
Priority 1 : 128
Priority 2 (min) : 0
Priority 2 (def) : 128
Priority 2 (max) : 225
Local Priority : 128

The example below shows the PTP peer statistics details.

ufi-ptp# show ptp port 67 peer
Port 67:
Peer #0
L2 address : E1:C1:1A:G5:L2:15
Clock Identity : A1:B2:C3:D4:E5:F6:G7:H8
Received Sync : 141970
Received Delay Request : 0
Received Delay Response : 141951
Received Peer Delay Request : 0
Received Peer Delay Response : 0
Received Followup : 0
Received Peer Delay Followup : 0
Received Announce : 70985
Received Signalling : 0
Received Management : 0
Transmitted Sync : 0
Transmitted Delay Request : 141959
Transmitted Delay Response : 0
Transmitted Peer Delay Request : 0
Transmitted Peer Delay Response : 0
Transmitted Followup : 0
Transmitted Peer Delay Followup : 0
Transmitted Announce : 0
Transmitted Signalling : 0
Transmitted Management : 0

The example below shows the master clock MAC address for PTP port 67.

ufi-ptp# show ptp port 67 master
Port 67:
Master #0 : E1:C1:1A:G5:L2:15
ufi-ptp#