92
Description
Use the
accounting-on enable
command to configure the accounting-on feature. This feature enables the
device to, after rebooting, automatically send an accounting-on message to the RADIUS accounting
server stipulated by the RADIUS scheme to stop accounting for and log out online users.
Use the
undo accounting-on enable
command to disable the accounting-on feature.
By default, the accounting-on feature is disabled.
Parameters set with the
accounting-on enable
command take effect immediately.
NOTE:
After executing the
accounting-on
enable
command, issue the
save
command to make sure that the
command takes effect after the device reboots. For information about the
save
command, see
Fundamentals Command Reference.
Related commands:
radius scheme
.
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
attribute 25 car
Syntax
attribute 25 car
undo attribute 25 car
View
RADIUS scheme view
Default level
2: System level
Parameters
None
Description
Use the
attribute 25 car
command to specify to interpret the RADIUS class attribute (attribute 25) as CAR
parameters.
Use the
undo attribute 25 car
command to restore the default.
By default, RADIUS attribute 25 is not interpreted as CAR parameters.
Related commands:
display radius scheme
and
display
connection
.
Examples
# Specify to interpret RADIUS attribute 25 as CAR parameters.
<Sysname> system-view
[Sysname] radius scheme radius1