Owners manual

DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
100
Command Default Level
Level: 15.
Usage Guideline
For accounting via the method list to take effect, enable AAA first by using the aaa new-model command.
Create the method list first by using the aaa accounting commands command. If the method list does
not exist, the command does not take effect. The user can specify different method lists to account
commands at different levels. A level can only have one method list specified.
Example
This example shows how to enable the command accounting level 15 configure command issued via the
console using the accounting method list named cmd-15on the console.
Switch# configure terminal
Switch(config)# aaa accounting commands 15 cmd-15 start-stop group tacacs+
Switch(config)# line console
Switch(config-line)# accounting commands 15 cmd-15
Switch(config-line)#
8-15 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 option.
accounting exec {default | METHOD-LIST}
no accounting exec
Parameters
default
Specifies to use the default method list.
METHOD-LIST
Specifies the name of the method list to use.
Default
By default, this option is disabled.
Command Mode
Line Configuration Mode.
Command Default Level
Level: 15.
Usage Guideline
For accounting via the method list to take effect, enable AAA first by using the aaa new-model command.
Create the method list first by using the aaa accounting exec command. If the method list does not exist,
the command does not take effect.
Example
This example shows how to configure the EXEC accounting method list with the name of “list-1”. It uses
the RADIUS server. If the security server does not response, it does not perform accounting. After the
configuration, the EXEC accounting is applied to the console.