
7.
(Optional) Run:
domainname-parse-direction
{
left-to-right
|
right-to-left
}
The direction in which the user name and domain name are parsed is configured.
l
Configuring an authorization scheme
1.
Run:
system-view
The system view is displayed.
2.
Run:
aaa
The AAA view is displayed.
3.
Run:
authorization-scheme
authorization-scheme-name
An authorization scheme is created and the authorization scheme view is displayed.
By default, the default authorization scheme is used. The default authorization scheme
can be modified, but it cannot be deleted.
4.
Run:
authorization-mode
{
hwtacacs
|
local
}
*
[
none
]
The authorization mode is configured.
By default, local authorization is used.
If HWTACACS authorization is configured, you must configure an HWTACACS
server template and apply the template to the corresponding user domain.
NOTE
If multiple authorization modes are configured in an authorization scheme, authorization modes
are used in the sequence in which they were configured. The AR1200-S uses the authorization
mode that was configured later only after the current authorization mode fails. The AR1200-
S stops the authorization if the user fails to pass the authorization.
5.
(Optional) Run:
authorization-cmd
privilege-level
hwtacacs
[
local
]
Command line authorization is enabled for users at a certain level.
By default, command line authorization is disabled for users at levels 0 to 15.
If command line authorization is enabled, you must configure an HWTACACS server
template and apply the template to the corresponding user domain.
l
Configuring an accounting scheme
1.
Run:
system-view
The system view is displayed.
2.
Run:
aaa
The AAA view is displayed.
3.
Run:
accounting-scheme
accounting-scheme-name
Huawei AR1200-S Series Enterprise Routers
Configuration Guide - Security
1 AAA Configuration
Issue 02 (2012-03-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
21