2-10
# Specify to authenticate users logging in through the console port using the local password.
[Sysname-ui-aux0] authentication-mode password
# Set the local password to 123456 (in plain text).
[Sysname-ui-aux0] set authentication password simple 123456
# Specify commands of level 2 are available to users logging in to the AUX user interface.
[Sysname-ui-aux0] user privilege level 2
# Set the baud rate of the console port to 19,200 bps.
[Sysname-ui-aux0] speed 19200
# Set the maximum number of lines the screen can contain to 30.
[Sysname-ui-aux0] screen-length 30
# Set the maximum number of commands the history command buffer can store to 20.
[Sysname-ui-aux0] history-command max-size 20
# Set the timeout time of the AUX user interface to 6 minutes.
[Sysname-ui-aux0] idle-timeout 6
After the above configuration, you need to modify the configuration of the terminal emulation utility
running on the PC accordingly in the dialog box shown in
Figure 2-4
to log in to the switch successfully.
Console Port Login Configuration with Authentication Mode Being
Scheme
Configuration Procedure
Follow these steps to configure console port login with the authentication mode being scheme:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter the
default ISP
domain view
domain
d
omain-name
Specify the AAA
scheme to be
applied to the
domain
scheme
{
local
|
none
|
radius-scheme
radius-scheme-name
[
local
]
|
hwtacacs-scheme
hwtacacs-scheme-name
[
local
] }
Configure
the
authenticati
on mode
Quit to system
view
quit
Optional
By default, the local AAA scheme
is applied.
If you specify to apply the local
AAA scheme, you need to
perform the configuration
concerning local user as well.
If you specify to apply an existing
scheme by providing the
radius
-
scheme-name
argument,
you need to perform the following
configuration as well:
Perform AAA&RADIUS
configuration on the switch.
(Refer to the AAA part for more.)
Configure the user name and
password accordingly on the AAA
server. (Refer to the user manual
of AAA server.)
Create a local user (Enter local
user view.)
local-user
user-name
Required
No local user exists by default.