Configuring a G.8275.1 Clock Source
Context
After external time signal input is configured on multiple G.8275.1 devices, you can configure clock source attributes for BMC source selection to allow the G.8275.1 clock sources to participate in BMC calculation. The BMC algorithm allows the G.8275.1 devices to dynamically determine the master clock. The master clock provides time signals to the entire G.8275.1 network so that the G.8275.1 devices use G.8275.1 to obtain clock information from the grandmaster clock.
After dynamic BMC calculation is implemented, the G.8275.1 devices select a clock source based on the following order: priority2 > local-priority. That is, priority2 of the clock sources is compared first. If the priority2 values of these G.8275.1 devices are the same, the local-priority is compared. The clock source with the highest priority is selected as the master clock.
Perform the following operations on the devices connected to an external clock source on the G.8275.1 network:
Procedure
- Run system-view
The system view is displayed.
- Run ptp clock-source local time-source time-source slot slot-id
The type of the clock source to be traced is configured. The time-source parameter can be configured only on the grandmaster clock and must be set according to the clock source connected to the device. For details about the time-source parameter and corresponding clock source, see Command Reference.
- Run ptp clock-source local priority2 priority2 slot slot-id
The priority2 value is configured for the clock source.
- Run ptp clock-source local local-priority local-priority-value slot slot-id
The local priority is configured for the time source.