The ptp enable command enables PTP on a certain interface of the device.
The undo ptp enable command disables PTP on a certain interface of the device.
By default, PTP is not enabled on the interface of the device.
Usage scenario
After PTP is enabled globally, enable PTP on an interface so that PTP can take effect.
Precautions
Before enabling PTP, ensure that the interface supports PTP.
Pre-configuration tasks
Before enabling PTP on an interface, you must run the ptp device-type command in the system view to set the device type.