Spanning Tree Protocol - Keeping your network from looping the loop.
MCSE, CISSP, Security+, Network+, A+ Certification Practice Exams, Study Guides and Vouchers Sign Up | Login   
MCSE, CCNA, CCNP, Security+, Network+, A+ Certification
Unlimited Access Practice Exams Audio Training Exam Vouchers Video Training Free White Papers
MCSE, CCNA, CCNP, Security+, Network+, A+ Certification
MCSE, CCNA, CCNP, Security+, Network+, A+ Certification
MCSE CCNA  A+ CERTIFICATION NETWORK+ ETHICAL HACKER SECURITY+   CISSP   CCNP MORE...
MCSE, CCNA, CCNP, Security+, Network+, A+ Certification
MCSE, CCNA, CCNP, Security+, Network+, A+ Certification
NETWORK

Spanning Tree Protocol - Keeping your network from looping the loop.

Email this ArticleEmail this Article  Print this ArticlePrint this Article

• Relates to: Network+ | CCNA | CCNP

Think your layer 3 routing skills will be enough to get you through your career, not to mention to a passing mark on the CCNA? Think again.

So long as Layer 2 bridges, switches and VLANs are around, you'll need to know more than you probably want to about the Spanning Tree Protocol STP. The norm, throughout your career, will be a network constantly in transition, a mix of layer 2 bridges and switches with layer 3 routers and perhaps a Layer 4 device or two. That and STP is on the test, to make a mental note: learn all about STP.

To that end, let us begin.

Spanning Tree is one of three bridging methods a network administrator can use. Which method you use usually will be determined by the network’s size. The simplest method is transparent bridging, where only one bridge or switch exists on the network. The next is Source-Route, in which bridging address tables are stored on each PC on the network. Then there’s what you came for, spanning tree, which prevents loops where there exists more than one path between segments.

For a nice breakdown of Transparent vs Source-Route, click here.

Which brings us to the Spanning Tree Protocol. STP is a bridge/switch protocol that uses the Spanning Tree Algorithm (STA) to avoid or eliminate loops on a layer 2 network (remember, routers word at Layer 3 so when you're talking STP, you're talking Layer 2, bridges and switches). The STA enables a learning bridge or switch to dynamically work around loops in a network's topology. These loops are created by the network itself. If the devices that connect the network segments are all configured to forward, they will continuously forward frames into an endless network loop. Get enough loops going and a frame will not reach its destination.

STP deals with this loop formation by enabling only one active path at a time. Bridges and switches exchange BPDU messages with other bridges and switches to detect loops and then remove them by shutting down selected bridge interfaces. One of the protocol's key benefits is in fault tolerance because there are redundant paths to fall back on if the primary path should fail.

All of that, in a nutshell, is what STP is. But, obviously, there's more to it than that. We'll start with what confuses a lot of techs, that algorithm.

Spanning Tree Algorithm (STA)

Y'know, when I first was learning basic networking concepts, my eyes used to glaze over whenever I saw words like "algorithm." Well, Spanning Tree Algorithm (STA) is not a difficult concept. Just bear with me.

First of all, an algorithm is nothing more than a set of steps taken to solve a problem. A recipe for vegetable soup is an algorithm. So, now that you know that part isn't complicated. . .
Digital Equipment Corporation developed STA to preserve the advantages of loops while eliminating the disadvantages. Digital's version of STA was latre revised by the IEEE 802 committee and was published in the IEEE 802.1d specification. Please note, Digital's algorithm and the IEEE 802.1d algorithm are not compatible and that all Cisco switches run on the IEEE 802.1d version
If an algorithm is a set of steps taken to solve a problem, then you know Spanning Tree Algorithm is a set of instructions designed to solve a problem on the network. That problem STA solves is those loops on the network. STA deals with this problem by designating a loop-free subset on the network's topology. It does this by placing those bridge ports that, if active, would otherwise create loops, into blocking. Blocking bridge ports can always be activated in the event of a primary link failure by providing a new path through the network.
Forward or block or . . .

Blocking is just one of a number of port states into which a port can be placed. In STP, ports can be set for blocking, disabled, forwarding, learning and listening. Switch ports can transition between these states. Here's how they break down:

Blocking - Port accepts BDPUs but doesn't act on or forward them. By default, all ports are in this state when the bridge or switch is turned on. Ports with...

You must be logged in to view this entire article.
Click Here to Finish Reading this Article


 Subscribe to our Free Must Know News Newsletter
 Name:     Email:  
MCSE, CCNA, CCNP, Security+, Network+, A+ Certification

KEYWORD
 
What is this?
Microsoft, CompTIA, Cisco Realistic Practice Exams
Microsoft, CompTIA, Cisco Realistic Practice Exams
Microsoft, CompTIA, Cisco Realistic Practice Exams
FREE STUDY GUIDES
FREE RESOURCES
FREE QUESTIONS >>
HOME
CERTIFICATIONS
VIDEO TRAINING
PRACTICE EXAMS
AUDIO TRAINING
EXAM VOUCHERS
FREE IT MAGAZINES
CERT COMPARISON
EXAM COMPARISON
SALARY SURVEY
CAREER TRACKS
ARTICLE DIRECTORY
WHITE PAPERS
QUESTION OF THE DAY
NEWSLETTER
ADVERTISE
Industry Updates &
Special Offers
Certification
MCSE, CCNA, CCNP, Security+, Network+, A+ Certification
MCSE, CCNA, CCNP, Security+, Network+, A+ Certification
Picks for October
Untitled Document > Persistent Group Chat: An Approach for More Profitable Team Communications : Unlike email, instant messages (IMs) do not allow group communication; nor do they persist -- you can't hold on to them for as long as you wish. Persistent group chat, however, allows businesses to organize persistent dialogue around business-critical topics, and keep them for easy retrieval later.

> Recent White Papers
> NetworkWorld - FREE Subscription Center

> Never Open a Book Again! LearnSmart Video Training for A+, CCNA, Network+ and more.

> Pass Guaranteed: Hundreds of practice exam questions and the most authentic exam simulation.

> Lecture Series audio: Learn at home, on your iPod or while driving to work.

> PMP: Learn everything for the Project Management Professional (PMP) certification

> Quiz Me Series Audio: Rapid-fire question and answer session training

Marketplace

IT Certifications may waive some degree requirements for an online degree. Free catalog!
For several of the IT degrees at WGU, if you hold a relevant IT certification (such as MCSE), you automatically clear a significant portion of the degree requirements. Don't hold an IT certification yet? Don't worry. Not every WGU degree program requires an IT certification in advance. You can earn both at the same time. Lower tuition too!

Earn an online bachelor's degree in Information Technology plus eight IT certifications
Including CompTIA, MySQL Core, and Sun Certified Programmer for the Java Platform. Your prior college and IT certifications may waive some degree requirements; however, you do not have to hold a major certification to enroll.


Earn an affordable, online bachelor's degree in Information Technology—Security Emphasis
plus nine IT certifications including Sun Certified Programmer for the Java Platform, MySQL Core, and Security+. Your prior college and IT certifications may waive some degree requirements

FREE subscription to Network World.
Your complimentary subscription will include 50 weekly issues jam packed with news analysis, expert industry opinion and management/career advice, all of which is packaged with your business needs in mind. We want to help you connect the technology dots and help you advance your company's business goals




Sponsored Link

MCSE, CCNA, CCNP, Security+, Network+, A+ Certification
Free Certification Training Free Certification Training Free Study Guides
   © 1999 - 2008 CramSession. All Rights Reserved. Home   Advertise   Corporate Info   Opportunities   Help