12-36
Cisco IE 2000 Switch Software Configuration Guide
OL-25866-01
Chapter 12 Configuring Switch-Based Authentication
How to Configure Switch-Based Authent ication
Configuring RADIUS Login Authentication
Command Purpose
Step 1 configure terminal Enters global configuration mode.
Step 2 aaa new-model Enables AAA.
Step 3 aaa authentication login {default
| list-name} method1 [method2...]
Creates 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.
list-name—Specifies a character string to name the list you are creating.
method1...—Specifies 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—Uses 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—Uses RADIUS authentication. Before you can use this
authentication method, you must configure the RADIUS server. For
more information, see the “RADIUS Server Host” section on
page 12-14.
line—Uses 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—Uses the local username database for authentication. You must
enter username information in the database. Use the username name
password global configuration command.
local-case—Uses 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—Does not use any authentication for login.
Step 4 line [console | tty | vty]
line-number [ending-line-number]
Enters line configuration mode, and configures the lines to which you want to
apply the authentication list.
Step 5 login authentication {default |
list-name}
Applies 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.
list-name—Specifies the list created with the aaa authentica tion login
command.
Step 6 end Returns to privileged EXEC mode.