CLI Reference Guide-R07

Table Of Contents
Chapter 8
| Authentication Commands
AAA
– 234 –
Command Mode
Line Configuration
Example
Console(config)#line console
Console(config-line)#accounting exec tps
Console(config-line)#exit
Console(config)#line vty
Console(config-line)#accounting exec default
Console(config-line)#
authorization
commands
This command applies an authorization method to entered CLI commands. Use the
no form to disable authorization for entered CLI commands.
Syntax
authorization commands level {default | list-name}
no authorization commands level
level - The privilege level for executing commands. (Range: 0-15)
default - Specifies the default method list created with the aaa
authorization commands command.
list-name - Specifies a method list created with the aaa authorization
commands command.
Default Setting
None
Command Mode
Line Configuration
Command Usage
If for example the command “authorization commands 0” is executed, the switch
will block all commands issued by a privileged level 0 user. Approved commands
for the user level must be configured on the AAA server.
Example
Console(config)#line console
Console(config-line)#authorization commands 15 default
Console(config-line)#