Globally Enabling CU-106

To ensure CU-106 for time synchronization, enable CU-106 globally in the system view and configure basic information on a device, such as the device type (T-BC or T-TC), domain value, and virtual clock ID.

Context

Perform the following steps on each T-BC and T-TC:

Procedure

  1. Run system-view
  2. Run ptp enable

    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.

  3. Run ptp profile cu-106 enable

    CU-106 is enabled on the device.

  4. Run ptp device-type t-bc

    The device type is set to T-BC or T-TC.

  5. (Optional) Run ptp domain domain-value

    The domain where the device resides is configured.

    All the T-BCs that use CU-106 to perform time synchronization must reside in the same clock domain.

  6. (Optional) On the T-BC, run ptp source-switch ptsf enable

    The packet timing signal fail (PTSF)-triggered source switching function is enabled.

    After this function is enabled, the device automatically switches to another valid time source if the current time source has an offset change of greater than 1.1 µs for three consecutive seconds or the signals fail due to a 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.

  7. (Optional) Run ptp virtual-clock-id clock-id-value

    A virtual clock ID is configured.

  8. (Optional) Configure automatic measurement of fiber asymmetry on the T-BC.
    1. Run ptp asymmetry-measure enable

      The automatic measurement of fiber asymmetry on a ring network is enabled on the device.

    2. Run ptp passive-measure enable

      The performance monitoring function is enabled on the passive interface of the device.

    3. Run ptp passive-measure alarm-threshold alarm-threshold-value

      An alarm threshold is configured for the time offset (time difference between the master and slave clocks) on the passive interface of the device.

  9. Run commit

    The configuration is committed.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >