R0106-HP MSR Router Series Fundamentals Configuration Guide(V7)
53
Ste
p
Command
Remarks
4. Enable password
authentication.
authentication-mode password
By default, password authentication is
enabled for VTY lines.
In VTY line view, this command is
associated with the protocol inbound
command. If you specify a non-default
value for only one of the two commands
in VTY line view, the other command
uses the default setting, regardless of
the setting in VTY line class view.
5. Set the local
authentication
password.
set authentication password { hash |
simple } password
By default, no password is set.
6. (Optional.) Assign a
user role.
user-role role-name
By default, a VTY line user is assigned
the user role network-operator.
The next time you Telnet to the device, you must provide the configured login password, as shown
in Figure 21. If the maxi
mum number of login users has been reached, your login attempt fails and the
message "All user lines are used, please try later!" appears.
Figure 21 Password authentication interface for Telnet login
Configuring scheme authentication for Telnet login
Ste
p
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.