2-8
Console Port Login Configuration with Authentication Mode Being
Password
Configuration Procedure
Follow these steps to configure console port login with the authentication mode being password:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter AUX user interface
view
user-interface aux
0
—
Configure to authenticate
users using the local
password
authentication-mode
password
Required
By default, users logging in to a switch
through the console port are not
authenticated; while those logging in
through Modems or Telnet are
authenticated.
Set the local password
set authentication
password
{
cipher
|
simple
}
password
Required
Set the baud
rate
speed
speed-value
Optional
The default baud rate of an AUX port
(also the console port) is 19,200 bps.
Set the check
mode
parity
{
even
|
none
|
odd
}
Optional
By default, the check mode of a console
port is set to
none
, that is, no check bit.
Set the stop
bits
stopbits
{
1
|
1.5
|
2
}
Optional
The default stop bits of a console port is
1.
Configure
the
console
port
Set the data
bits
databits
{
7
|
8
}
Optional
The default data bits of a console port is
8.
Configure the command
level available to users
logging in to the user
interface
user privilege level level
Optional
By default, commands of level 3 are
available to users logging in to the AUX
user interface.
Make terminal services
available to the user
interface
shell
Optional
By default, terminal services are
available in all user interfaces.
Set the maximum number
of lines the screen can
contain
screen-length
screen-length
Optional
By default, the screen can contain up to
24 lines.
You can use the
screen-length
0
command to disable the function to
display information in pages.
Set history command buffer
size
history-command
max-size
value
Optional
The default history command buffer size
is 10. That is, a history command buffer
can store up to 10 commands by default.