set protocols vrrp interface vrid simple-key



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

NOTE:

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


Command Syntax

set protocols vrrp interface <interface-name> vrid <virtual-router-id> authentication simple-key <simple-key>


Parameter

Parameter

Description

interface <interface-name>

Specifies the Layer 3 interface name of VRRP device. The value could be the VLAN interface name, the routed interface or the sub-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.

authentication simple-key <simple-key>

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


Usage Guidelines

NOTE:

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.


Example

  • Configure the authentication key in simple authentication mode for a VRRP group.
admin@Xorplus# set protocols vrrp interface vlan100 vrid 2 authentication simple-key picos123
admin@Xorplus# commit

Copyright © 2024 Pica8 Inc. All Rights Reserved.