< Home

vrrp version

Function

The vrrp version command sets the VRRP version for the current device.

The undo vrrp version command restores the default configuration.

Format

vrrp version { v2 | v3 }

undo vrrp version

Parameters

Parameter Description Value

v2

Indicates VRRPv2. VRRPv2 backup groups can send and receive only VRRPv2 Advertisement packets, and thus discard the received VRRPv3 Advertisement packets.

-

v3

Indicates VRRPv3. A VRRP backup group running VRRPv3 can send and receive both VRRPv2 and VRRPv3 Advertisement packets. That is, this backup group can communicate with the devices running VRRPv2 and the devices running VRRPv3.

-

Views

System view

Default Level

2: Configuration level

Usage Guidelines

By default, VRRPv2 is adopted.

Before running the vrrp version command, ensure that VRRP configurations with different VRRP versions coexist on the network.

The vrrp version command is used when devices running different VRRP versions communicate.

After the VRRP version is changed to VRRPv3, you need to run the vrrp version-3 send-packet-mode command to set the mode for sending VRRP Advertisement packets as required.

Example

# Set the VRRP version of the current device to VRRPv3.

<sysname> system-view
[sysname] vrrp version v3
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >