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
Procedure
To configure password authentication for Telnet login:
Step
1.
Enter system view.
2.
Enable Telnet.
3.
Enter one or multiple VTY
user interface views.
4.
Specify the password
authentication mode.
5.
Set the local password.
6.
Configure the user privilege
level for login users.
7.
Configure common settings
for VTY user interfaces.
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
If "All user interfaces are used, please try later!" is displayed, it means the number of current concurrent
•
login users exceed the maximum. Please try later.
requirements."
Command
system-view
telnet server enable
user-interface vty first-number
[ last-number ]
authentication-mode password
set authentication password
{ cipher | simple } password
user privilege level level
—
Remarks
—
Required.
By default, the Telnet service is
disenabled.
—
Required.
By default, authentication mode for VTY
user interfaces is password.
Required.
By default, no local password is set.
Required.
0 by default.
Optional.
See
"Configuring common settings for
VTY user interfaces
Figure
12.
40
(optional)."