Network and distribution
BMCA
Also: Best Master Clock Algorithm
The Best Master Clock Algorithm compares the properties of all clocks in a PTP domain (accuracy, stability, priority) and selects the grandmaster from them.
If that one drops out, BMCA automatically selects the next best clock, so the network stays synchronised without manual intervention.