Defaults: Accounting is disabled for all users by default.

Access: Enabled.

Usage: For network users with start-stop accounting whose records are sent to a RADIUS server, MSS sends interim updates to the RADIUS server when the user roams.

Examples: The following command issues stop-only records to the RADIUS server group sg2 for network user Nin, who is authenticated by 802.1X:

DWS-1008# set accounting dot1x Nin stop-only sg2 success: change accepted.

See Also:

clear accounting

show accounting statistics

set accounting system

Configures MSS to send Accounting-On and Accounting-Off messages to a specified RADIUS server group.

Syntax: set accounting system method1 [method2] [method3] [method4]

method1-4At least one of up to four methods that MSS uses to process accounting records. Specify one or more methods in priority order. If the first method does not succeed, MSS tries the second method, and so on.

Note: The local method is not valid for this command.

Defaults: By default MSS does not send Accounting-On or Accounting-Off messages.

Access: Enabled.

Usage: Use this command to configure MSS to send an Accounting-On message (Acct-Status- Type = 7) to a 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.

When you enable 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.

Examples: 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.

D-Link DWS-1008 CLI Manual

185

Page 188
Image 188
D-Link dws-1008 manual Set accounting system, Syntax set accounting system method1 method2 method3 method4