Specifications

Understanding and Configuring Loop Protect
March 14, 2011 Page 23 of 29
Port Modes and Event Triggers
PortsworkintwoLoopProtectoperationalmodes.Iftheportisconfiguredsothatitisconnected
toaswitchingdeviceknowntoimplementLoopProtect,itusesfullfunctional(enhanced)mode.
Otherwise,itoperatesinlimitedfunctional(standard )mode.
ConnectiontoaLoopProtectswitchingdevi ceguaranteesthatthe
alternateagreement
mechanismisimplementedand,therefore,thedesignatedportcanrelyonreceivingaresponseto
itsproposalregardlessoftheroleoftheconnectedport.Thishastwoimportantimplications.
First,thedesignatedportconnectedtoanonrootportmaytransitiontoforwarding.Second,there
isno
ambiguitywhenatimeouthappens;aLoopProtecteventhasoccurred.
Infullmode,whenatype2BPDUisreceivedandtheportisdesignatedandpointtopoint,the
timerissetto3ti meshelloTime.Limitedmodeaddsafurtherrequirementthattheflagsfieldin
theBPDU
indicatesarootrole.Iftheportisaboundaryport,theMSTIsforthatportfollowthe
CIST(forexampleiftheMSTIporttimersaresetaccordingtotheCISTporttimer).Iftheportis
internaltotheregion,thentheMSTIporttimersaresetindependently
usingtheparticularMSTI
message.
LoopProtectinitializestheMSTItimertozeroanddoesnotallowthedesignatedporttotransition
fromlisteningtolearninguntilthetimerbecomesnonzero.If theportisnotdesignated,the timer
doesnotapply.Itsstateiscontrolledthroughnormalprotocolbehavior.
A
disputedBPDUisoneinwhichtheflagsfieldindicatesadesignatedrole,alearningstate,and
thepriorityvectorisworsethanthatalreadyheldbytheport.IfadisputedBPDUisreceived,the
portisforcedtothelisteningstate.
Messageageexpirationandtheexpirationofthe
LoopProtecttimerarebotheventsforwhich
LoopProtectgeneratesanoticelevelsyslogmessage.Youcan alsoconfiguretrapstoreportthese
events,aswellasasyslogmessageandtrapfordisputedBPDUs.
Inaddition,youcanconfigureLoopProtecttoforcethelockingofaSID/portwhen
oneormore
eventsoccurs.Whentheconfigurednumberofeventshappenwithinagivenwindowoftime,the
portwillbeforcedintoblockingandheldthereuntilyoumanuallyunlockit.
Example: Basic Loop Protect Configuration
ThefollowingsampleconfigurationshowshowLoopProtectfunctionsinabasicSpanningTree
topology.
IntheexampleinFigure 8,Switch1istherootbridgewithBPDUsbeingsenttobothSwitch2and
3.(DesignatedportsarelabeledDandrootportsarelabeledR.)Switch3hasplaced
theportthat
connectstoSwitch2inablockingstate.