4
Command Line Interface
Command Mode
Global Configuration
Command Usage
• This command performs authorization to determine if a user is allowed to run
an Exec shell.
• AAA authentication must be enabled before authorization is enabled.
• If this command is issued without a specified named method, the default
method list is applied to all interfaces or lines (where this authorization type
applies), except those that have a named method explicitly defined.
Example
Console(config)#aaa authorization exec default group tacacs+
Console(config)#
authorization exec
This command applies an authorization method to local console or Telnet
connections. Use the no form to disable authorization on the line.
Syntax
authorization exec {default | list-name}
no authorization exec
• default - Specifies the default method list created with the aaa
authorization exec command (page 4-107).
• list-name - Specifies a method list created with the aaa authorization exec
command.
Default Setting
None
Command Mode
Line Configuration
Example
Console(config)#line console
Console(config-line)#authorization exec tps
Console(config-line)#exit
Console(config)#line vty
Console(config-line)#authorization exec default
Console(config-line)#
4-108