Home > Articles > Cisco > CCNA Security

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

📄 Contents

  1. CCNA 200-101 ICND2 Exam Topics / Key Topics
  2. STP Varieties
  3. Study Resources
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.
This chapter is from the book

CCNA 200-101 ICND2 Exam Topics

  • Identify enhanced switching technologies

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:

  • Broadcast storms: Each switch floods broadcasts endlessly, called a broadcast storm.
  • Multiple frame transmission: Multiple copies of unicast frames may be delivered to the destination, causing unrecoverable errors.
  • MAC database instability: Instability in the content of the MAC address table results from copies of the same frame being received on different ports of the switch.

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:

  • Step 1 Elect a root bridge (switch with lowest BID). There can be only one root bridge per network. All ports on the root bridge are forwarding ports.
  • Step 2 Elect a root port for each nonroot switch, based on lowest root path cost. Each nonroot switch has one root port. The root port is the port through which the nonroot bridge has its best path to the root bridge.
  • Step 3 Elect a designated port for each segment, based on the lowest root path cost. Each link will have one designated port.
  • Step 4 The root ports and designated ports transition to the forwarding state, and the other ports stay in the blocking state.

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.

vceplus-200-125    | boson-200-125    | training-cissp    | actualtests-cissp    | techexams-cissp    | gratisexams-300-075    | pearsonitcertification-210-260    | examsboost-210-260    | examsforall-210-260    | dumps4free-210-260    | reddit-210-260    | cisexams-352-001    | itexamfox-352-001    | passguaranteed-352-001    | passeasily-352-001    | freeccnastudyguide-200-120    | gocertify-200-120    | passcerty-200-120    | certifyguide-70-980    | dumpscollection-70-980    | examcollection-70-534    | cbtnuggets-210-065    | examfiles-400-051    | passitdump-400-051    | pearsonitcertification-70-462    | anderseide-70-347    | thomas-70-533    | research-1V0-605    | topix-102-400    | certdepot-EX200    | pearsonit-640-916    | itproguru-70-533    | reddit-100-105    | channel9-70-346    | anderseide-70-346    | theiia-IIA-CIA-PART3    | certificationHP-hp0-s41    | pearsonitcertification-640-916    | anderMicrosoft-70-534    | cathMicrosoft-70-462    | examcollection-cca-500    | techexams-gcih    | mslearn-70-346    | measureup-70-486    | pass4sure-hp0-s41    | iiba-640-916    | itsecurity-sscp    | cbtnuggets-300-320    | blogged-70-486    | pass4sure-IIA-CIA-PART1    | cbtnuggets-100-101    | developerhandbook-70-486    | lpicisco-101    | mylearn-1V0-605    | tomsitpro-cism    | gnosis-101    | channel9Mic-70-534    | ipass-IIA-CIA-PART1    | forcerts-70-417    | tests-sy0-401    | ipasstheciaexam-IIA-CIA-PART3    | mostcisco-300-135    | buildazure-70-533    | cloudera-cca-500    | pdf4cert-2v0-621    | f5cisco-101    | gocertify-1z0-062    | quora-640-916    | micrcosoft-70-480    | brain2pass-70-417    | examcompass-sy0-401    | global-EX200    | iassc-ICGB    | vceplus-300-115    | quizlet-810-403    | cbtnuggets-70-697    | educationOracle-1Z0-434    | channel9-70-534    | officialcerts-400-051    | examsboost-IIA-CIA-PART1    | networktut-300-135    | teststarter-300-206    | pluralsight-70-486    | coding-70-486    | freeccna-100-101    | digitaltut-300-101    | iiba-CBAP    | virtuallymikebrown-640-916    | isaca-cism    | whizlabs-pmp    | techexams-70-980    | ciscopress-300-115    | techtarget-cism    | pearsonitcertification-300-070    | testking-2v0-621    | isacaNew-cism    | simplilearn-pmi-rmp    | simplilearn-pmp    | educationOracle-1z0-809    | education-1z0-809    | teachertube-1Z0-434    | villanovau-CBAP    | quora-300-206    | certifyguide-300-208    | cbtnuggets-100-105    | flydumps-70-417    | gratisexams-1V0-605    | ituonline-1z0-062    | techexams-cas-002    | simplilearn-70-534    | pluralsight-70-697    | theiia-IIA-CIA-PART1    | itexamtips-400-051    | pearsonitcertification-EX200    | pluralsight-70-480    | learn-hp0-s42    | giac-gpen    | mindhub-102-400    | coursesmsu-CBAP    | examsforall-2v0-621    | developerhandbook-70-487    | root-EX200    | coderanch-1z0-809    | getfreedumps-1z0-062    | comptia-cas-002    | quora-1z0-809    | boson-300-135    | killtest-2v0-621    | learncia-IIA-CIA-PART3    | computer-gcih    | universitycloudera-cca-500    | itexamrun-70-410    | certificationHPv2-hp0-s41    | certskills-100-105    | skipitnow-70-417    | gocertify-sy0-401    | prep4sure-70-417    | simplilearn-cisa    |
http://www.pmsas.pr.gov.br/wp-content/    | http://www.pmsas.pr.gov.br/wp-content/    |