-214
This example creates VRRP group 1 using the primary interface for
VLAN 1 as the VRRP group Owner, and also adds a secondary interface
as a member of the group.

vrrp authentication

Use this command to specify the key used to authenticate VRRP packets
received from other routers. Use the no form to prevent authentication.
Syntax
vrrp group authentication key
no vrrp group authentication
group - Identifies the virtual router group. (Range: 1-255)
key - Authentication string. (Range: 1-8 alphanumeric characters)
Default Setting
No key is defined.
Command Mode
Interface (VLAN)
Command Usage
All routers in the same VRRP group must be configured with the same
authentication key.
• When a VRRP packet is received from another router in the group, its
authentication key is compared to the string configured on this router.
If the keys match, the message is accepted. Otherwise, the packet is
discarded.
• Plain text auth entication does not provide any real security. It is
supported only to prevent a misconfigured router from participating in
VRRP.
Console(config)#interface vlan 1
Console(config-if)#vrrp 1 ip 192.168.1.6
Console(config-if)#vrrp 1 ip 192.168.2.6 secondary
Console(config-if)#