How to Configure Local Authentication and Authorization
Follow these steps to configure AAA to operate without a server by setting the switch to implement AAA in
local mode:
SUMMARY STEPS
1. enable
2. configure terminal
3. aaa new-model
4. aaa authentication login default local
5. aaa authorization exec local
6. aaa authorization network local
7. username name [privilege level] {password encryption-type password}
8. end
9. show running-config
10. copy running-config startup-config
DETAILED STEPS
Command or Action
Step 1
enable
Example:
Switch> enable
Step 2
configure terminal
Example:
Switch# configure terminal
Step 3
aaa new-model
Example:
Switch(config)# aaa new-model
Step 4
aaa authentication login default local
Example:
Switch(config)# aaa authentication login
default local
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
1036
Purpose
Enables privileged EXEC mode. Enter your password if prompted.
Enters the global configuration mode.
Enables AAA.
Sets the login authentication to use the local username database.
The default keyword applies the local user database authentication
to all ports.