xStack
®
DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide
88
Example
To create a user-defined accounting method list called “shell_acct”:
DGS-3120-24TC:admin#create accounting method_list_name shell_acct
Command: create accounting method_list_name shell_acct
Success.
DGS-3120-24TC:admin#
5-36
config accounting
Description
This command is used to a user-defined or default method list of accounting methods.
Format
config accounting [default | method_list_name <string 15>] method { | radius |
server_group <string 15> | none}
Parameters
default
- Specify the default method list of accounting methods.
method_list_name
- Specify the user-defined method list of accounting methods.
<
string 15>
- Enter the name of the method list.
method
- Specify the protocol.
- Specify the built-in server group.
radius
– Specify the built-in RADIUS server group.
server_group
- Specify 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
- Specify no accounting.
Restrictions
Only Administrator-level users can issue this command.
Example
To configure a user-defined method list called “shell_acct”, that specifies a sequence of the built-in
server group, followed by the RADIUS server group for accounting service on the
Switch:
DGS-3120-24TC:admin#config accounting method_list_name shell_acct method
radius
Command: config accounting method_list_name shell_acct method radius
Success.
DGS-3120-24TC:admin#
Summary of Contents for xStack DGS-3120 Series
Page 1: ......
Page 186: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 181...
Page 204: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 199...
Page 363: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 358...
Page 1056: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 1051...