8-5

Catalyst 2960 Switch Software Configuration Guide

78-16881-01

Chapter 8      Configuring Switch-Based Authentication

Protecting Access to Privileged EXEC Commands

If both the enable and enable secret passwords are defined, users must enter the enable secret password.

Use the 

level

 keyword to define a password for a specific privilege level. After you specify the level and 

set a password, give the password only to users who need to have access at this level. Use the 

privilege 

level

 global configuration command to specify commands accessible at various levels. For more 

information, see the 

“Configuring Multiple Privilege Levels” section on page 8-8

.

If you enable password encryption, it applies to all passwords including username passwords, 

authentication key passwords, the privileged command password, and console and virtual terminal line 

passwords.

To remove a password and level, use the 

no enable password

 [

level

 

level

] or 

no enable secret 

[

level

 

level

] global configuration command. To disable password encryption, use the 

no service 

password-encryption

 global configuration command.

This example shows how to configure the encrypted password 

$1$FaD0$Xyti5Rkls3LoyxzS8

 for 

privilege level 2:

Switch(config)# 

enable secret level 2 5 $1$FaD0$Xyti5Rkls3LoyxzS8

Disabling Password Recovery

By default, any end user with physical access to the switch can recover from a lost password by 

interrupting the boot process while the switch is powering on and then by entering a new password. 

The password-recovery disable feature protects access to the switch password by disabling part of this 

functionality. When this feature is enabled, the end user can interrupt the boot process only by agreeing 

to set the system back to the default configuration. With password recovery disabled, you can still 

interrupt the boot process and change the password, but the configuration file (config.text) and the 

VLAN database file (vlan.dat) are deleted.

Note

If you disable password recovery, we recommend that you keep a backup copy of the configuration file 

on a secure server in case the end user interrupts the boot process and sets the system back to default 

values. Do not keep a backup copy of the configuration file on the switch. If the switch is operating in 

VTP transparent mode, we recommend that you also keep a backup copy of the VLAN database file on 

a secure server. When the switch is returned to the default system configuration, you can download the 

saved files to the switch by using the Xmodem protocol. For more information, see the 

“Recovering from 

a Lost or Forgotten Password” section on page 31-3

.

Beginning in privileged EXEC mode, follow these steps to disable password recovery:

Command

Purpose

Step 1

configure terminal

Enter global configuration mode.

Step 2

no service password-recovery

Disable password recovery.

This setting is saved in an area of the flash memory that is accessible by 

the boot loader and the Cisco IOS image, but it is not part of the file 

system and is not accessible by any user. 

Step 3

end

Return to privileged EXEC mode.

Step 4

show version

Verify the configuration by checking the last few lines of the command 

output.

Page 133
Image 133
Open full-size image

2960 specifications

Cisco Systems 2960 series switches are a prominent solution in the networking landscape, known for their reliability, scalability, and feature-rich offerings. Ideal for small to medium-sized enterprises, these switches provide a robust foundation for network infrastructure, ensuring optimal performance and connectivity.

One of the standout features of the Cisco 2960 series is its Layer 2 switching capabilities. The switches support multiple VLANs (Virtual Local Area Networks), allowing network administrators to segment traffic efficiently and enhance security protocols. This is crucial in modern networks where managing traffic and isolating sensitive information is a priority.

The Cisco 2960 series also incorporates advanced Quality of Service (QoS) features, enabling the prioritization of critical applications and services. This functionality ensures that time-sensitive data, such as voice and video traffic, maintains a high quality of service even in congested networks. With support for IEEE 802.1p and DSCP marking, administrators can fine-tune their network performance to meet specific organizational needs.

Power over Ethernet (PoE) is another significant characteristic of the Cisco 2960 series. This feature allows switches to deliver electrical power alongside data over Ethernet cables to devices such as IP phones, wireless access points, and surveillance cameras. With PoE, organizations can reduce clutter from power cables and increase deployment flexibility for various devices.

In terms of security, the Cisco 2960 series is equipped with a range of integrated security features. The switch supports port security, 802.1X authentication, and Access Control Lists (ACLs), providing robust defenses against unauthorized access and potential network vulnerabilities. These security measures are essential for protecting sensitive data and ensuring compliance with industry regulations.

Moreover, the Cisco 2960 series offers enhanced network management capabilities with Cisco's Intelligent Network Services. This includes support for Simple Network Management Protocol (SNMP), Cisco Prime, and Embedded Event Manager (EEM), allowing for efficient monitoring, troubleshooting, and policy enforcement across the network.

Additionally, the Cisco 2960 switches provide various models and configurations, catering to different networking needs. Options include models with varying port densities, uplink configurations, and stacking capabilities, making it easy for organizations to choose solutions that align perfectly with their requirements.

In summary, the Cisco 2960 series is a versatile and essential component of modern networking environments. Its advanced features, including Layer 2 support, QoS, PoE, robust security, and diverse management tools, make it an excellent choice for organizations looking to build a strong and secure network infrastructure.