The set protocols vrrp interface vif vrid command creates a VRRP group. 

NOTE:

This command applies to both VRRPv2 and VRRPv3 configuration.


Command Syntax

set protocols vrrp interface <interface-name> vif <vif-namevrid <virtual-router-id>

 

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.

 

Usage Guidelines

When configuring VRID, pay attention to the following points:


Example

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