You can set the VRRP priority when configuring a VRRP group. The switch of the highest priority functions as the master switch, and the switches of lower priorities function as the standby switches. If the master switch is Down, a standby switch functions as a master switch.
-
The VRRP preemption mode is as follows:
- If VRRP preemption is disabled, once a switch functions as a master switch in the VRRP standby group, other switches cannot become a master switch even if they are configured with higher priorities. If the master switch is faulty, a standby switch can become the master one.
- If VRRP preemption is enabled, once a switch finds that its priority is higher than that of the current master switch, it becomes the master switch, and the previous master switch accordingly becomes a standby switch.
By default, VRRP preemption is enabled and the delay is 0.
-
The VRRP can track the specified interface.
If a tracked interface is down, the priority of the switch is reduced by a certain value (value-reduced). In this case, the priority of this switch may become lower than the priorities of other switches. Then, the switch of the highest priority becomes the master switch. The Switch can track VLANIF interfaces and physical interfaces. If a VLANIF interface consists of multiple interfaces, the priority of the VLANIF interface is not reduced as long as one interface is Up.
-
VRRP tracking BFD session:
When the tracked BFD session goes Down on a switch, the priority of the switch increases or decreases (depending on the configuration), triggering re-election of the master. The switch with a higher priority becomes the master.