[Sysname] radius scheme radius1
[Sysname-radius-radius1] timer quiet 10
timer realtime-accounting (RADIUS scheme view)
Syntax
timer realtime-accounting minutes
undo timer realtime-accounting
View
RADIUS scheme view
Default level
2: System level
Parameters
minutes: Real-time accounting interval in minutes, zero or a multiple of 3 in the range of 3 to 60.
Description
Use the timer realtime-accounting command to set the real-time accounting interval.
Use the undo timer realtime-accounting command to restore the default.
By default, the real-time accounting interval is 12 minutes.
For real-time accounting, a NAS must transmit the accounting information of online users to the RADIUS
accounting server periodically. This command sets the interval.
When the real-time accounting interval on the switch is zero, the switch sends online user accounting
information to the RADIUS accounting server at the real-time accounting interval configured on the server
(if any) or does not send online user accounting information.
Different real-time accounting intervals impose different performance requirements on the NAS and the
RADIUS server. A shorter interval helps achieve higher accounting precision but requires higher
performance. Use a longer interval when there are a large number of users (1000 or more).
Table 6 Recommended real-time accounting intervals
Number of users
1 to 99
100 to 499
500 to 999
1000 or more
Related commands: retry realtime-accounting.
Examples
# Set the real-time accounting interval to 51 minutes for RADIUS scheme radius1.
<Sysname> system-view
[Sysname] radius scheme radius1
[Sysname-radius-radius1] timer realtime-accounting 51
Real-time accounting interval (minute)
3
6
12
15 or longer
72