< 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 interface view is displayed.

  3. Run ptp enable

    PTP is enabled on the interface.

    By default, PTP is disabled on an interface.
    On the TC device, PTP must be enabled on the interfaces that receive and send PTP messages. Otherwise, the resident time of the device cannot be calculated correctly and only PTP messages are forwarded.

  4. (Optional) Run ptp tcoc-clock-id clock-source-id port-num port-num

    The clock source traced by an interface on the TCOC is specified.

    By default, no clock source is specified for a TCOC to trace. A TC only transmits clock signals but not synchronizes clock signals. To enable a device to synchronize one of multiple clock signals, configure the device as a TCOC and specify a clock trace for the device to trace.
    This command takes effect only on a TCOC.

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