The ptp slaveonly command sets the attribute of the clock source interface of the OC to slave-only.
The undo ptp slaveonly command restores the default status of the PTP interface of the OC.
By default, the clock source interface can be a master interface or a slave interface.
Parameter |
Description |
Value |
---|---|---|
slot slot-id | Specifies the ID of the slot where the OC with the PTP interface in the slave state resides. | The value range depends on the device configuration. |
Usage scenario
When an OC functions as the last clock node, the OC receives clock signals from an upstream device and sends the clock signals to clients. To prevent clock signals of clients from affecting the PTP system, configure the interface status of the OC to slave-only. This configuration ensures that the OC does not synchronize the clock signals of clients.
The OC in a domain has only one PTP interface. If the interface status of the OC is set to slave-only, no interface can switch to the master.