The vrrp version-3 send-packet-mode command configures a VRRPv3-enabled device to send Advertisement packets of a specified version in the system view.
The undo vrrp version-3 send-packet-mode command restores the default configuration in the system view.
By default, a VRRPv3-enabled device sends only VRRPv3 Advertisement packets.
Parameter | Description | Value |
---|---|---|
v2-only |
Indicates that a VRRPv3-enabled device sends only VRRPv2 Advertisement packets. |
- |
v2v3-both |
Indicates that a VRRPv3-enabled device sends both VRRPv2 and VRRPv3 Advertisement packets. |
- |
v3-only |
Indicates that a VRRPv3-enabled device sends only VRRPv3 Advertisement packets. |
- |
Usage Scenario
If different VRRP versions are configured for devices in a VRRP backup group, a VRRPv2-enabled device receives only VRRPv2 Advertisement packets. After the VRRPv2-enabled device receives VRRPv3 Advertisement packets, it discards them. As a result, the devices in the VRRP backup group cannot negotiate their status. To resolve this issue, run the vrrp version-3 send-packet-mode command to configure a VRRPv3-enabled device to send VRRPv2 Advertisement packets so that the VRRPv2- and VRRPv3-enabled devices can negotiate their status.
Prerequisites
The VRRP version number of a device has been configured as 3 using this command.
Configuration Impact
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.
Precautions
Only a VRRPv3-enabled device can be configured to send Advertisement packets of a specified version.