1949
128
RADIUS CONFIGURATION
COMMANDS

accounting-on enable

Syntax accounting-on enable
undo accounting-on enable
View RADIUS scheme view
Parameter None
Description Use the accounting-on enable command to enable the accounting-on
function. After doing so, when the device reboots, a message will be sent to the
RADIUS server to force the users of the device offline.
Use the undo accounting-on enable command to disable the accounting-on
function.
By default, the accounting-on function is disabled.
Note that:
This command is applicable to centralized devices only.
Execution of this command does not affect the results of other accounting-on
related commands such as accounting-on enable send.
If the system has no authentication scheme enabled with the accounting-on
function when you execute the accounting-on enable command, you need
to save the configuration and restart the device so that the command takes
effect. Otherwise, the command takes effect immediately.
Related command: radius scheme.
Example # Enable the accounting-on function for RADIUS authentication scheme rd.
<Sysname> system-view
[Sysname] radius scheme rd
[Sysname-radius-rd] accounting-on enable