3-20
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Chapter 3 Configuring the Switch for the First Time
Controlling Access to Privileged EXEC Commands
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 authentication for logins or to return to the default
value, use the
no login authentication
{
default
|
list-name
} line configuration command.
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 you plan to use 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
—Uses authentication. Before you can use
this authentication method, you must configure the server.
For more information, see the
and Setting the Authentication Key” section on page 3-18
•
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
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
name
password
global configuration
command.
•
none
—Do 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.
•
For
list-name
, specify the list created with the
aaa authentication
login
command.
Step 6
end
Returns to privileged EXEC mode.
Step 7
show running-config
Verifies your entries.
Step 8
copy running-config startup-config
(Optional) Saves your entries in the configuration file.
Command
Purpose
Содержание Catalyst 4500 Series
Страница 2: ......
Страница 4: ......
Страница 2086: ...Index IN 46 Software Configuration Guide Release IOS XE 3 9 0E and IOS 15 2 5 E ...