81
[Sysname-luser-network(guest)-abc] validity-datetime 2014/10/01 00:00:00 to 2015/10/02
12:00:00
Related commands
display local-user
RADIUS commands
aaa device-id
Use
aaa device-id
to configure the device ID.
Use
undo aaa device-id
to restore the default.
Syntax
aaa device-id
device-id
undo aaa device-id
Default
The device ID is 0.
Views
System view
Predefined user roles
network-admin
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. On a VSRP network where multiple devices use the same accounting server,
accounting ID conflicts might occur. To avoid duplicate accounting IDs, use this command to assign a
unique device ID to each device.
If you modify the device ID, the new device ID does not take effect on users who 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