9-31
Catalyst 2975 Switch Software Configuration Guide
OL-19720-02
Chapter 9 Configuring Switch-Based Authentication
Controlling Switch Access with RADIUS
Step 3
aaa authentication login
{
default
|
list-name
}
method1
[
method2...
]
Create a login authentication method list.
•
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 by the
methods that are to be used in default situations. The default method list is
automatically applied to all ports.
•
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:
–
enable
—Use the enable password for authentication. Before you can
use this authentication method, you must define an enable password
by using the
enable
password
global configuration command.
–
group radius
—Use RADIUS authentication. Before you can use this
authentication method, you must configure the RADIUS server. For
more information, see the
“Identifying the RADIUS Server Host”
–
line
—Use the line password for authentication. Before you can use
this authentication method, you must define a line password. Use the
password
password
line configuration command.
–
local
—Use the local username database for authentication. You must
enter username information in the database. Use the
username
name
password
global configuration command.
–
local-case
—Use a case-sensitive local username database for
authentication. You must enter username information in the database
by using the
username
password
global configuration command.
–
none
—Do not use any authentication for login.
Step 4
line
[
console
|
tty
|
vty
]
line-number
[
ending-line-number
]
Enter line configuration mode, and configure the lines to which you want to
apply the authentication list.
Step 5
login authentication
{
default
|
list-name
}
Apply the authentication list to a line or set of lines.
•
If you specify
default
, use the default list created with the
aaa
authentication login
command.
•
For
list-name
, specify the list created with the
aaa authentication login
command.
Step 6
end
Return to privileged EXEC mode.
Step 7
show running-config
Verify your entries.
Step 8
copy running-config
startup-config
(Optional) Save your entries in the configuration file.
Command
Purpose
Содержание 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 ...