
30-12
Catalyst 4500 Series, Catalyst 2948G, Catalyst 2948G-GE-TX, and Catalyst 2980G Switches Software Configuration Guide—Release 8.2GLX
78-15908-01
Chapter 30 Configuring Switch Access Using AAA
Configuring Authentication
Configuring Local Authentication
The following sections describe how to configure local authentication on the switch.
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 these tasks 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 and 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
30 characters, and use any printable ASCII characters, including a space.
Task
Command
Step 1
Enable local login authentication on the switch. Enter
the console or telnet keywords if you want to enable
the local authentication only for the console port or for
the 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 keywords if you want to
enable the local authentication only for the console
port or for the Telnet connection attempts.
set authentication enable local enable [all |
console | http | telnet]
Step 3
Verify the local authentication configuration.
show authentication