68
<Sysname> system-view
[Sysname] radius scheme radius1
[Sysname-radius-radius1] accounting-on enable interval 5 send 15
Related commands
display radius scheme
accounting-on extended
Use
accounting-on extended
to enable the extended accounting-on feature.
Use
undo accounting-on extended
to disable the extended accounting-on feature.
Syntax
accounting-on extended
undo accounting-on extended
Default
The extended accounting-on feature is disabled.
Views
RADIUS scheme view
Predefined user roles
network-admin
network-operator
mdc-admin
mdc-operator
Usage guidelines
The extended accounting-on feature enhances the accounting-on feature by applying to a distributed
architecture. For the extended accounting-on feature to take effect, the RADIUS server must run on
IMC and the accounting-on feature must be enabled.
The extended accounting-on feature is applicable to LAN users. The user data is saved to the cards
through which the users access the device.
When the extended accounting-on feature is enabled, the device automatically sends an
accounting-on packet to the RADIUS server after a card reboot (device not reboot). The packet
contains the card identifier. Upon receiving the accounting-on packet, the RADIUS server logs out all
online users that access the device through the card.
The device uses the packet retransmission interval and maximum transmission attempts set by
using the
accounting-on enable
command for this feature.
Execute the
save
command to ensure that the
accounting-on
extended
command takes effect at
the next card reboot. For information about the
save
command, see
Fundamentals Command
Reference
.
Examples
# Enable the extended accounting-on feature for RADIUS scheme
radius1
.
<Sysname> system-view
[Sysname] radius scheme radius1
[Sysname-radius-radius1] accounting-on extended
Related commands
accounting-on enable