R0106-HP MSR Router Series Fundamentals Configuration Guide(V7)

45
Configuring password authentication for console/AUX login
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter console/AUX line
view or class view.
Enter console/AUX line view:
line { aux | console } first-number
[ last-number ]
Enter console/AUX line class
view:
line class { aux | console }
A setting in user line view is applied
only to the user line. A setting in user
line class view is applied to all user
lines of the class.
A non-default setting in either view
takes precedence over a default
setting in the other view. A
non-default setting in user line view
takes precedence over a non-default
setting in user line class view.
A setting in user line view takes effect
immediately and affects the online
user. A setting in user line class view
takes effect only for users who log in
after the configuration is completed.
It does not affect online users.
3. Enable password
authentication.
authentication-mode password
By default, authentication is disabled
for the console line and password
authentication is enabled for the AUX
line.
By default, authentication is disabled
for the AUX line.
4. Set the local
authentication password.
set authentication password { hash |
simple } password
By default, no password is set.
5. Assign a user role.
user-role role-name
By default, a console line user is
assigned the user role
network-admin, and an AUX line
user is assigned the user role
network-operator.
The next time you log in through the console/AUX port, you must provide the configured login password,
as shown in Figure 16 and Figure 17.