ZXR102900ESeriesCongurationGuide
DoublePortsLoopDetectionCongurationInstance
lCongurationDescription
SeeFigure5-50,congurethedoubleportsloopdetectionfunctionofloop-detectof
switch2tosuppressbroadcaststormofnetworkunderswitch2.
Figure5-50DoublePortsLoopDetectionCongurationTopology
lCongurationProcedure
Switch2(cfg)#setloopdetectport1,2enable
Switch2(cfg)#setloopdetectextendport1enable
lCongurationVerication
Checktheloopdetectionstateofswitch2.
Switch2(cfg)#showloopdetect
Theblock-delayofloopdetect:5(min)
Thepacketintervalofloopdetect:15(sec)
PortIdisUpisStpisProtectisExtendloopVlanNumloopType
----------------------------------------------------
1UpNoYesYes1Port
2UpNoYesNo0Port
5.38UDLDConguration
UDLDOverview
UniDirectionalLinkDetection(UDLD)isaLayer2logicallinkdetectionprotocol.Itcan
detectlogicalconnectivityofEthernetlinksandverifyphysicalconnectivity.Differentfrom
physicalconnectivitydetection,UDLDisneighbor-baseddetection.Layer1devicesare
transparentforUDLD.
UDLDneedstoestablishneighborrelationshipbetweenLayer2devicesrst,Aport
supportsamaximumnumberof12neighbors.WhentheUDLDfunctionisenabledon
anEthernetportwhosestatusisup,theportsendsaProbemessageinvitinganeighbor
devicetojoin.TheportonwhichtheUDLDfunctionisenabledontheneighbordevice
receivestheProbemessageandsendsanEchomessage.IftheportreceivestheEcho
message,theconnectionbetweenthedevicesworksproperlyinbothdirectionsinthe
viewofthelocaldevice.Neighborrelationshipisestablishedwiththepeerdeviceonthe
localdevice.ThelocaldevicessendsanEchomessage.Afterthepeerdevicereceives
theEchomessage,theneighborrelationshipisestablishedbetweenthedevices.
Afterneighborrelationshipisestablished,thedevicessendHellomessagesperiodically
todetectwhetherthelinkisoperatingproperly.WhenreceivingaHellomessagefromthe
neighbor,adeviceupdatestheneighborinformationsavedlocallyandresetsthetime-out
5-140
SJ-20130731155059-002|2013-11-27(R1.0)ZTEProprietaryandCondential