The ptp acl-permit-clockid command specifies the clock ID of a PTP device that a local PTP device uses to calculate the local best master clock (BMC).
The undo ptp acl-permit-clockid command disables a local PTP device from using a specified PTP device to calculate the BMC.
By default, a device that can access clock sources uses no PTP device to calculate the BMC.
Usage Scenario
The device can select a reference clock within a given range of user-defined clock sources. To specify the ID of a clock that a local device uses to select the BMC, run the ptp acl-permit-clockid command. This command allows the device to select the BMC among clocks with IDs listed in the configured clock ID list. The implementation prevents clock flapping over an entire network resulting from clock attacks or incorrect configurations.
Prerequisites
The control of access to clock sources has been enabled using the ptp acl enable command.
Follow-up Procedure
Run the display ptp all command on the local device to view clock IDs.
In VS mode, this command is supported only by the admin VS.