interfaces <interface> vrrp vrrp-group <group-id> authentication password <pwd>
Sets the VRRP version 2 authentication password for a VRRP group on an interface.
If a password is not set, an interface is not required to authenticate itself to the VRRP group.
- interface
- The type keyword and identifier of an interface. For detailed keywords and arguments that can be specified as interfaces, refer to Supported Dataplane Interfaces.
- group-id
- The identifier of a VRRP group to which the interface belongs. The identifier ranges from 1 through 255.
- pwd
- The password the interface is to use to authenticate itself as a member of the VRRP group.
Configuration mode
interfaces interface {
vrrp {
vrrp-group group-id {
authentication {
password pwd
}
}
}
}
Use this command to set a password for a VRRP group on an interface.
If a password is set for VRRP authentication, the authentication type (AH or plain text-password) must also be defined. If the password is set and the authentication type is not defined, the system generates an error when you try to commit the configuration.
Use the set form of the command to specify the VRRP authentication password for a VRRP group on an interface.
Use the delete form of the command to delete the VRRP authentication password for a VRRP group on an interface.
- You cannot delete the VRRP password without also deleting the VRRP authentication type. If you attempt to delete the password, the system generates an error when you try to commit the configuration.
- If you delete both the VRRP authentication password and authentication type, VRRP authentication is disabled on the interface.
Use the show form of the command to view the VRRP authentication password for a VRRP group on an interface.