CLI Reference Guide-R04

Table Of Contents
Chapter 8
| User Authentication Commands
AAA
– 254 –
Command Mode
Line Configuration
Example
Console(config)#line console
Console(config-line-console)#account commands 15 default
Console(config-line-console)#
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
Command Mode
Line Configuration
Example
Console(config)#line console
Console(config-line-console)#accounting exec tps
Console(config-line-console)#exit
Console(config)#line vty
Console(config-line-vty)#accounting exec default
Console(config-line-vty)#
accounting
commands
This command applies an accounting method for a requested privileged exec. level
at the local console, Telnet or SSH connections. Use the no form to disable
accounting for a specific privileged exec. level.
Syntax
accounting commands level {0 | 15} | {default | list-name}
no accounting commands level {0 | 15}