Configuring Local Authentication - Cisco WS-C2948G-GE-TX Configuration Manual

Catalyst 4500 series switch
Table of Contents

Advertisement

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:
Task
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.
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.
Step 3
Verify the local authentication configuration.
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:
---------------------
tacacs
radius
kerberos
local
Enable Authentication: Console Session
---------------------- ----------------- ----------------
tacacs
radius
kerberos
local
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.
Catalyst 4500 Series, Catalyst 2948G, Catalyst 2948G-GE-TX, and Catalyst 2980G Switches Software Configuration Guide—Release 8.2GLX
30-12
Console Session
Telnet Session
----------------
----------------
disabled
disabled
disabled
disabled
disabled
disabled
enabled(primary)
enabled(primary)
Telnet Session
disabled
disabled
disabled
disabled
disabled
disabled
enabled(primary)
enabled(primary)
Chapter 30
Configuring Switch Access Using AAA
Command
set authentication login local enable [all |
console | http | telnet]
set authentication enable local enable [all |
console | http | telnet]
show authentication
78-15908-01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents