User`s guide

Overview of Spanning Tree Protocols
Matrix DFE Series and N-SA User’s Guide 5-3
Spanning Tree (IEEE 802.1D)
TheSpanningTreeProtocol(STP)definedinIEEE802.1Dallowsbridgestodynamicallydiscover
asubsetofthetopology thatisloopfree.Theloopfreetreethatisdiscoveredcontainspathsto
everyLANsegment.
TheSpanningTreeProtocolisusedtoeliminatedataloopsinanEthernetnetworkby
creatinga
treewherethereisonlyonedataroutebetweenanytwoendstations.STPblocksredundant data
paths.Shouldapathbecomeunreachable,STPautomaticallyactivatesablockedpath.Shoulda
bridgebeaddedcreatingaredundantpath,STPblocksoneofthepaths.STPcanalsochange
data
pathsbasedonacostchange.
AllbridgesthatsupportthespanningtreeexchangeinformationusingBridgeProtocolDataUnit
(BPDU)messages.UsingtheinformationexchangedbytheBPDUs,STPdesignatesabridgefor
eachswitchedLANsegment,andonerootbridgeforthespanningtree.Therootbridgeis
the
logicalcenterofthespanningtreeandisusedtodeterminewhichpathstoblock andwhichto
open.
Anetworkadministratorcandeterminethetopologyofthespanningtreebyadjustingthebridge
priority,portpriority,andpathcost.Thebridgepriorityassignsthebridge’srelativepriority
compared
tootherbridges.Theportpriorityassignstheport’spriorityinrelationtotheother
portsonthesamebridge.Bydefault,theportcostisavalueassignedtotheportbasedonthe
speedoftheport.Thefasterthespeed,thelowerthecost.Thishelpstodetermine
thequickest
pathbetweentherootbridgeandaspecifieddestination.Thesegmentattachedtotherootbridge
normallyhasapathcostofzero.
EachbridgehasaBridgeIdentification(BID),whichisderivedfromthebridge’sMACaddress
andbridgepriority.ThebridgewiththelowestBIDbecomes
therootbridge.
Rapid Spanning Tree (IEEE 802.1w)
TheRapidSpanningTreeProtocol(RSTP)definedinIEEE802.1wenhancestheSTPbyallowing
thenetworktopologytoreconvergeinasignificantlysmalleramountoftime.Thisispartially
accomplishedbyitsabilitytobe independentoftheprotocoltimervalueswhenconfiguring the
activetopologyofaLAN.
Multiple Spanning Trees (IEEE 802.1s)
TheMultipleSpanningTreeProtocol(MSTP),definedinIEEE802.1s,allowsforincreased
bandwidthutilizationandoptimalloadbalancingacrossredundantlinks.Itfurtherexpandsupon
STPandRSTPwiththefollowingfeatures:
BackwardscompatibilitywithSTPandRSTP.
•AbilitytocreateasingleCommonandInternalSpanningTree(CIST)thatrepresents
the
connectivityoftheentirenetwork.
•Userscangroupanynumberofdevicesintoindividualregions,witheachregionbehaving
andpresentingitselfasasingledevicetotherestofthenetwork.
•Aregioncancontainmultipleinstancesofthespanningtree,whereeachinstancecansupport
multipleVLANs.
Note: The terms path cost and port cost are sometimes used interchangeably. Normally, the port
cost is the value assigned to a specific port, while path cost, especially in a BPDU, is the sum of the
port costs in a path.