Figure 31 Telnetting to the device without authentication

Configuring password authentication for Telnet login

Step

 

Command

Remarks

1.

Enter system view.

system-view

N/A

 

 

 

 

2.

Enable Telnet server.

telnet server enable

By default, the Telnet server

function is disabled.

 

 

 

 

 

 

 

3.

Enter one or multiple VTY

user-interface vty first-number

N/A

 

user interface views.

[ last-number ]

 

 

 

 

 

 

4.

Enable password

 

By default, the authentication

authentication-mode password

mode for the VTY user interfaces

 

authentication.

 

 

is scheme.

 

 

 

 

 

 

 

5.

Set a password.

set authentication password { cipher

By default, no password is set.

simple } password

 

 

 

 

 

 

 

6.

Configure the user privilege

user privilege level level

The default level is 0.

 

level for login users.

 

 

 

 

 

 

 

7.

Configure common settings

See "Configuring common VTY user

Optional.

 

for VTY user interfaces.

interface settings (optional)."

 

 

 

 

 

 

The next time you attempt to Telnet to the device, you must provide the configured login password, as shown in Figure 32. If the maximum number of login users has been reached, your login attempt fails and the message "All user interfaces are used, please try later!" appears.

30