![D-Link DGS-1210/ME series Reference Manual Download Page 476](http://html.mh-extra.com/html/d-link/dgs-1210-me-series/dgs-1210-me-series_reference-manual_77989476.webp)
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide
456
Example usage:
To create a user-defined accounting method list called "shell_acct":
DGS-1210-28MP/ME:5# create accounting method_list_name shell_acct
Command: create accounting method_list_name shell_acct
Success.
DGS-1210-28MP/ME:5#
delete accounting method_list_name
Purpose
To delete a user-defined list of accounting methods for accounting
serviceson the Switch.
Syntax
delete accounting method_list_name <string 15>
Description
The
delete accounting
service command
command is used to
delete a user-defined list of accounting methods for accounting
services on the Switch.
Parameters
<string 15> -
Specifies the built-in or user-defined method list.
Restrictions
Only administrator-level users, Operator and Power-User level users
can issue this command.
Example usage:
To delete a user-defined accounting method list called "shell_acct":
DGS-1210-28MP/ME:5# delete accounting method_list_name shell_acct
Command: delete accounting method_list_name shell_acct
Success.
DGS-1210-28MP/ME:5#
show accounting method_list_name
Purpose
To display the user-defined list of accounting methods for
accounting serviceson the Switch.
Syntax
show accounting [all | default | method_list_name <string 15>]
Description
The
show accounting
command is used to display the user-defined
list of accounting methods for accounting services on the Switch.
Parameters
all -
Specifies all user-defined method list.
default -
Specifies the default user-defined method list.
<string 15> -
Specifies the built-in or user-defined method list.
Restrictions
None.
Example usage:
To display all user-defined accounting method list:
DGS-1210-28MP/ME:5# show accounting all