CLI Reference Guide-R04

Table Of Contents
Chapter 8
| User Authentication Commands
AAA
– 256 –
authorization
commands
This command enables authorization for all commands at the specified privileged
level. Use the no form to disable authorization commands on the line.
Syntax
authorization commands level {default | method-name}
no authorization commands level
level - The command access privileges. (Range: 0-15)
default - Specifies the default method list created with the aaa
authorization exec command.
method-name - Specifies an accounting method for service requests.
(Range: 1-64 characters)
Default Setting
None
Command Mode
Line Configuration
Example
Console(config)#line console
Console(config-line-console)#authorization commands 15 default
Console(config-line-console)#exit
Console(config)#line vty
Console(config-line-vty)#authorization commands 7 default
Console(config-line-vty)#
show accounting This command displays the current accounting settings per function and per port.
Syntax
show accounting [commands [level]] |
[[dot1x [statistics [username user-name | interface interface]]]] |
[exec [statistics]] | [statistics]
commands - Displays command accounting information.
level - Displays command accounting information for a specifiable
command level.
dot1x - Displays dot1x accounting information.
exec - Displays Exec accounting records.
statistics - Displays accounting records.
user-name - Displays accounting records for a specifiable username.