139
mdc-admin
Parameters
minutes
: Specifies the real-time accounting interval in minutes, in the range of 0 to 60. Setting this
interval to 0 disables the device from sending online user accounting information to the HWTACACS
accounting server.
Usage guidelines
For real-time accounting, a NAS must transmit the accounting information of online users to the
HWTACACS accounting server periodically. This command is used to set the interval.
A short interval helps improve accounting precision but requires many system resources.
Table 13 Recommended real-time accounting intervals
Number of users
Real-time accounting interval
1 to 99
3 minutes
100 to 499
6 minutes
500 to 999
12 minutes
1000 or more
15 minutes or longer
Examples
# In HWTACACS scheme
hwt1
, set the real-time accounting interval to 51 minutes.
<Sysname> system-view
[Sysname] hwtacacs scheme hwt1
[Sysname-hwtacacs-hwt1] timer realtime-accounting 51
Related commands
display hwtacacs scheme
timer response-timeout (HWTACACS scheme view)
Use
timer
response-timeout
to set the HWTACACS server response timeout timer.
Use
undo timer response-timeout
to restore the default.
Syntax
timer response-timeout seconds
undo timer response-timeout
Default
The HWTACACS server response timeout time is 5 seconds.
Views
HWTACACS scheme view
Predefined user roles
network-admin
mdc-admin
Parameters
seconds
: Specifies the HWTACACS server response timeout time, in the range of 1 to 300 seconds.