The authentication-mode local command configures local user name and password authentication as the authentication mode of the Console user interface.
By default, no user authentication mode is set for the user interface. A user authentication mode must be configured before the users log in to the user interface. Otherwise, users cannot log in to the device.
authentication-mode local user username password { simple simple-password | cipher cipher-password }
| Parameter | Description | Value |
|---|---|---|
| username | Specifies a user name. | The value is a string of 1 to 253 characters, spaces not supported. |
| simple simple-password | Specifies a simple password for user login. | The value is a string of 1 to 16 characters, spaces not supported. The password is displayed in plaintext in the configuration file. |
| cipher cipher-password | Specifies a ciphertext password for user login. | In the case of a simple password, the value is a string of 8 to 16 characters without spaces. In the case of a ciphertext password, the value is a string of 24, 56, or 68 characters without spaces. A password that is input in simple or ciphertext mode is displayed in ciphertext in the configuration file. |
This command is available to aid upgrade compatibility. It can only be run during the configuration restoration phase of the upgrade.
It is replaced by the authentication-mode password command in the user interface view.
After an upgrade is performed, the user name configured using this command will be discarded, and you can use the configured password to log in to the device.