Authen
tication
Mode
Advantage Disadvantage
Passwor
d
authenti
cation
Password authentication is based on VTY
channels, providing security. The
configuration is simple and only the login
password is needed.
It provides lower security
compared with AAA.
All users can log in to a device
using the login password for the
device.
Non-
authenti
cation
The configuration is simple. It is insecure.
Password authentication is the default authentication mode of VTY user interfaces.
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 authentication.
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
A username and password for the local user are created.
7. Run:
local-user user-name service-type telnet
The local user is connected through Telnet.
l Configuring password authentication
1. Run:
system-view
Huawei AR1200 Series Enterprise Routers
Configuration Guide - Basic Configuration 4 Configuring User Interfaces
Issue 04 (2012-05-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
56