< Home

Configuring PTP on an Interface

Context

On an interface, you can enable PTP and configure the delay measurement mechanism, method to process Announce messages, and mode in which PTP messages carry timestamps.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number

    The view of the interface on which PTP needs to be configured is displayed.

  3. Run ptp delay-mechanism { delay | pdelay }

    A delay measurement mechanism is configured.

    By default, no delay measurement mechanism is configured for an OC.

    Different delay measurement mechanisms are not compatible. Therefore, PTP interfaces on a link must have the same delay measure mechanism configured.

  4. Run ptp enable

    PTP is enabled on the interface.

    By default, PTP is disabled on an interface.

  5. Run ptp clock-step { one-step | two-step }

    The mode in which PTP devices timestamp PTP messages to perform clock synchronization is configured.

    By default, PTP messages are timestamped in one-step mode.

Configuring an Interface to Drop Announce Messages

After configuring PTP on an interface, you can run the ptp announce-drop enable command on the interface to configure the interface to drop Announce messages.

Announce messages are used for PTP clock synchronization. When a user-side interface and the current PTP interface meet clock synchronization requirements, you can configure the PTP interface to drop Announce messages to retain the current master-slave hierarchy. After the interface receives Announce messages, it drops the messages and does not participate in establishing the master-slave hierarchy. This saves system resources.

By default, an interface does not drop Announce messages.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >