Command Reference Guide

12accounting-on 3Com Router 5000 Family and Router 6000 Family
Command Reference
accounting-on
Purpose Use the accounting-on enable command to enable the user re-authentication
at reboot function.
Use the undo accounting-on enable command to disable the user
re-authentication at reboot function.
Use the undo accounting-on send command to restore the default maximum
times for sending Accounting-On packets.
Use the undo accounting-on interval command to restore the default
interval for sending Accounting-On packets.
Syntax accounting-on enable [ send times ] [ interval interval ]
undo accounting-on { enable | send | interval }
Parameters times
Maximum times for sending Accounting-On packets.
Valid values are 1 to 256.
If no value is specified, the default is 15.
interval
Interval for sending Accounting-On packets. Valid
values are 1 to 30 seconds.
If no value is specified, the default is 3 seconds.
Default By default, the user re-authentication at reboot function is not enabled.
Example Enable the user re-authentication at reboot function for a RADIUS scheme named
CAMS.
<3Com> system-view
[3Com] radius scheme CAMS
[3Com-radius-CAMS] accounting-on enable
View This command can be used in the following views:
RADIUS view
Description The user re-authentication at reboot function can resolve the problem that exclusive
users originally online cannot log into the router again after the router reboots. With
this function enabled, the following occur whenever the router reboots:
The router generates an Accounting-On packet, which includes information such
as the NAS-ID, NAS-IP (source IP), and session ID of the user.
The router sends the Accounting-On packet to the CAMS server at a specified
interval.