9-14
Catalyst 2975 Switch Software Configuration Guide
OL-19720-02
Chapter 9 Configuring Switch-Based Authentication
Controlling Switch Access with
Beginning in privileged EXEC mode, follow these steps to identify the IP host or host maintaining
server and optionally set the encryption key:
To remove the specified server name or address, use the
no tacacs-server host
hostname
global configuration command. To remove a server group from the configuration list, use the
no aaa
group server
group-name
global configuration command. To remove the IP address of a
server, use the
no server ip-address
server group subconfiguration command.
Configuring Login Authentication
To configure AAA authentication, you define a named list of authentication methods and then apply that
list to various ports. The method list defines the types of authentication to be performed and the sequence
in which they are performed; it must be applied to a specific port before any of the defined authentication
methods are performed. The only exception is the default method list (which, by coincidence, is named
default
). The default method list is automatically applied to all ports except those that have a named
method list explicitly defined. A defined method list overrides the default method list.
A method list describes the sequence and authentication methods to be queried to authenticate a user.
You can designate one or more security protocols to be used for authentication, thus ensuring a backup
system for authentication in case the initial method fails. The software uses the first method listed to
Command
Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
tacacs-server host
hostname
[
port
integer
] [
timeout
integer
] [
key
string
]
Identify the IP host or hosts maintaining a server. Enter this
command multiple times to create a list of preferred hosts. The software
searches for hosts in the order in which you specify them.
•
For
hostname
, specify the name or IP address of the host.
•
(Optional) For
port
integer
, specify a server port number. The default
is port 49. The range is 1 to 65535.
•
(Optional) For
timeout
integer
, specify a time in seconds the switch
waits for a response from the daemon before it times out and declares
an error. The default is 5 seconds. The range is 1 to 1000 seconds.
•
(Optional) For
key
string
, specify the encryption key for encrypting
and decrypting all traffic between the switch and the
daemon. You must configure the same key on the daemon
for encryption to be successful.
Step 3
aaa new-model
Enable AAA.
Step 4
aaa group server
group-name
(Optional) Define the AAA server-group with a group name.
This command puts the switch in a server group subconfiguration mode.
Step 5
server
ip-address
(Optional) Associate a particular server with the defined server
group. Repeat this step for each server in the AAA server
group.
Each server in the group must be previously defined in Step 2.
Step 6
end
Return to privileged EXEC mode.
Step 7
show tacacs
Verify your entries.
Step 8
copy running-config startup-config
(Optional) Save your entries in the configuration file.
Содержание 2975 - Catalyst LAN Base Switch
Страница 36: ...Contents xxxvi Catalyst 2975 Switch Software Configuration Guide OL 19720 02 ...
Страница 40: ...xxxviii Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Preface ...
Страница 62: ...1 22 Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Chapter 1 Overview Where to Go Next ...
Страница 398: ...13 30 Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Chapter 13 Configuring VLANs Configuring VMPS ...
Страница 424: ...15 18 Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Chapter 15 Configuring VTP Monitoring VTP ...
Страница 628: ...26 8 Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Chapter 26 Configuring UDLD Displaying UDLD Status ...
Страница 660: ...28 8 Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Chapter 28 Configuring RMON Displaying RMON Status ...
Страница 888: ...38 32 Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Chapter 38 Troubleshooting Troubleshooting Tables ...