The vrrp version command configures a VRRP version number.
The undo vrrp version command restores the default VRRP version number.
By default, VRRPv2 is used.
Parameter | Description | Value |
---|---|---|
v2 | Indicates that VRRPv2 is used. |
- |
v3 | Indicates that VRRPv3 is used. |
- |
Usage Scenario
If VRRPv2 and VRRPv3 are used on a network and devices running VRRPv2 need to communicate with devices running VRRPv3, run the vrrp version command to specify a VRRP version number.
Precautions
A VRRPv2 group can only send and receive VRRPv2 Advertisement packets. It discards the received VRRPv3 Advertisement packets.
A VRRPv3 group can send and receive both VRRPv2 and VRRPv3 Advertisement packets. You can configure a mode in which VRRPv3 Advertisement packets are sent so that devices running VRRPv2 and VRRPv3 can communicate.
Follow-up Procedure
After VRRPv3 is used, run the vrrp version-3 send-packet-mode command in the system view or the vrrp vrid version-3 send-packet-mode command in the interface view to configure a mode in which VRRP Advertisement packets are sent.