The set protocols vrrp interface vif vrid version command assigns the VRRP version on the VRRP-enabled device. 


This command applies to both VRRPv2 and VRRPv3 configuration.

Command Syntax

set protocols vrrp interface <interface-name> vif <vif-namevrid <virtual-router-idversion <2 | 3>





interface <interface-name>

Specifies the Layer 3 interface name of VRRP device. The value is a string.

vif <vif-name>

Specifies the VLAN interface name. The value is a string.

vrid <virtual-router-id>

Specifies the VRID of a VRRP group. The value is an integer that ranges from 1 to 254.

version <2 | 3>

Specifies the VRRP version. The value could be 2 or 3, indicating VRRPv2 or VRRPv3.

By default, the system uses VRRPv2.


Usage Guidelines

VRRPv3 supports IPv4 and IPv6 address families while VRRPv2 only supports IPv4 addresses. That is,


  •   As VRRPv2 and VRRPv3 interoperation is not supported, VRRP version must be the same on both devices of a VRRP group. If the VRRP versions on the switches in the VRRP group are different, which may result in abnormal VRRP operation.
  •   When upgrading, we recommend that PICOS versions of the VRRP group devices be upgraded to PICOS 2.11.10 or later versions at the same time, as PICOS supports VRRPv3 from PICOS 2.11.10.



admin@Xorplus# set protocols vrrp interface vlan100 vif vlan100 vrid 2 version 3
admin@Xorplus# commit