39
By default, you can 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
Follow these steps to configure password authentication for Telnet login:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enable Telnet
telnet server enable
Required
By default, the Telnet service is
enabled.
Enter one or multiple VTY user
interface views
user-interface vty
first
-
number
[
last-number
]
—
Specify the password
authentication mode
authentication-mode password
Required
By default, authentication mode
for VTY user interfaces is
password
.
Set the local password
set authentication password
{
cipher
|
simple
}
password
Required
By default, no local password is
set.
Configure the user privilege level
for login users
user privilege level
level
Required
0 by default.
Configure common settings for
VTY user interfaces
—
Optional
See “
settings for VTY user interfaces
When you log in to the device through Telnet again, perform the following steps:
•
You are required to enter the login password. A prompt such as <H3C> 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.