VRRP defines three states: Initialize, Master, and Backup. Only the device in Master state can forward packets destined for the virtual IP address. Figure 1 shows the VRRP state transition.
State |
Description |
---|---|
Initialize |
VRRP is unavailable. The device in Initialize state cannot process VRRP Advertisement packets. When VRRP is configured on the device or the device detects a fault, it enters the Initialize state. After receiving an interface Up message, the VRRP-enabled device whose priority is 255 becomes the master. The VRRP-enabled device whose priority is less than 255 switches to the Backup state. |
Master |
The VRRP device in Master state performs the following operations:
|
Backup |
The VRRP device in Backup state performs the following operations:
|
The VRRP working process is as follows: