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
PurposeCommand or Action
Enables privileged EXEC mode. Enter your password if prompted.enable
Step 1
Example:
Switch> enable
Enters the global configuration mode.configure terminal
Example:
Switch# configure terminal
Step 2
Enables AAA.aaa new-model
Example:
Switch(config)# aaa new-model
Step 3
Sets the login authentication to use the local username database.
The default keyword applies the local user database authentication
to all ports.
aaa authentication login default local
Example:
Switch(config)# aaa authentication login
Step 4
default local
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
1036
How to Configure Local Authentication and Authorization