Planet Technology SGSW-2840P Switch User Manual


 
User’s Manual of SGSD-1022 / SGSD-1022P
SGSW-2840 / SGSW-2840P
439
Command Mode
Global Configuration
Command Usage
This command runs accounting for Exec service requests for the local console and Telnet connections.
Note that the default and method-name fields are only used to describe the accounting method(s) configured on the
specified RADIUS or TACACS+ servers, and do not actually send any information to the servers about the methods to
use.
Example
Console(config)# aaa accounting exec default start-stop group tacacs+
Console(config)#
aaa accounting commands
This command enables the accounting of Exec mode commands. Use the no form to disable the accounting service.
Syntax
aaa accounting commands level {default | method-name} start-stop group {tacacs+ | server-group} no aaa accounting
commands level {default | method-name} level -The privilege level for executed commands.
(Range: 0-15) default - Specifies the default accounting method for service requests.
method-name -Specifies an accounting method for service requests. (Range: 1-255 characters)
start-stop - Records accounting from starting point and stopping point.
group -Specifies the server group to use. -tacacs+ -Specifies all TACACS+ hosts configure with the tacacs-server host
command described on page 4-93.
-server-group -Specifies the name of a server group configured with the aaa group server command described on 4-97.
(Range: 1-255 characters)
Default Setting
Accounting is not enabled
No servers are specified
Command Mode
Global Configuration
Command Usage
The accounting of Exec mode commands is only supported by TACACS+ servers.
Note that the default and method-name fields are only used to describe the accounting method(s) configured on the
specified TACACS+ server, and do not actually send any information to the server about the methods to use.