Currently, only VRRPv2 supports authentication. Different authentication modes and authentication keys can be set in VRRP packet headers based on network security.
VRRP provides simple authentication and Message-Digest Algorithm 5 (MD5) authentication for networks that are vulnerable to attacks.
Devices in a VRRP group must be configured with the same authentication mode and authentication key; otherwise, the VRRP group cannot negotiate the Master and Backup states.
For security purposes, you are advised to use MD5 as the authentication algorithm of VRRP.
In a secure network, the default setting can be used. The device does not authenticate the sent or received VRRP packets. All received VRRP packets are considered valid. In this case, no authentication key needs to be set.