The set protocols vrrp interface vif vrid md5-key command configures the authentication key in MD5 authentication mode for a VRRP group.


VRRP authentication is only supported by VRRPv2, which is not supported by VRRPv3.

Command Syntax

set protocols vrrp interface <interface-namevif <vif-namevrid <virtual-router-id> md5-key <md5-key>




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.

md5-key <md5-key>

Specifies the authentication key in MD5 authentication mode. The value is a string of 1 to 16 case-sensitive characters without spaces.

Usage Guidelines


Devices in a VRRP group must be configured with the same authentication mode and authentication key; otherwise, the VRRP group cannot negotiate the Master and Backup states.


admin@Xorplus# set protocols vrrp interface vlan100 vif vlan100 vrid 2 md5-key picos123
admin@Xorplus# commit