R3303-HP HSR6800 Routers Security Command Reference

53
RADIUS configuration commands
accounting-on enable
Use accounting-on enable to configure the accounting-on feature.
Use undo accounting-on enable to disable the accounting-on feature.
Syntax
accounting-on enable [ interval seconds | send send-times ] *
undo accounting-on enable
Default
The accounting-on feature is disabled.
Views
RADIUS scheme view
Default command level
2: System level
Parameters
seconds: Time interval for retransmitting an accounting-on packet in seconds, ranging from 1 to 15. The
default is 3 seconds.
send-times: Maximum number of accounting-on packet transmission attempts, ranging from 1 to 255.
The default is 50.
Usage guidelines
The accounting-on feature enables the device, after rebooting, to automatically send an accounting-on
message to the RADIUS accounting server indicated by the RADIUS scheme to stop accounting for and
log out online users.
Parameters set with the accounting-on enable command take effect immediately.
After executing the accounting-on enable command, issue the save command to make sure that the
command takes effect after the device reboots.
Examples
# Enable the accounting-on feature for RADIUS authentication scheme radius1, and set the
retransmission interval to 5 seconds and the transmission attempts to 15.
<Sysname> system-view
[Sysname] radius scheme radius1
[Sysname-radius-radius1] accounting-on enable interval 5 send 15
Related commands
radius scheme
attribute 25 car
Use attribute 25 car to specify the device to interpret the RADIUS class attribute (attribute 25) as CAR
parameters.