21-16
Catalyst 6000 Family Software Configuration Guide—Releases 6.3 and 6.4
78-13315-02
Chapter 21 Configuring Switch Access Using AAA
Configuring Authentication
To disable local authentication on the switch, perform this task in privileged mode:
Note
You must have either RADIUS or authentication enabled before you disable local
authentication.
This example shows how to disable local login authentication, how to enable authentication for both
console and Telnet connections, and how to verify the configuration:
Console> (enable)
set authentication login local disable
local login authentication set to disable for console and telnet session.
Console> (enable)
set authentication enable local disable
local enable authentication set to disable for console and telnet session.
Console> (enable)
show authentication
Login Authentication: Console Session Telnet Session
--------------------- ---------------- ----------------
tacacs disabled disabled
radius enabled(primary) enabled(primary)
kerberos disabled disabled
local disabled disabled
Enable Authentication: Console Session Telnet Session
---------------------- ----------------- ----------------
tacacs disabled disabled
radius enabled(primary) enabled(primary)
kerberos disabled disabled
local disabled disabled
Console> (enable)
Recovering a Lost Password
Use the following procedure to recover a lost local authentication password. You must complete Steps 3
through 7 within 30 seconds of a power cycle or the recovery will fail. If you lost both the login and
enable passwords, repeat the process for each password.
To recover a lost password, perform the following task in privileged mode:
Step 1
Connect to the switch through the supervisor engine console port. You cannot recover the password if
you are connected through a Telnet connection.
Step 2
Enter the
reset system
command to reboot the switch.
Task
Command
Step 1
Disable local login authentication on the switch.
Enter the
console
or
telnet
keyword if you want to
disable local authentication only for console port
or Telnet connection attempts.
set authentication login local disable
[
all
|
console
|
http | telnet
]
Step 2
Disable local enable authentication on the switch.
Enter the
console
or
telnet
keyword if you want to
disable local authentication only for console port
or Telnet connection attempts.
set authentication enable local disable
[
all
|
console
|
http | telnet
]
Step 3
Verify the local authentication configuration.
show authentication