Owners manual

DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
89
8-2 aaa accounting exec
This command is used to configure the method list used for exec accounting for a specific line. Use the
no form of the command to disable the accounting exec.
aaa accounting exec {default | LIST-NAME} start-stop METHOD1 [METHOD2...]
no aaa accounting exec {default | LIST-NAME}
Parameters
default
Specifies to configure the default method list for EXEC accounting.
LIST-NAME
Specifies the name of the method list. This name can be up to 32
characters long.
METHOD1 [METHOD2...]
Specifies the list of methods that the accounting algorithm tries in the
given sequence. Enter at least one method or enter up to four
methods. The following are keywords that can be used to specify a
method.
group radiusSpecifies to use the servers defined by the RADIUS
server host command.
group tacacs+ - Specifies to use the servers defined by the
TACACS+ server host command.
group GROUP-NAMESpecifies to use the server groups defined by
the AAA group server command.
noneSpecifies not to perform accounting.
Default
No AAA accounting method is configured.
Command Mode
Global Configuration Mode.
Command Default Level
Level: 15.
Usage Guideline
Use this command to configure the method list for EXEC accounting.
Example
This example shows how to create a method list for accounting of user activities using RADIUS, which will
send accounting messages at the start and end time of access.
Switch#configure terminal
Switch(config)#aaa accounting exec list-1 start-stop group radius
Switch(config)#
8-3 aaa accounting network
This command is used to account user activity in accessing the network. Use the no command to remove
the accounting method list.
aaa accounting network default start-stop METHOD1 [METHOD2...]