Configuring PTP on an Interface
Context
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.