15-2

Catalyst 2960 Switch Software Configuration Guide

78-16881-01

Chapter 15      Configuring STP

Understanding Spanning-Tree Features

•

Spanning-Tree Interoperability and Backward Compatibility, page 15-10

•

STP and IEEE 802.1Q Trunks, page 15-10

For configuration information, see the 

“Configuring Spanning-Tree Features” section on page 15-10

. 

For information about optional spanning-tree features, see 

Chapter 17, “Configuring Optional 

Spanning-Tree Features.”

STP Overview

STP is a Layer 2 link management protocol that provides path redundancy while preventing loops in the 

network. For a Layer 2 Ethernet network to function properly, only one active path can exist between 

any two stations. Multiple active paths among end stations cause loops in the network. If a loop exists 

in the network, end stations might receive duplicate messages. Switches might also learn end-station 

MAC addresses on multiple Layer 2 interfaces. These conditions result in an unstable network. 

Spanning-tree operation is transparent to end stations, which cannot detect whether they are connected 

to a single LAN segment or a switched LAN of multiple segments.

The STP uses a spanning-tree algorithm to select one switch of a redundantly connected network as the 

root of the spanning tree. The algorithm calculates the best loop-free path through a switched Layer 2 

network by assigning a role to each port based on the role of the port in the active topology:

•

Root—A forwarding port elected for the spanning-tree topology

•

Designated—A forwarding port elected for every switched LAN segment

•

Alternate—A blocked port providing an alternate path to the root bridge in the spanning tree

•

Backup—A blocked port in a loopback configuration

The switch that has 

all

 of its ports as the designated role or as the backup role is the root switch. The 

switch that has at least 

one

 of its ports in the designated role is called the designated switch.

Spanning tree forces redundant data paths into a standby (blocked) state. If a network segment in the 

spanning tree fails and a redundant path exists, the spanning-tree algorithm recalculates the 

spanning-tree topology and activates the standby path. Switches send and receive spanning-tree frames, 

called bridge protocol data units (BPDUs), at regular intervals. The switches do not forward these frames 

but use them to construct a loop-free path. BPDUs contain information about the sending switch and its 

ports, including switch and MAC addresses, switch priority, port priority, and path cost. Spanning tree 

uses this information to elect the root switch and root port for the switched network and the root port and 

designated port for each switched segment.

When two ports on a switch are part of a loop, the spanning-tree port priority and path cost settings 

control which port is put in the forwarding state and which is put in the blocking state. The spanning-tree 

port priority value represents the location of a port in the network topology and how well it is located to 

pass traffic. The path cost value represents the media speed. 

Note

The switch sends keepalive messages (to ensure the connection is up) only on interfaces that do not have 

small form-factor pluggable (SFP) modules. 

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