17-8

Catalyst 2960 Switch Software Configuration Guide

78-16881-01

Chapter 17      Configuring Optional Spanning-Tree Features

Understanding Optional Spanning-Tree Features

Understanding Root Guard

The Layer 2 network of a service provider (SP) can include many connections to switches that are not 

owned by the SP. In such a topology, the spanning tree can reconfigure itself and select a 

customer switch 

as the root switch, as shown in 

Figure 17-8

. You can avoid this situation by enabling root guard on SP 

switch interfaces that connect to switches in your customer’s network. If spanning-tree calculations 

cause an interface in the customer network to be selected as the root port, root guard then places the 

interface in the root-inconsistent (blocked) state to prevent the customer’s switch from becoming the root 

switch or being in the path to the root.

If a switch outside the SP network becomes the root switch, the interface is blocked (root-inconsistent 

state), and spanning tree selects a new root switch. The customer’s switch does not become the root 

switch and is not in the path to the root.

If the switch is operating in multiple spanning-tree (MST) mode, root guard forces the interface to be a 

designated port. If a boundary port is blocked in an internal spanning-tree (IST) instance because of root 

guard, the interface also is blocked in all MST instances. A boundary port is an interface that connects 

to a LAN, the designated switch of which is either an IEEE 802.1D switch or a switch with a different 

MST region configuration.

Root guard enabled on an interface applies to all the VLANs to which the interface belongs. VLANs can 

be grouped and mapped to an MST instance.

You can enable this feature by using the 

spanning-tree guard root

 interface configuration command.

Caution

Misuse of the root-guard feature can cause a loss of connectivity.

Figure 17-8

Root Guard in a Service-Provider Network

101232

Desired

root switch

Customer network

Potential

spanning-tree root without

root guard enabled

Enable the root-guard feature

on these interfaces to prevent

switches in the customer

network from becoming

the root switch or being

in the path to the root.

Service-provider network

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