Globally Enabling SMPTE-2059-2

To enable SMPTE-2059-2, you need to configure SMPTE-2059-2 in both the system view and interface view. After SMPTE-2059-2 is enabled in the system view, you need to configure basic device information, such as the domain value and virtual clock ID, required for setup of an SMPTE-2059-2 network.

Procedure

  • Perform the following steps on each OC:
    1. Run system-view

      The system view is displayed.

    2. Run ptp enable

      The 1588v2 function 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 smpte-2059-2 enable

      SMPTE-2059-2 is enabled.

    4. Run ptp device-type oc

      The device type is set to OC.

    5. (Optional) Run ptp slaveonly

      The OC is configured to work in slave-only mode.

      A router that functions as an OC to synchronize time signals with other devices can be configured to work in slave-only mode. The OC working in slave-only mode has its interfaces in Slave state. This means that the OC can function as a slave clock to receive clock signals from other clocks, but cannot function as a master clock to provide clock signals for other clocks.

    6. Run ptp domain domain-value

      The clock domain where the SMPTE-2059-2 device resides is specified.

      Devices that exchange SMPTE-2059-2 packets to implement time synchronization must reside in the same SMPTE-2059-2 clock domain.

    7. (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 of 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

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

      A virtual clock ID is set.

    9. Run commit

      The configuration is committed.

  • Perform the following steps on each BC:
    1. Run system-view

      The system view is displayed.

    2. Run ptp enable

      The 1588v2 function 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 smpte-2059-2 enable

      SMPTE-2059-2 is enabled.

    4. Run ptp device-type bc

      The device type is set to BC.

    5. Run ptp domain domain-value

      The clock domain where the SMPTE-2059-2 device resides is specified.

      Devices that exchange SMPTE-2059-2 packets to implement time synchronization must reside in the same SMPTE-2059-2 clock domain.

    6. (Optional) Run ptp source-switch ptsf enable

      The 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 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 virtual-clock-id clock-id-value

      A virtual clock ID is set.

    8. (Optional) Run ptp asymmetry-measure enable

      Automatic asymmetry measurement is enabled on the router over an SMPTE-2059-2 ring network.

    9. (Optional) Run ptp max-steps-removed max-steps-removed-value
    10. Run commit

      The configuration is committed.

  • Perform the following steps on each TC or TCOC:
    1. Run system-view

      The system view is displayed.

    2. Run ptp enable

      The 1588v2 function 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 smpte-2059-2 enable

      SMPTE-2059-2 is enabled.

    4. Run ptp device-type { e2etc | e2etcoc | p2ptc | p2ptcoc }

      The device type is set to TC or TCOC.

      A TCOC has the same functions as a TC and also implements frequency synchronization.

    5. Run ptp domain domain-value

      The clock domain where the SMPTE-2059-2 device resides is specified.

      Devices that exchange SMPTE-2059-2 packets to implement time synchronization must reside in the same SMPTE-2059-2 clock domain.

    6. (Optional) Run ptp source-switch ptsf enable

      The 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 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 virtual-clock-id clock-id-value

      A virtual clock ID is set.

    8. Run commit

      The configuration is committed.

  • Perform the following steps on each TCandBC:
    1. Run system-view

      The system view is displayed.

    2. Run ptp enable

      The 1588v2 function 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 smpte-2059-2 enable

      SMPTE-2059-2 is enabled.

    4. Run ptp device-type tcandbc

      The device type is set to TCandBC.

    5. Run ptp domain domain-value

      The clock domain where the SMPTE-2059-2 device resides is specified.

      Devices that exchange SMPTE-2059-2 packets to implement time synchronization must reside in the same SMPTE-2059-2 clock domain.

    6. (Optional) Run ptp source-switch ptsf enable

      The 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 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 virtual-clock-id clock-id-value

      A virtual clock ID is set.

    8. (Optional) Run ptp asymmetry-measure enable

      Automatic asymmetry measurement is enabled on the router over an SMPTE-2059-2 ring network.

    9. Run commit

      The configuration is committed.

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