The set protocols vrrp interface vif vrid load-balance disable command is used to enable or disable the Active-Active VRRP function.

This command applies to both VRRPv2 and VRRPv3 configuration.

 

Command Syntax

set protocols vrrp interface <interface-name> vif <vif-name> vrid <virtual-router-id> load-balance disable <true | false>

 

Parameter

Parameter

Description

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.

disable <true | false>

Enables or disables the Active-Active VRRP function. The value is true or false.

true: disables the Active-Active VRRP function.

false: enables the Active-Active VRRP function.

By default, Active-Active VRRP function is disabled.


Usage Guidelines

In the Standard VRRP protocol mode, only the Virtual Master Router can forward packets whereas the Virtual Backup Routers cannot forward packets. By adding a new working mechanism based on the VRRP standard protocol mode, Active-Active VRRP mode provides load balancing between the master and backup switches in the VRRP group, both of which are active, thus avoiding the situation where the backup switches are always idle in the Standard VRRP protocol mode. This greatly improves efficiency of network resources.

NOTE:

  • The Active-Active VRRP mode must be enabled or disabled on both devices of VRRP group.

 

Example

admin@Xorplus# set protocols vrrp interface vlan100 vif vlan100 vrid 2 load-balance disable true
admin@Xorplus# commit
admin@Xorplus# set protocols vrrp interface vlan100 vif vlan100 vrid 2 load-balance disable false
admin@Xorplus# commit