Authorization allows the administrator to control which services a user is allowed to access. This configuration uses the local user database for authorization, such that a user can enter privileged EXEC mode directly.
Command |
Explanation |
Console# configure terminal |
Enter config mode |
Console(config)# aaa authorization exec default local |
Configure an user to enter privileged EXEC mode using local method. |
You can verify the authorization methods using the below command
Console# show authorization methods
Exec Authorization List Methods
---------------------------- ------------------------------
dfltExecAuthList local
Command Authorization List Methods
---------------------------- ------------------------------
dfltCmdAuthList none
Line Exec Method Lists Command Method Lists
--------- --------------------- ---------------------
Console dfltExecAuthList dfltCmdAuthList
Telnet dfltExecAuthList dfltCmdAuthList
SSH dfltExecAuthList dfltCmdAuthList
Network Authorization Methods
---------------------- -------
Dot1x none