15-3

Catalyst 2960 Switch Software Configuration Guide

78-16881-01

Chapter 15      Configuring STP

Understanding Spanning-Tree Features

Spanning-Tree Topology and BPDUs

The stable, active spanning-tree topology of a switched network is controlled by these elements:

•

The unique bridge ID (switch priority and MAC address) associated with each VLAN on each 

switch. 

•

The spanning-tree path cost to the root switch.

•

The port identifier (port priority and MAC address) associated with each Layer 2 interface.

When the switches in a network are powered up, each functions as the root switch. Each switch sends a 

configuration BPDU through all of its ports. The BPDUs communicate and compute the spanning-tree 

topology. Each configuration BPDU contains this information:

•

The unique bridge ID of the switch that the sending switch identifies as the root switch

•

The spanning-tree path cost to the root

•

The bridge ID of the sending switch

•

Message age

•

The identifier of the sending interface

•

Values for the hello, forward delay, and max-age protocol timers

When a switch receives a configuration BPDU that contains 

superior

 information (lower bridge ID, 

lower path cost, and so forth), it stores the information for that port. If this BPDU is received on the root 

port of the switch, the switch also forwards it with an updated message to all attached LANs for which 

it is the designated switch.

If a switch receives a configuration BPDU that contains 

inferior

 information to that currently stored for 

that port, it discards the BPDU. If the switch is a designated switch for the LAN from which the inferior 

BPDU was received, it sends that LAN a BPDU containing the up-to-date information stored for that 

port. In this way, inferior information is discarded, and superior information is propagated on the 

network.

A BPDU exchange results in these actions:

•

One switch in the network is elected as the root switch (the logical center of the spanning-tree 

topology in a switched network). 

For each VLAN, the switch with the highest switch priority (the lowest numerical priority value) is 

elected as the root switch. If all switches are configured with the default priority (32768), the switch 

with the lowest MAC address in the VLAN becomes the root switch. The switch priority value 

occupies the most significant bits of the bridge ID, as shown in 

Table 15-1 on page 15-4

.

•

A root port is selected for each switch (except the root switch). This port provides the best path 

(lowest cost) when the switch forwards packets to the root switch. 

•

The shortest distance to the root switch is calculated for each switch based on the path cost.

•

A designated switch for each LAN segment is selected. The designated switch incurs the lowest path 

cost when forwarding packets from that LAN to the root switch. The port through which the 

designated switch is attached to the LAN is called the designated port.

All paths that are not needed to reach the root switch from anywhere in the switched network are placed 

in the spanning-tree blocking mode.

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