67
Parameters
device-id
: Specifies a device ID in the range of 1 to 255.
Usage guidelines
RADIUS uses the value of the Acct-Session-ID attribute as the accounting ID for a user. The device
generates an Acct-Session-ID value for each online user based on the system time, random digits,
and device ID.
If you modify the device ID, the new device ID does not take effect on users that have been online
during the change.
Examples
# Configure the device ID as 1.
<Sysname> system-view
[Sysname] aaa device-id 1
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
interval
|
send
send-times
] *
undo accounting-on enable
Default
The accounting-on feature is disabled.
Views
RADIUS scheme view
Predefined user roles
network-admin
mdc-admin
Parameters
interval
interval
: Specifies the time interval for retransmitting an accounting-on packet in seconds.
The value range for the
interval
argument is 1 to 15, and the default setting is 3.
send
send-times
: Specifies the maximum number of accounting-on packet transmission attempts.
The value range for the
send-times
argument is 1 to 255, and the default setting is 50.
Usage guidelines
The accounting-on feature enables the device to automatically send an accounting-on packet to the
RADIUS server after a device reboot. Upon receiving the accounting-on packet, the RADIUS server
logs out all online users so they can log in again through the device.
Execute the
save
command to ensure that the
accounting-on
enable
command takes effect at the
next device reboot. For information about the
save
command, see
Fundamentals Command
Reference
.
Parameters set by using the
accounting-on enable
command take effect immediately.
Examples
# Enable the accounting-on feature for RADIUS scheme
radius1
, and set the retransmission interval
to 5 seconds and the transmission attempts to 15.
Содержание FlexNetwork 7500 Series
Страница 350: ...335 Related commands display port security port security enable ...
Страница 379: ...364 Sysname system view Sysname keychain abc mode absolute Sysname keychain abc tcp kind 252 ...
Страница 519: ...504 Related commands display ssh2 algorithm ssh2 algorithm cipher ssh2 algorithm key exchange ssh2 algorithm mac ...