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

44
Disabling 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. Disable
authentication.
authentication-mode none
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. 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 or AUX port, you do not need to provide any username or
password, as shown in Figure 14 and Figure 15.
Figure 14 Accessing the CLI through the console port
without authentication
Figure 15 Accessing the CLI through the AUX port without authentication