2-7 
[Sysname-ui-aux0] idle-timeout 6 
After the above configuration, to ensure a successful login, the console user needs to change the 
corresponding configuration of the terminal emulation program running on the PC, to make the 
configuration consistent with that on the switch. Refer to 
Setting Up the Connection to the Console 
Port
 for details. 
Console Port Login Configuration with Authentication Mode Being 
Password 
Configuration Procedure 
Follow these steps to perform Console port login configuration (with 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 through the 
Console port are not authenticated, 
while users logging in through the Telnet 
need to pass the password 
authentication.  
Set the local password 
set authentication 
password { cipher | 
simple } password 
Required 
By default,no password is configured. 
 
Configuration Example 
Network requirements 
Assume the switch is configured to allow you to login through Telnet, and your user level is set to the 
administrator level (level 3). After you telnet to the switch, you need to limit the Console user at the 
following aspects.   
z  The user is authenticated against the local password when logging in through the Console port. 
z  The local password is set to 123456 (in plain text). 
z  The commands of level 2 are available to users logging in to the AUX user interface. 
z  The baud rate of the Console port is 19,200 bps. 
z  The screen can contain up to 30 lines. 
z  The history command buffer can store up to 20 commands. 
z  The timeout time of the AUX user interface is 6 minutes.