authentication text
Use this command to authenticate the VRRPv2 packets received from the other routers in the group. If configured authentication, all routers within the VRRP group must use the same authentication string.
Authentication is supported only for VRRPv2 packets. V2-compatibility must be enabled.
If both master and backup having same authentication, then one node act as master and another node acts as a backup based on priority. If both master and backup having different authentication, both nodes acting as a master.
Use the no parameter with this command to remove an authentication.
Command Syntax
authentication text TEXT-STRING
no authentication text
Parameters
TEXT-STRING
Specify a string of characters to be used as a password up to eight alphanumeric characters.
Default
By default, authentication is disabled.
Command Mode
Router mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#router vrrp 1 eth3
(config-router)#v2-compatible
(config-router)#authentication text abc_123
(config-router)#end
#configure terminal
(config)#router vrrp 1 eth3
(config-router)#no authentication text
(config-router)#end
Last modified date: 08/28/2023