Setting the packet sending mode for IPv4 VRRPv3
About the packet sending mode for IPv4 VRRPv3
A router configured with VRRPv3 can process incoming VRRPv2 packets, but a router configured with VRRPv2 cannot process incoming VRRPv3 packets. When the VRRP version of the routers in a VRRP group is changed from VRRPv2 to VRRPv3, multiple masters might be elected in the VRRP group. To resolve the problem, you can set the packet sending mode for IPv4 VRRPv3. This task enables a router configured with VRRPv3 to send VRRPv2 packets and communicate with routers configured with VRRPv2.
Restrictions and guidelines
The packet sending mode for IPv4 VRRPv3 takes effect only on outgoing VRRP packets. A router configured with VRRPv3 can process incoming VRRPv2 and VRRPv3 packets.
If you set the packet sending mode for IPv4 VRRPv3 and configure VRRP packet authentication, authentication information will be carried in outgoing VRRPv2 packets but not in outgoing VRRPv3 packets.
The VRRP advertisement interval is set in centiseconds by using the vrrp vrid timer advertise command. The VRRP advertisement interval carried in VRRPv2 packets sent from routers configured with VRRPv3 might be different from the configured value. For information about the VRRP advertisement interval, see the vrrp vrid timer advertise command in High Availability Command Reference.
Procedure
Enter system view.
system-view
Enter interface view.
interface interface-type interface-number
Set the packet sending mode for IPv4 VRRPv3.
vrrp vrid virtual-router-id vrrpv3-send-packet { v2-only | v2v3-both }
By default, a router configured with VRRPv3 sends only VRRPv3 packets.