D-Link DWS-1008 User Manual
8
Configuring Periodic Accounting Update Records
If you have configured MSS to use start-stop mode, by default accounting update records are generated
when a user roams from one AP to another. Optionally, MSS can generate update records at specified
periodic intervals. This can be done in one of the following ways:
• By specifying a value for the
acct-interim-interval attribute on the RADIUS server. If the
RADIUS server’s access-accept response contains this attribute, then MSS generates
update records for the user’s session at the specified interval.
• By specifying a value for the
acct-interim-interval attribute for the user on the switch.
If both the RADIUS server and the switch supply a value for the user’s
acct-interim-interval attribute,
then the value from the switch takes precedence. If there is no
acct-interim-interval attribute value set,
or it is set to zero on the switch, then accounting update records are generated only when a user roams
from one AP to another.
Enabling System Accounting Messages
You can configure MSS to send an Accounting-On message (Acct-Status-Type = 7) to the RADIUS
server when the switch starts, and an Accounting-Off message (Acct-Status-Type = 8) to the RADIUS
server when the switch is adminstratively shut down. To do this, use the following command:
set accounting system
method1
[
method2
] [
method3
] [
method4
]
For example, the following command causes Accounting-On and Accounting-Off messages to be sent
to RADIUS server group shorebirds:
DWS-1008#
set accounting system shorebirds
success: change accepted.
Note that
local is not a valid method for this command.
When you enter this command, an Accounting-On message is generated and sent to the specified
server or server group. Subsequent Accounting-On messages are generated each time the switch
starts. When the switch is administratively shut down, an Accounting-Off message is generated.
Accounting-Off messages are sent only when the switch is administratively shut down, not when a
critical failure causes the switch to reset. The switch does not wait for a RADIUS server to acknowledge
the Accounting-Off message; the switch makes one attempt to send the Accounting-Off message, then
shuts down.
Accounting-On and Accounting-Off messages are disabled by default. If, after enabling these messages,
you want to disable them, use the following command:
clear accounting system
For example:
DWS-1008#
clear accounting system
success: change accepted.
When you enter this command, an Accounting-Off message is generated and sent to the server or server
group specified with the set accounting system command. No further Accounting-On or Accounting-Off
messages are generated.
Summary of Contents for DWS-1008
Page 1: ......