Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document.
Note: Even the most advanced machine translation cannot match the quality of professional translators.
Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
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
- Run system-view
The system view is displayed.
- Run interface interface-type interface-number
The interface view is displayed.
- 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. - (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.