ZXR102900ESeriesCongurationGuide
loopdetectionanddisablingtheportwithloopcanefcientlyavoidtheinuencecaused
byportloop.
Theswitchsendsatestpacketthroughaport.Ifthistestpacketisreceivedthroughthe
portwithoutanychange(oronlyatagisattached),itindicatesthataloopexistsinthis
port.
Thetestpacketsentbytheswitchincludesthefollowingthreeparameters:
lSourceMACaddress:ItindicatestheMACaddressoftheswitch.TheMACaddress
ofeachswitchisunique.
lPortNumber:Portnumberscorrespondtothenumbersoftheportsontheswitchone
byone.
lDiscriminationField:Foreachswitch,thedigitalsignatureofeachportisdifferent.
Whenthreeparametersinthereceivingandsendingtestpacketsaresame,theloop
denitelyexistsonthisport.
ConguringSinglePortLoopDetection
Thecongurationofsingleportloopdetectionincludesthefollowingcontents:
CommandFunction
zte(cfg)#setloopdetectsendpktinterval<5-60>Setstheintervalforsendingloop
detectionpacket.
zte(cfg)#setloopdetectblockdelay<1-1080>Setsintervalforblockingportwith
loop.
zte(cfg)#setloopdetectport<portlist>{enable|disable}Enablesordisablesloopdetection
onaport.
zte(cfg)#setloopdetectport<portlist>vlan<vlanlist>{enable|d
isable}
Enablesordisablesloopdetection
onaportinaspecicVLAN.
zte(cfg)#setloopdetectport<portlist>protect{enable|disable}Enablesordisablesportprotection
whenaloopoccursonaport.
zte(cfg)#setloopdetectextendport<portlist>{enable|disable}Enablesordisablescross-device
loopdetectiononaport.
zte(cfg)#setloopdetecttrunk<trunklist>{enable|disable}Enablesordisablesloopdetection
onatrunkport.
zte(cfg)#setloopdetecttrunk<trunklist>vlan
<vlanlist>{enable|disable}
Enablesordisablesloopdetection
onatrunkportinaspecicVLAN.
zte(cfg)#setloopdetecttrunk<trunklist>protect{enable|
disable}
Enablesordisablestrunkport
protectionwhenaloopoccurson
atrunkport.
zte(cfg)#setloopdetectextendtrunk<trunklist>{enable|disable}Enablesordisablescross-device
loopdetectiononatrunkport.
5-138
SJ-20130731155059-002|2013-11-27(R1.0)ZTEProprietaryandCondential