The vrrp vrid authentication-mode command sets the authentication mode and key for all the VRRP groups on one interface.
The undo vrrp vrid authentication-mode command restores the authentication mode and key for all the VRRP groups on one interface to the default setting.
vrrp vrid virtual-router-ID authentication-mode { simple [ plain | cipher ] password | md5 password }
undo vrrp vrid virtual-router-ID authentication-mode
| Parameter | Description | Value |
|---|---|---|
| virtual-router-ID | Specifies the ID of a VRRP group. | The value must be the ID of an existing VRRP group. |
| simple | Refers to simple text authentication. | - |
| plain | Indicates the password in explicit text. Only the explicit
text password can be entered. The password in the configuration file
is displayed in explicit text. NOTICE:
If this parameter is set, the password is saved in the configuration file in plaintext, which brings security risks. Using the ciphertext mode is recommended. Change the password on a regular basis. |
- |
| cipher | Indicates the password in ciphertext. The explicit text password or the ciphertext password can be entered. The password in the configuration file is displayed in ciphertext. Authentication is in ciphertext by default. | - |
| md5 | Refers to MD5 authentication. | - |
| password | Specifies the authentication key of MD5 authentication. |
|