Chapter5ServiceConguration
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.
showloopdetect(allcongurationmodes)Displaysloopdetection
information.
showloopdetectport[<portlist>](allcongurationmodes)Displaysportinformationofloop
detection.
showloopdetecttrunk[<trunklist>](allcongurationmodes)Displaystrunkinformationofloop
detection.
zte(cfg)#clearloopdetectClearsloopdetectionconguration
information.
5-131
SJ-20131111172707-002|2013-11-27(R1.0)ZTEProprietaryandCondential