21-13
Catalyst 6000 Family Software Configuration Guide—Releases 6.3 and 6.4
78-13315-02
Chapter 21 Configuring Switch Access Using AAA
Configuring Authentication
Setting Authentication Login Attempts for the Privileged Mode
To set up login authentication for privileged mode, perform this task in privileged mode:
This example shows how to limit enable mode login attempts to five, set the enable mode lockout time
for both console and Telnet connections to 50 seconds, and verify the configuration:
Console> (enable)
set authentication enable attempt 5
Enable mode authentication attempts for console and telnet logins set to 5.
Console> (enable)
set authentication enable lockout 50
Enable mode lockout time for console and telnet logins set to 50.
Console> (enable)
show authentication
Login Authentication: Console Session Telnet Session Http Session
--------------------- ---------------- ---------------- ----------------
tacacs disabled disabled disabled
radius disabled disabled disabled
kerberos disabled disabled disabled
local enabled(primary) enabled(primary) enabled(primary)
attempt limit 5 5 -
lockout timeout (sec) 50 50 -
Enable Authentication: Console Session Telnet Session Http Session
---------------------- ----------------- ---------------- ----------------
tacacs disabled disabled disabled
radius disabled disabled disabled
kerberos disabled disabled disabled
local enabled(primary) enabled(primary) enabled(primary)
attempt limit 5 5 -
lockout timeout (sec) 50 50 -
Console> (enable)
Configuring Local Authentication
These sections describe how to configure local authentication on the switch:
•
Enabling Local Authentication, page 21-14
•
Setting the Login Password, page 21-14
•
Setting the Enable Password, page 21-15
•
Disabling Local Authentication, page 21-15
•
Recovering a Lost Password, page 21-16
Task
Command
Step 1
Enable the login attempt limits for privileged
mode. Enter the
console
or
telnet
keyword if you
want to enable local authentication only for the
console port or for Telnet connection attempts.
set authentication enable attempt
{
count
}
[
console
|
telnet
]
Step 2
Enable the login lockout time for privileged
mode. Enter the
console
or
telnet
keyword if you
want to enable local authentication only for the
console port or for Telnet connection attempts.
set authentication enable lockout
{
time
}
[
console
|
telnet
]
Step 3
Verify the local authentication configuration.
show authentication