Configuring password authentication for console login
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter AUX line view or class view. |
| A setting in user line view is applied only to the user line. A setting in user line class view is applied to all user lines of the class. A non-default setting in either view takes precedence over a default setting in the other view. A non-default setting in user line view takes precedence over a non-default setting in user line class view. A setting in user line view takes effect immediately and affects the online user. A setting in user line class view does not affect online users and takes effect only for new login users. |
3. Enable password authentication. | authentication-mode password | By default, authentication is disabled for the AUX line. |
4. Set a password. | set authentication password { hash | simple } password | By default, no password is set. |
5. Assign a user role. | user-role role-name | By default, an AUX line user is assigned the user role network-admin. |
The next time you log in through the console port, you must provide the configured login password.