15-12

Catalyst 2960 Switch Software Configuration Guide

78-16881-01

Chapter 15      Configuring STP

Configuring Spanning-Tree Features

If 128 instances of spanning tree are already in use, you can disable spanning tree on one of the VLANs 

and then enable it on the VLAN where you want it to run. Use the 

no

 

spanning-tree vlan

 

vlan-id

 global 

configuration command to disable spanning tree on a specific VLAN, and use the 

spanning-tree vlan

 

vlan-id 

global configuration command to enable spanning tree on the desired VLAN.

Caution

Switches that are not running spanning tree still forward BPDUs that they receive so that the other 

switches on the VLAN that have a running spanning-tree instance can break loops. Therefore, spanning 

tree must be running on enough switches to break all the loops in the network; for example, at least one 

switch on each loop in the VLAN must be running spanning tree. It is not absolutely necessary to run 

spanning tree on all switches in the VLAN. However, if you are running spanning tree only on a minimal 

set of switches, an incautious change to the network that introduces another loop into the VLAN can 

result in a broadcast storm.

Note

If you have already used all available spanning-tree instances on your switch, adding another VLAN 

anywhere in the VTP domain creates a VLAN that is not running spanning tree on that switch. If you 

have the default allowed list on the trunk ports of that switch, the new VLAN is carried on all trunk ports. 

Depending on the topology of the network, this could create a loop in the new VLAN that will not be 

broken, particularly if there are several adjacent switches that have all run out of spanning-tree instances. 

You can prevent this possibility by setting up allowed lists on the trunk ports of switches that have used 

up their allocation of spanning-tree instances. Setting up allowed lists is not necessary in many cases and 

can make it more labor-intensive to add another VLAN to the network.

Spanning-tree commands control the configuration of VLAN spanning-tree instances. You create a 

spanning-tree instance when you assign an interface to a VLAN. The spanning-tree instance is removed 

when the last interface is moved to another VLAN. You can configure switch and port parameters before 

a spanning-tree instance is created; these parameters are applied when the spanning-tree instance is 

created.

The switch supports PVST+, rapid PVST+, and MSTP, but only one version can be active at any time. 

(For example, all VLANs run PVST+, all VLANs run rapid PVST+, or all VLANs run MSTP.) For 

information about the different spanning-tree modes and how they interoperate, see the 

“Spanning-Tree 

Interoperability and Backward Compatibility” section on page 15-10

.

For configuration guidelines about UplinkFast and BackboneFast, see the 

“Optional Spanning-Tree 

Configuration Guidelines” section on page 17-10

.

Changing the Spanning-Tree Mode.

The switch supports three spanning-tree modes: PVST+, rapid PVST+, or MSTP. By default, the switch 

runs the PVST+ protocol.

Beginning in privileged EXEC mode, follow these steps to change the spanning-tree mode. If you want 

to enable a mode that is different from the default mode, this procedure is required.

Page 286
Image 286
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.