14-10
Configuration example
1) Network requirements
Assume the AP supports Telnet, and the user level of telnet users is set to the manage level (level 3).
Telnet to the AP, and configure parameters for console login as follows.
z Configure the password authentication mode for console login.
z Configure the local password as 123456 (in plain text).
z Configure command level 2 for console users.
z Configure the baud rate of the console port as 19200 bps.
z Configure the screen to contain up to 30 lines.
z Configure the history command buffer to contain up to 20 commands.
z Configure the timeout time of the console user interface as 6 minutes.
2) Network diagram
Figure 14-7 Network diagram for console port login configuration (with the authentication mode
password)
3) Configuration procedure
# Enter system view.
<Sysname> system-view
# Enter console user interface view.
[Sysname] user-interface console 0
# Specify the password authentication mode.
[Sysname-ui-console0] authentication-mode password
# Set the local password to 123456 (in plain text).
[Sysname-ui-console0] set authentication password simple 123456
# Specify commands of level 2 are available to the user that logs in to the console user interface.
[Sysname-ui-console0] user privilege level 2
# Set the baud rate of the console port to 19200 bps.
[Sysname-ui-console0] speed 19200
# Set the maximum number of lines the screen can contain to 30.
[Sysname-ui-console0] screen-length 30
# Set the maximum number of commands the history command buffer can store to 20.
[Sysname-ui-console0] history-command max-size 20
# Set the timeout time of the console user interface to 6 minutes.
[Sysname-ui-console0] idle-timeout 6