Step
4.
Enable password
authentication.
5.
Set a password.
6.
(Optional.) Assign a
user role.
The next time you attempt to Telnet to the device, you must provide the configured login password, as
shown in
Figure
the message "All user lines are used, please try later!" appears.
Figure 10 Password authentication interface for Telnet login
Configuring scheme authentication for Telnet login
Step
1.
Enter system view.
2.
Enable Telnet server.
Command
authentication-mode password
set authentication password { hash |
simple } password
user-role role-name
10. If the maximum number of login users has been reached, your login attempt fails and
Command
system-view
telnet server enable
Remarks
By default, password authentication is
enabled for VTY lines.
In VTY line view, this command is
associated with the protocol inbound
command:
•
•
By default, no password is set.
By default, a VTY line user of the default
MDC is assigned the user role
network-operator, and a VTY line user
of a non-default MDC is assigned the
user role mdc-operator.
Remarks
N/A
By default, the Telnet server function is
disabled.
29
If the setting of either command is
not the default in VTY line view, the
setting of the other command in VTY
line view takes effect.
If the settings of both commands are
the defaults in VTY line view, the
settings of the commands in VTY line
class view take effect.