Cisco Catalyst 2950 Software Manual page 148

Desktop switch software configuration guide
Hide thumbs Also See for Catalyst 2950:
Table of Contents

Advertisement

Controlling Switch Access with RADIUS
Beginning in privileged EXEC mode, follow these steps to configure login authentication. This
procedure is required.
Command
Step 1
configure terminal
Step 2
aaa new-model
Step 3
aaa authentication login {default |
list-name} method1 [method2...]
Step 4
line [console | tty | vty] line-number
[ending-line-number]
Step 5
login authentication {default |
list-name}
Step 6
end
Step 7
show running-config
Step 8
copy running-config startup-config
To disable AAA, use the no aaa new-model global configuration command. To disable AAA
authentication, use the no aaa authentication login {default | list-name} method1 [method2...] global
configuration command. To either disable RADIUS authentication for logins or to return to the default
value, use the no login authentication {default | list-name} line configuration command.
Catalyst 2950 Desktop Switch Software Configuration Guide
6-30
Purpose
Enter global configuration mode.
Enable AAA.
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 interfaces.
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:
line—Use the line password for authentication. You must define a
line password before you can use this authentication method. 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
password global configuration command.
radius—Use RADIUS authentication. You must configure the
RADIUS server before you can use this authentication method. For
more information, see the
section on page
6-27.
Enter line configuration mode, and configure the lines to which you want
to apply the authentication list.
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.
Return to privileged EXEC mode.
Verify your entries.
(Optional) Save your entries in the configuration file.
Chapter 6
Configuring the System
"Identifying the RADIUS Server Host"
78-11380-03

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents