VRRP Smooth Switching
When an active/standby switchover occurs on the master equipped with dual MPUs in a VRRP group, the master may not send VRRP packets during the switching period. The backup then assumes the master role because it does not receive VRRP Advertisement packets after the Master_Down_Interval timer expires. In preemption mode, after the original master completes the active/standby switchover, it detects that it has a higher priority than the new master and preempts to be the master again. During this process, services are switched twice, causing unstable service transmission.
- Before VRRP smooth switching, the backup must be enabled to learn the interval for sending VRRP Advertisement packets. The backup receives a VRRP Advertisement packet from the master and checks the interval in the packet. If the interval in the packet is different from the locally configured interval, the backup changes its own interval to the interval in the received packet.
- When an active/standby switchover of the MPU on the master is started, the master will save the current interval at which VRRP Advertisement packets are sent and adjust the interval of VRRP smooth switching (the interval is larger than the value before the switchover). During VRRP smooth switching, the master sends VRRP Advertisement packets at the new interval.
- When the backup receives the VRRP Advertisement packet, it changes its own interval to the new interval in the packet.
- After the switchover is complete, the master restores its original interval and sends a VRRP Advertisement packet at the new interval. The backup learns the interval after receiving the packet.
During VRRP smooth switching, the learning function takes precedence over the preemption function. If the interval and the priority carried in the received packet are different from the current interval and lower than the configured priority, the learning function takes effect and the timer is reset.
VRRP smooth switching depends on the system. If the system is busy due to the switchover and cannot schedule tasks of the VRRP module, VRRP smooth switching cannot take effect.