21-14
Catalyst 6000 Family Software Configuration Guide—Releases 6.3 and 6.4
78-13315-02
Chapter 21 Configuring Switch Access Using AAA
Configuring Authentication
Enabling Local Authentication
Note
Local login and enable authentication are enabled for both console and Telnet connections by default.
You do not need to perform this task unless you want to modify the default configuration or you have
disabled local authentication.
To enable local authentication on the switch, perform this task in privileged mode:
This example shows how to enable local login, how to enable authentication for both console and Telnet
connections, and how to verify the configuration:
Console> (enable)
set authentication login local enable
local login authentication set to enable for console and telnet session.
Console> (enable)
set authentication enable local enable
local enable authentication set to enable for console and telnet session.
Console> (enable)
show authentication
Login Authentication: Console Session Telnet Session
--------------------- ---------------- ----------------
tacacs disabled disabled
radius disabled disabled
kerberos disabled disabled
local enabled(primary) enabled(primary)
Enable Authentication: Console Session Telnet Session
---------------------- ----------------- ----------------
tacacs disabled disabled
radius disabled disabled
kerberos disabled disabled
local enabled(primary) enabled(primary)
Console> (enable)
Setting the Login Password
The login password controls access to the user mode CLI. Passwords are case sensitive, contain up to
19 characters, and use any printable character, including a space.
Note
Passwords set in releases prior to software release 5.4 remain non-case sensitive. You must reset the
password after installing software release 5.4 to activate case sensitivity.
Task
Command
Step 1
Enable local login authentication on the switch.
Enter the
console
or
telnet
keyword if you want to
enable local authentication only for console port
or Telnet connection attempts.
set authentication login local enable
[
all
|
console
|
http | telnet
]
Step 2
Enable local enable authentication on the switch.
Enter the
console
or
telnet
keyword if you want to
enable local authentication only for console port
or Telnet connection attempts.
set authentication enable local enable
[
all
|
console
|
http | telnet
]
Step 3
Verify the local authentication configuration.
show authentication