DGS-3000 Series Layer 2 Managed Gigabit Switch CLI Reference Guide
77
Format
config accounting [default | method_list_name <string 15>] method {tacacs+ | radius |
server_group <string 15> | none}
Parameters
default - Specifies the default method list of accounting methods.
method_list_name - Specifies the user-defined method list of accounting methods.
<string 15> - Enter the name of the method list.
method - Specifies the protocol.
tacacs+ - Specifies the built-in TACACS+ server group.
radius – Specifies the built-in RADIUS server group.
server_group - Specifies the user-defined server group. If the group contains TACACS and
XTACACS server, it will be skipped in accounting.
<string 15> - Enter the name of server group.
none - Specifies no accounting.
Restrictions
Only Administrators can issue this command.
Example
To configure a user-defined method list called “shell_acct”, that specifies a sequence of the built-in
TACACS+ server group, followed by the RADIUS server group for accounting service on the
Switch:
DGS-3000-26TC:admin#config accounting method_list_name shell_acct method
tacacs+ radius
Command: config accounting method_list_name shell_acct method tacacs+ radius
Success.
5-31 delete accounting method_list_name
Description
This command is used to delete a user-defined method list of accounting methods.
Format
delete accounting method_list_name <string 15>
Parameters
<string 15> - Specifies the built-in or user-defined method list.