5 User Management
Quidway NetEngine20/20E
Configuration Guide - Basic Configurations
5-20
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Issue 05 (2010-01-30)
#
user-interface vty 0
user privilege level 2
set authentication password simple huawei
idle-timeout 30 0
#
return
5.5.2 Example for Logging In to the Router Through AAA
Networking Requirements
The COM port of the PC and the console port of the router are connected.
Configure the priority of VTY0 to be 2, perform AAA authentication on the user that logs in
through VTY 0. The login user must enter the username "Huawei" and the password
"Huawei".
After login, if the user does not operate the router within 30 minutes, the connection with the
router is disabled.
Configuration Roadmap
1.
Enter the user interface view to configure the priority of VTY0 to be 2 and the
disconnection time.
2.
Enter the AAA view to configure the username, the password and the user level.
Data Preparation
To complete the configuration, you need the following data.
z
Username and password for authentication
z
Disconnection time
Configuration Procedure
<Quidway>
system-view
[Quidway]
user-interface vty
0
[Quidway-ui-vty0]
user privilege level
2
[Quidway-ui-vty0]
authentication-mode aaa
[Quidway-ui-vty0]
idle-timeout 30
[Quidway-ui-vty0]
quit
[Quidway]
aaa
[Quidway
-
aaa]
local-user huawei password cipher huawei
[Quidway
-
aaa]
local-user huawei level 2
Configuration Files
#
sysname Quidway
#
aaa
local-user huawei password cipher N`C55QK<`=/Q=^Q`MAF4<1!!
local-user huawei level 2
local-user huawei
idle-cut