![Cisco 2948G - Catalyst Switch Configuration Manual Download Page 463](http://html.mh-extra.com/html/cisco/2948g-catalyst-switch/2948g-catalyst-switch_configuration-manual_67462463.webp)
30-19
Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide
—
Release 8.1
78-15486-01
Chapter 30 Configuring Switch Access Using AAA
Configuring Authentication
To enable authentication, perform this task in privileged mode:
This example shows how to enable authentication for console and Telnet connections and
how to verify the configuration:
Console> (enable) set authentication login tacacs enable
tacacs login authentication set to enable for console and telnet session.
Console> (enable) set authentication enable tacacs enable
tacacs enable authentication set to enable for console and telnet session.
Console> (enable) show authentication
Login Authentication: Console Session Telnet Session
--------------------- ---------------- ----------------
tacacs enabled(primary) enabled(primary)
radius disabled disabled
local enabled enabled
Enable Authentication: Console Session Telnet Session
---------------------- ----------------- ----------------
tacacs enabled(primary) enabled(primary)
radius disabled disabled
local enabled enabled
Console> (enable)
Specifying the Key
Note
If you configure a key on the client, make sure that you configure an identical key on the
server.
To specify the key, perform this task in privileged mode:
This example shows how to specify the key and verify the configuration:
Console> (enable) set tacacs key Secret_TACACS_key
The tacacs key has been set to Secret_TACACS_key.
Console> (enable) show tacacs
Task
Command
Step 1
Enable authentication for normal login
mode. Enter the console or telnet keywords if you
want to enable only for console port or
Telnet connection attempts.
set authentication login tacacs enable [all |
console | http | telnet] [primary]
Step 2
Enable authentication for enable
mode. Enter the console or telnet keywords if you
want to enable only for console port or
Telnet connection attempts.
set authentication enable tacacs enable [all |
console | http | telnet] [primary]
Step 3
Verify the configuration.
show authentication
Task
Command
Step 1
Specify the TACAS+ key that is used to encrypt
packets.
set tacacs key key
Step 2
Verify the configuration.
show tacacs