< Home

Configuring PTP Globally

Context

To enable the master clock to transmit clock signals to multiple devices, configure a device as a BC. A BC provides multiple physical interfaces to participate in PTP clock synchronization. One interface receives clock signals from an upstream device, and the other interfaces send the clock signals to downstream devices.

To configure a PTP device as a BC, enable PTP globally on the device, configure the device type as BC, and perform BC configurations in the system view.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run ptp enable

    PTP is enabled.

    By default, PTP is disabled.

  3. Run ptp device-type bc slot slot-id

    The device type is configured as BC.

    By default, no device type is configured for a PTP device.

  4. (Optional) Run ptp domain domain-value

    The PTP domain to which the device belongs is configured.

    By default, a PTP device belongs to domain 0.
    Devices that perform clock synchronization through PTP messages must belong to the same PTP domain.

  5. (Optional) Run ptp virtual-clock-id clock-id-value slot slot-id

    A virtual clock ID is set for the device.

    By default, no virtual clock ID is configured for a PTP device, and the system generates a clock ID based on the MAC address of the device. You can also configure a virtual clock ID to identify the device.

    When running the ptp virtual-clock-id command, ensure that the configured virtual clock ID is unique in the entire PTP domain.

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