ip vrrp auth-key

Last Updated : Aug 28, 2026 |
Sets the virtual router simple password authentication for the virtual router ID. Use no ip vrrp auth-key to disable simple password authentication for the virtual router instance.
Prolog information

Syntax

[no] ip vrrp vr_id auth-key key_string

Parameters

Parameter
Description
Possible Values
Default Value
vr_id
The virtual router ID
1-255
key_string
The password string

User level

read-write

Context

interface:FastEthernet (L2-L3, L2), VLAN (L2-L3, L2)

Example

To specify the password authentication for virtual router 1 as sec01:
Gxxx-001(if:Vlan 2)# ip vrrp 1 auth-key sec01