
An accounting scheme is created and the accounting scheme view is displayed.
By default, the
default
accounting scheme is used. The default accounting scheme
can be modified, but it cannot be deleted.
4.
Run:
accounting-mode
hwtacacs
The accounting mode is set.
By default, non-accounting is used.
NOTE
If multiple accounting modes are configured in an accounting scheme, accounting modes are
used according to the sequence in which they were configured. The AR1200-S uses the
accounting mode that was configured later only after the current accounting mode fails.
5.
(Optional) Run:
accounting start-fail
{
online
|
offline
}
The policy for accounting-start failures is configured.
By default, users cannot go online if accounting-start fails.
6.
(Optional) Run:
accounting realtime
interval
Real-time accounting is enabled and the interval for real-time accounting is set.
By default, real-time accounting is disabled.
7.
(Optional) Run:
accounting interim-fail
[
max-times
times
] {
online
|
offline
}
The maximum number of real-time accounting failures is set and a policy used after
a real-time accounting failure is configured.
After real-time accounting is enabled, the maximum number of real-time accounting
failures is 3 and the AR1200-S keeps paid users online after a real-time accounting
failure by default.
----End
1.5.3 Configuring an HWTACACS Server Template
In an HWTACACS server template, you must specify the IP address, port number, and shared
key of a specified HWTACACS server. Other settings such as the HWTACACS user name
format and traffic unit have default values and can be changed according to network
requirements.
Context
The settings of an HWTACACS server template such as the HWTACACS user name format
and shared key on the HWTACACS client must be the same as those on the HWTACACS server.
Procedure
Step 1
Run:
system-view
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.
22