Specifications

Understanding and Configuring Loop Protect
March 14, 2011 Page 25 of 29
Configuring Loop Protect
ThissectionprovidesinformationaboutLoopProtectconfiguration:
EnablingorDisablingLoopProtect(page25)
SpecifyingLoopProtectPartners(page25)
SettingtheLoopProtectEventThresholdandWindow(page25)
EnablingorDisablingLoopProtectEventNotifications(page26)
SettingtheDisputedBPDUThreshold(page26)
MonitoringLoopProtectStatus
andSettings(page26)
Enabling or Disabling Loop Protect
Bydefault,LoopProtectisdisabledonallports.Usethiscommandtoenable(or,ifdesired,
disable)thefeatureononeormoreports:
set spantree lp port-string {enable | disable} [sid sid]
IfnoSIDisspecified,SID0isassumed.
ThiscommandtakesprecedenceoverperportSTPenable/disablestate(portAdmin).Normally,
portAdmindisabledwouldcauseaporttogoimmediatelytoforwarding.IfLoopProtectis
enabled,thatportshouldgotolisteningandremainthere.
Specifying Loop Protect Partners
Bydefault,eachportisnotsetasaLoopProtectcapablepartner.IftheportissetasaLoopProtect
capablepartner(true),thenthefullfunctionalityoftheLoopProtectfeatureisused.Ifthevalueis
false,thenthereissomeambiguityastowhetheranActive
Partnertimeout isdueto aloop
protectioneventorisanormalsituationduetothefactthatthepartnerportdoesnottransmit
AlternateAgreementBPDUs.Therefore,aconserva tiveapproachistakeninthatdesignatedports
willnotbeallowedtoforwardunlessreceivingagreementsfromaport
withrootrole.Thistypeof
timeoutwillnotbeconsideredaloopprotectionevent.Loopprotectionismaintainedbykeeping
theportfromforwarding,butsincethisisnotconsideredaloopevent,itwillnotbefactoredinto
lockingtheport.
UsethiscommandtosettheLoopProtect
partnerstateononeormoreports:
set spantree lpcapablepartner port-string {true | false}
Setting the Loop Protect Event Threshold and Window
TheLoopProtecteventthresholdisaglobalintegervariablethatprovidesprotectioninthecaseof
intermittentfailures.Thedefaultvalueis3.Iftheeventcounterreachesthethresholdwithina
givenperiod(theeventwindow),thentheportforthegivenSIDbecomeslocked(thatis,held
indefinitely
intheblockingstate).Ifthe thresholdis0,theportsareneverlocked.
UsethiscommandtosettheLoopProtecteventthreshold:
set spantree lpthreshold value
Note: The Loop Protect enable/disable settings for an MSTI port should match those for the CIST
port.