Chapter 8
| Authentication Commands
AAA
– 222 –
Example
Console(config)#interface ethernet 1/2
Console(config-if)#accounting dot1x tps
Console(config-if)#
accounting
commands
This command applies an accounting method to entered CLI commands. Use the
no
form to disable accounting for entered CLI commands.
Syntax
accounting commands
level
{
default
| list-name}
no accounting commands
level
level - The privilege level for executing commands. (Range: 0-15)
default
- Specifies the default method list created with the aaa accounting
commands command.
list-name - Specifies a method list created with the aaa accounting
commands command.
Default Setting
None
Command Mode
Line Configuration
Example
Console(config)#line console
Console(config-line)#accounting commands 15 default
Console(config-line)#
accounting exec
This command applies an accounting method to local console, Telnet or SSH
connections. Use the
no
form to disable accounting on the line.
Syntax
accounting exec
{
default
| list-name}
no accounting exec
default
- Specifies the default method list created with the aaa accounting
exec command.
list-name - Specifies a method list created with the aaa accounting exec
command.
Default Setting
None