SUMMARY STEPS
1.
enable
2.
configure terminal
3.
aaa new-model
4.
aaa authentication login {default | list-name} method1 [method2...]
5.
line [console | tty | vty] line-number [ending-line-number]
6.
login authentication {default | list-name}
7.
end
8.
show running-config
9.
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
Creates a login authentication method list.aaa authentication login {default |
list-name} method1 [method2...]
Step 4
•
To create a default list that is used when a named list is not specified in
the login authentication command, use the default keyword followed
Example:
Switch(config)# aaa authentication
by the methods that are to be used in default situations. The default
method list is automatically applied to all ports.
login default tacacs+ local
•
For list-name, specify a character string to name the list you are creating.
•
For method1..., specify the actual method the authentication algorithm
tries. The additional methods of authentication are used only if the
previous method returns an error, not if it fails.
Select one of these methods:
Catalyst 2960-X Switch Security Configuration Guide, Cisco IOS Release 15.0(2)EX
48 OL-29048-01
Configuring TACACS+
Configuring TACACS+ Login Authentication