
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.4.3 Configuring a RADIUS Server Template
In a RADIUS server template, you must specify the IP address, port number, and shared key of
a specified RADIUS server. Other settings such as the RADIUS user name format, traffic unit,
and number of times RADIUS request packets are retransmitted have default values and can be
changed according to network requirements.
Context
The settings of a RADIUS server template such as the RADIUS user name format and shared
key on the RADIUS client must be the same as those on the RADIUS server.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
radius-server authorization
ip-address
{
server-group
group-name
|
shared-key
{
cipher
|
simple
}
key-string
}
*
[
ack-reserved-interval
interval
]
A RADIUS authorization server is configured.
By default, no RADIUS authorization server is configured.
Step 3
Run:
radius-server template
template-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.
14