① Configuring the console login password
The first way to configure authentication (AAA)
[Server] AAA (authentication mode)
[SERVER-AAA] local-user admin1234 password irreversible-cipher (irreversible password) [email protected] (local user admin1234 password)
[SERVER-AAA] Local-user admin1234 Privilege level 15 (local user Privilege 15)
[SERVER-AAA] local-user admin1234 service-type ssh (local user admin1234 AAA service SSH)
Then set the login mode of the console port to the authentication mode.
[Server]user-interface console 0 (user logged in with console port)
[Server]authentication-mode AAA (the Certified mode is AAA)
② Configuring Telnet and Stelnet
First, you need to configure the virtual end user Login
[Server] user-interface vty 0 4
[server-ui-vty0-4] User Privilege level 15 (User Privilege 15) If you configure AAA and you need the same user privileges, you do not need to configure
[Server-ui-vty0-4] Authentication-mode AAA (authentication Mode AAA)
Then configure AAA authentication Mode
[SERVER-AAA] local-user admin1234 password irreversible-cipher (irreversible password) [email protected] (local user admin1234 password)
[SERVER-AAA] Local-user admin1234 Privilege level 15 (local user Privilege 15)
[Server-aaa]local-user Lvshou ftp-directory Flash: (local user's Flash for FTP directory)
command to configure Telnet: [server-aaa] local-user admin1234 service-type telnet (local user admin1234 AAA Service Telnet) If you are configuring Telnet then only need to turn on the Telnet service configuration to complete
command to configure stelnet: [server-aaa] local-user admin1234 service-type terminal (end user) SSH FTP
Finally configure the stelnet SSH
[Server]stelnet Server Enable
[SERVER]SSH Server port 55066 (SSH access via port 55066)
[Server]ssh User Lvshou
[server]ssh User Lvshou authentication-type password (SSH users lvshu authentication type password means password is required for this user to log in)
[Server] SSH user Lvshou service-type stelnet
One: Configure the configuration of the console password/telnet/ssh (forgot password)