NOTE
If the command level configured in the VTY user interface view is inconsistent with the user priority, the
user priority takes effect.
----End
4.3.6 Setting User Authentication Mode of the VTY User Interface
The system provides three authentication modes: AAA, password authentication, and non-
authentication. Configuring the user authentication mode can improve the security of the
router.
Context
By default, the user authentication mode of the VTY user interface is password authentication.
Procedure
l Configuring AAA Authentication
1. Run:
system-view
The system view is displayed.
2. Run:
user-interface vty first-ui-number [ last-ui-number ]
The VTY user interface view is displayed.
3. Run:
authentication-mode aaa
The authentication mode is set to AAA.
4. Run:
quit
Exit from the VTY user interface view.
5. Run:
aaa
The AAA view is displayed.
6. Run:
local-user user-name password { simple | cipher } password
Name and password of the local user are created.
l Configuring Password Authentication
1. Run:
system-view
The system view is displayed.
2. Run:
user-interface vty first-ui-number [ last-ui-number ]
The VTY user interface view is displayed.
3. Run:
Huawei AR2200 Series Enterprise Routers
Configuration Guide - Basic Configuration 4 Configuring User Interface
Issue 02 (2011-10-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
43