Chapter5ServiceConguration
periodoftheneighbor.IfthedevicedoesnotreceivesaHellomessagewhenthetime-out
periodexpires,itisconsideredthattheafaultoccurstotheneighborandtheneighboris
aged.Ifthelastneighborisdeletedduetoaging,itisconsideredthatthelinkisnotin
normaloperatingstate.Itisnecessarytohandletheproblemaccordingtoworkingmode.
TherearetwoUDLDworkingmodes:normalmodeandaggressivemode.
lInnormalmode,onlywhenthedevicereceivesaprotocolmessageconrmingthat
thelinkisconnectedincorrectlywilltheportbeshutdown.Ifthedevicedoesnot
receivetherelatedmessageorcannotconrmthatthelinkisworkingproperlyinone
direction,thedevicedoesnotoperatetheport.
lInaggressivemode,ifthedevicecannotconrmthatthelinkisworkingproperlyin
bothdirections(suchasthelinkisconnectedincorrectly,thelinkisworkingproperly
onlyinonedirectionorthelinkisaself-loop),theportisshutdown.Itisnecessaryto
usetheresetorrecoverycommandtorecoverthecommunicationabilityoftheport.
UDLDshutsdownaportinthefollowingsituations.
lInbothmodes,whenanEchomessageissent,thedevicedetectsthattheneighbor
ofthepeerportisnotthedeviceitselfduringthenalneighbordetection.
lInaggressivemode,thestatusbecomesPROBEbecausethelastneighborisaged,
andmultipleProbemessagesaresentcontinuouslywithoutanyresponse.
lInaggressivemode,theportreceivestheUDLDmessagesentbyitselfandthereis
aself-loop.
Topreventaneighborfrombeingagedbymistake,alocaldevicesendsFlushmessages
onitsowninitiativetotheportonwhichtheUDLDfunctionisenabledinthefollowing
situations.
lTheportisdownadministratively.
lUDLDisdownontheport.
lThedeviceisrestarted.
ConguringUDLD
TheUDLDcongurationincludesthefollowingcommands:
CommandFunction
zte(cfg)#udldport<portlist>{enable|disable}EnablesordisablesUDLDona
port.
zte(cfg)#udldport<portlist>mode{aggressive|normal}SetsthemodeofaportinUDLD.
zte(cfg)#udldport<portlist>messagetimer<7-90>Setstheintervalofsending
messagesafterUDLDentersthe
BiDirectionalstatusandtheportis
steady.
zte(cfg)#udldport<portlist>recovery{enable|disable}EnablesordisablestheUDLD
recoveryfunction.
zte(cfg)#udldport<portlist>recoverytimer<10-600>Setstherecoveryinterval.
5-141
SJ-20130731155059-002|2013-11-27(R1.0)ZTEProprietaryandCondential