40
Configuring password authentication for Telnet login
Prerequisites
You have logged in to the device.
By default, log in to the device through the console port without authentication and have user privilege level
3 after login. For information about logging in to the device with the default configuration, see
“Configuration requirements.”
Procedure
To configure password authentication for Telnet login:
Ste
Command
Remarks
1. Enter system view.
system-view —
2. Enable Telnet.
telnet server enable
Required.
By default, the Telnet service is
disenabled.
3. Enter one or multiple VTY
user interface views.
user-interface vty first-number
[ last-number ]
—
4. Specify the password
authentication mode.
authentication-mode password
Required.
By default, authentication mode for VTY
user interfaces is password.
5. Set the local password.
set authentication password
{ cipher | simple } password
Required.
By default, no local password is set.
6. Configure the user privilege
level for login users.
user privilege level level
Required.
0 by default.
7. Configure common settings
for VTY user interfaces.
—
Optional.
See “Configuring common settings for
VTY user interfaces (optional).”
When you log in to the device through Telnet again:
• You are required to enter the login password. A prompt such as <HP> appears after you enter the
correct password and press Enter, as shown in Figure 12.
• If “A
ll user interfaces are used, please try later!” is displayed, it means the number of current concurrent
login users exceed the maximum. Please try later.