The vrrp version-3 send-packet-mode command configures a mode in which VRRPv3 Advertisement packets are sent.
The undo vrrp version-3 send-packet-mode command restores the default mode in which VRRPv3 Advertisement packets are sent.
By default, the mode is v3-only.
vrrp version-3 send-packet-mode { v2-only | v3-only | v2v3-both }
undo vrrp version-3 send-packet-mode
Parameter | Description | Value |
---|---|---|
v2-only | Indicates that the device sends only VRRPv2 Advertisement packets. | - |
v3-only | Indicates that the device sends only VRRPv3 Advertisement packets. | - |
v2v3-both | Indicates that the device sends both VRRPv2 and VRRPv3 Advertisement packets. | - |
Usage Scenario
If devices in a VRRP group use different VRRP version numbers, the VRRP group may fail to negotiate the status. This is because a VRRPv2-enabled device can only receive VRRPv2 Advertisement packets and discards the received VRRPv3 Advertisement packets. You can configure a mode in which VRRP Advertisement packets are sent so that devices running VRRPv2 and VRRPv3 in the VRRP group can negotiate the status.
Precautions
Only VRRPv3 supports this command.
If both the vrrp version-3 send-packet-mode and vrrp vrid version-3 send-packet-mode commands are run, the vrrp vrid version-3 send-packet-mode command takes precedence over the vrrp version-3 send-packet-mode command.
If a large number of VRRP groups are configured, v2v3-both is not recommended.