HP MSR2000/3000/4000 Router Series Fundamentals Configuration Guide

45
Figure 15 Accessing the CLI through the AUX port without authentication
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.
To enter console/AUX line view:
line { aux | console } first-number
[ last-number ]
To enter console/AUX line class
view:
line class { aux | console }
Use either command.
Settings configured in a user line
class view are applied as
user-defined default settings to all
user lines of the line class. Settings
configured in a user line view are
applied to only the user line and take
precedence over the user-defined
default settings. If a parameter is not
configured in user line view or user
line class view, the factory default
setting is used.
Settings in a user line view take effect
immediately and affect the online
user. Settings in the line class view do
not affect online users and take effect
only for users who log in after the
configuration is completed.
3. Enable password
authentication.
authentication-mode password
On a device with both AUX and
console lines, authentication is
disabled for the console line and
password authentication is enabled
for the AUX line by default.
On a device that has one AUX line
and does not have a console line,
authentication is disabled for the
AUX line by default.
4. Set a 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.