Globally Configuring G.8275.1

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.

Context

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

Procedure

  1. Run system-view

    The system view is displayed.

  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 g-8275-1 enable

    G.8275.1 is enabled on the device.

  4. Run ptp device-type { t-bc | t-tc }

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

  5. (Optional) Run ptp domain domain-value The clock domain where the device resides is configured.

    When G.8275.1 is used to perform time synchronization, T-BCs and T-TCs must reside in the same clock domain.

  6. (Optional) 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 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.

  7. (Optional) Run ptp local-clock-class holdoff-time time-value

    The hold-off time for the clock class of the local source is configured on the device.

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

      Automatic measurement on fiber asymmetry 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. (Optional) Configure the clock source access control function on the T-BC..
    1. Run ptp acl enable

      The clock source access control function is enabled.

    2. Run ptp acl-permit-clockid clockid-value

      A clock ID is configured for another T-BC which is allowed to participate in BMC selection.

  10. (Optional) Run ptp max-steps-removed max-steps-removed-value on the T-BC.

    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.

  11. Run commit

    The configuration is committed.

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