To ensure G.8275.1 for time synchronization, you need to globally enable G.8275.1 in the system view, set the device type to T-BC/T-TC, and configure basic information such as the domain value and virtual clock ID.
The system view is displayed.
PTP is enabled on the device.
If the device hardware supports ultra-high-precision timestamping, you can run the ptp uhpc enable command to improve the precision of time synchronization. To view the capabilities supported by the corresponding interface, run the display ptp interface { interface-name | interface-type interface-number } command.
G.8275.1 is enabled on the device.
The device type is set to T-BC or T-TC.
When G.8275.1 is used to perform time synchronization, T-BCs and T-TCs must reside in the same clock domain.
After this function is enabled, the device automatically switches to another valid time source if the current time source has an offset change greater than 1.1 µs for three consecutive seconds or the signal fails due to the loss of Sync packets. After the time source fault is rectified, run the ptp source-switch ptsf recover command in the interface view to restore the current time source. If you want to automatically restore the time source after a certain period of time, run the ptp ptsf auto-recovery-time command to configure the PTSF auto-recovery time. By default, the PTSF auto-recovery time is 0 minute, that is, the function is disabled.
The hold-off time for the clock class of the local source is configured on the device.
The maximum number of hops for time synchronization is configured. A clock source is considered unavailable if the value of stepsRemoved in the Announce packets received by the clock source is greater than or equal to the value of max-steps-removed-value.
The configuration is committed.