31 Days Before Your CCNA Routing and Switching Exam: Spanning Tree Protocols

Date: Jul 9, 2014

Return to the article

This step in preparing for the CCNA Routing and Switching exam covers STP and its variations — standards that allow for redundant switched networks without worrying about switching loops.

CCNA 200-101 ICND2 Exam Topics

Key Topics

Part I focuses on switching technologies, including Spanning Tree Protocol (STP), EtherChannel, and first-hop redundancy protocols (FHRPs). Today’s review covers STP and its variations, standards that allow for redundant switched networks without worrying about switching loops.

STP Concepts and Operation

One of the key characteristics of a well-built communications network is its resiliency. This means that the network needs to be able to handle a device or link failure through redundancy. A redundant topology can eliminate a single point of failure by using multiple links, multiple devices, or both. Spanning Tree Protocol (STP) helps to prevent loops in a redundant switched network. Figure 31-1 shows an example of a three-layer topology (core, distribution, access) with redundant links.

Figure 31-1 Redundant Switched Topology

Without STP, redundancy in the switched network could introduce the following issues:

STP Algorithm

STP is an IEEE committee standard defined as 802.1D. STP places certain ports in the blocking state so that they do not listen to, forward, or flood data frames. STP creates a tree that ensures that only one path exists to each network segment at any one time. Then, if any segment experiences a disruption in connectivity, STP rebuilds a new tree by activating the previously inactive, but redundant, path.

The algorithm used by STP chooses the interfaces that should be placed into a forwarding state. For any interfaces not chosen to be in a forwarding state, STP places the interfaces in blocking state.

Switches exchange STP configuration messages every 2 seconds by default using a multicast frame called the bridge protocol data unit (BPDU). One of the pieces of information included in the BPDU is the bridge ID (BID).

As shown in Figure 31-2, the BID is unique to each switch and is composed of a priority value (2 bytes) and the bridge MAC address (6 bytes).

Figure 31-2 Bridge ID

The default priority is 32,768. The root bridge is the bridge with the lowest BID. Therefore, if the default priority value is not changed, the switch with the lowest MAC address becomes root.

STP Convergence

STP convergence is the process by which the switches collectively realize that something has changed in the LAN topology and so the switches might need to change which ports block and which ports forward. The following steps summarize the STP algorithm used to achieve convergence:

Table 31-1 summarizes the reasons STP places a port in forwarding or blocking state.

Table 31-1 STP: Reasons for Forwarding or Blocking

Characterization of Port

STP State

Description

All the root switch’s ports

Forwarding

The root switch is always the designated switch on all connected segments.

Each nonroot switch’s root port

Forwarding

The port through which the switch has the least cost to reach the root switch.

Each LAN’s designated port

Forwarding

The switch forwarding the lowest-cost BPDU onto the segment is the designated switch for that segment.

All other working ports

Blocking

The port is not used for forwarding frames, nor are any frames received on these interfaces considered for forwarding.

Port bandwidth is used to determine the cost to reach the root bridge. Table 31-2 lists the default port costs defined by IEEE, which had to be revised with the advent of 10-Gbps ports.

Table 31-2 Default IEEE Port Costs

Ethernet Speed

Original IEEE Cost

Revised IEEE Cost

10 Mbps

100

100

100 Mbps

10

19

1 Gbps

1

4

10 Gbps

1

2

STP uses the four states shown in Figure 31-3 as a port transitions from blocking to forwarding.

Figure 31-3 Spanning Tree Port States

A fifth state, disabled, occurs either when a network administrator manually disables the port or a security violation disables the port.

STP Varieties

Several varieties of STP have emerged after the original IEEE 802.1D:

Part of your switch administration skill set is the ability to decide which type of STP to implement. Table 31-3 summarizes the features of each STP flavor.

Table 31-3 Features of STP Varieties

Protocol

Standard

Resources Needed

Convergence

Tree Calculation

STP

802.1D

Low

Slow

All VLANs

PVST+

Cisco

High

Slow

Per VLAN

RSTP

802.1w

Medium

Fast

All VLANs

Rapid PVST+

Cisco

Very high

Fast

Per VLAN

MSTP

802.1s, Cisco

Medium or high

Fast

Per instance

Study Resources

For today’s exam topics, refer to the following resources for more study.

 

 

 

 

Resource

Location

Topic

Primary Resources

Switched Networks

4

Spanning Tree Concepts

Varieties of Spanning Tree Protocols

Scaling Networks

2

Spanning Tree Concepts

Varieties of Spanning Tree Protocols

ICND2 Official Cert Guide

1

All

ICND2 Foundation Learning Guide

1

Building Redundant Switch Topologies

Supplemental Resources

CCNA Practice and Study Guide

2

Spanning Tree Concepts

Varieties of Spanning Tree Protocols

CCNA ICND2 Flash Cards

2

Questions 1-37

800 East 96th Street, Indianapolis, Indiana 46240

sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |