CHAPTER
8-1
Catalyst 2960 Switch SoftwareConfiguration Guide
78-16881-01
8
Configuring Switch-Based Authentication
This chapter describes how to configure switch-based authentication on the Cat alyst 2960 switch.
It consists of these sections:
Preventing Unauthorized Access to Your Switch, page 8-1
Protecting Access to Privileged EXEC Commands, page 8-2
Controlling Switch Access with TACACS+, page 8-10
Controlling Switch Access with RADIUS, page 8-17
Configuring the Switch for Local Authentication and Authorization, page 8-32
Configuring the Switch for Secure Shell, page 8-33
Configuring the Switch for Secure Socket Layer HTTP, page 8-37

Preventing Unauthorized Access to Your Switch

You can prevent unauthorized users from reconfiguring your switch and viewing configuration
information. Typically, you want network administrators to have access to your switch while you restrict
access to users who dial from outside the network through an asynchronous por t, connect from outside
the network through a serial port, or connect through a terminal or workstation from withi n the local
network.
To prevent unauthorized access into your switch, you should configure one or more of the se security
features:
At a minimum, you should configure passwords and privileges at each switch port. These passwords
are locally stored on the switch. When users attempt to access the switch through a port or line, they
must enter the password specified for the port or line before they can access the switch. For more
information, see the “Protecting Access to Privileged EXEC Commands” section on page 8-2.
For an additional layer of security, you can also configure username and password pairs, which are
locally stored on the switch. These pairs are assigned to lines or ports and authenticate each user
before that user can access the switch. If you have defined privilege levels, you can also assign a
specific privilege level (with associated rights and privileges) to each username and password pair.
For more information, see the “Configuring Username and Password Pairs” section on page 8-7.