Programmable Internetworking & Communication Operating System Docs ... Click Spaces -> Space Directory to see docs for all releases ...
Page tree
Skip to end of metadata
Go to start of metadata

The set protocols vrrp interface vif vrid authentication type command configures an 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> vif <vif-name> vrid <virtual-router-id> authentication type <none | md5 | simple>


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.

authentication type <none | md5 | simple>

Specifies the authentication mode. The value could be none, md5 or simple.

  •   none: Indicates no authentication.
  •   md5: Indicates MD5 authentication.
  •   simple: Indicates simple authentication.

By default, there’s no authentication.


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.
  • If the VRRP authentication fails, the system prints the warning level log.


Example

  • Enable MD5 authentication mode for a VRRP group.
admin@Xorplus# set protocols vrrp interface vlan100 vif vlan100 vrid 2 authentication type md5
admin@Xorplus# set protocols vrrp interface vlan100 vif vlan100 vrid 2 md5-key picos123
admin@Xorplus# commit


  • No labels