Purpose
Command or Action
•
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, on page 883
.
•
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.
Enters line configuration mode, and configures the lines to which you want
to apply the authentication list.
line
[
console
|
tty
|
vty
]
line-number
[
ending-line-number
]
Example:
Switch(config)#
line 2 4
Step 5
Applies the authentication list to a line or set of lines.
login authentication
{
default
|
list-name
}
Step 6
•
If you specify
default
, use the default list created with the
aaa
authentication login
command.
Example:
Switch(config-line)#
login
•
For
list-name
, specify the list created with the
aaa authentication login
command.
authentication default
Returns to privileged EXEC mode.
end
Example:
Switch(config-line)#
end
Step 7
Verifies your entries.
show running-config
Example:
Switch#
show running-config
Step 8
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
887
How to Configure
Summary of Contents for Catalyst 2960 Series
Page 96: ......
Page 196: ......
Page 250: ......
Page 292: ......
Page 488: ......
Page 589: ...P A R T VI Cisco Flexible NetFlow Configuring NetFlow Lite page 509 ...
Page 590: ......
Page 619: ...P A R T VII QoS Configuring QoS page 539 Configuring Auto QoS page 645 ...
Page 620: ......
Page 750: ......
Page 1604: ......
Page 1740: ......
Page 2105: ...P A R T XII Configuring Cisco IOS IP SLAs Configuring Cisco IP SLAs page 2025 ...
Page 2106: ......
Page 2118: ......
Page 2164: ......