Command Reference AAA Commands
default
When this parameter is used, the following defined method list is used as the
default method of command authorization.
list-name
Applies a defined command authorization method list.
Defaults
AAA command authorization is disabled by default.
Command
Mode
Line configuration mode
Usage Guide
Once the default command authorization method list has been configured, it will be applied to all
terminals automatically. If a non-default command authorization method list is applied to a terminal, it
will replace the default one. If you attempt to apply an undefined method list, you will be notified that
the command authorization on this line is ineffective until the method list is defined.
Configuration
Examples
The following example defines a command authorization method list named cmd to authorize level 15
commands, and uses TACACS+ as the security server. The none method will be used if the server
does not respond. The configured method list is applied to the VTY 0 – 4 line.
Ruijie(config)# aaa authorization commands 15 cmd group tacacs+ none
Ruijie(config)# line vty 0 4
Ruijie(config-line)# authorization commands 15 cmd
Command Description
aaa new-model
Enables the AAA security service.
Related
Commands
authorization commands
Applies the AAA command authorization method list.
Platform
Description
N/A
authorization exec
Use this command to apply an EXEC authorization method list to the specified terminal line.
Use the no form of this command to remove the application of the EXEC authentication method list.
authorization exec { default | list-name }
no authorization exec
Parameter Description
default
Applies the default EXEC authorization method.
Parameter
Description
list-name
Applies a defined EXEC authorization method list.
Defaults
No default AAA EXEC authentication method list is configured.
Command
Mode
Line configuration mode.