The vrrp authentication-mode command configures the authentication key of the Virtual Router Redundancy Protocol (VRRP) backup group.
By default, a VRRP backup group uses the non-authentication mode.
| Parameter | Description | Value |
|---|---|---|
| simple | Indicates simple authentication. | - |
| md5 | Indicates MD5 authentication. | - |
| key | Specifies an authentication key. |
If simple authentication is specified, the value is 1 to 8 case-sensitive characters and spaces are excluded. If MD5 authentication is specified, the value is 1 to 8 case-sensitive characters for a simple text authentication key or 24 or 32 case-sensitive characters for a ciphertext authentication key and spaces are excluded. |
Ethernet interface view, Ethernet sub-interface view, Eth-Trunk interface view, Eth-Trunk sub-interface view, or VLANIF interface view
This command is available to aid upgrade compatibility. It can only be run during the configuration restoration phase of the upgrade.
After the upgrade, this command is no longer supported, and it is replaced by the vrrp vrid authentication-mode command.
This command is saved in simple text after it is configured, which brings security risks. Saving the command configuration in ciphertext is recommended.