The ptp slaveonly command configures an ordinary clock (OC) to work in slave-only mode.
The undo ptp slaveonly command cancels the slave-only mode for an OC.
An OC can work as the master clock or a slave clock.
By default, an OC can work as the master clock or a slave clock by default.
Usage Scenario
An OC has only a single 1588v2 interface. This means that the OC can function as the master clock to advertise clock signals or as a slave clock to receive upstream clock signals. To enable an OC to work only as a slave clock on a clock synchronous network, run the ptp slaveonly command.
This command applies only to 1588v2 and SMPTE-2059-2.Prerequisites
The device has been configured as an OC using the ptp device-type oc command.
Precautions
This command is supported only on the admin VS.
The ptp slaveonly command applies only to dynamic 1588v2 scenarios. The ptp set-port-state enable command is used to set 1588v2 interface status in static 1588v2 scenarios. The ptp slaveonly and ptp set-port-state enable commands are mutually exclusive.