< Home

vrrp version

Function

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.

Format

vrrp version { v2 | v3 }

undo vrrp version

Parameters

Parameter Description Value
v2

Indicates that VRRPv2 is used.

-
v3

Indicates that VRRPv3 is used.

-

Views

System view

Default Level

2: Configuration level

Usage Guidelines

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.

Example

# Set the VRRP version of the device to VRRPv3.

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