ZXR105900ESeriesCongurationGuide(IPv4Routing)
RIPprovidesthefollowingfourtypesoftimers:
àUpdatetimer
SwitchrunningRIPtransmitsrouteupdatemessageatacertaininterval(30sby
default),whichreectsalltheroutinginformationoftheswitch.Thisprocessis
calledroutinginformationadvertisement.
àInvalidtimer
Invalidtimer:Whenaswitchfailstoreceiveupdateinformationfromanother
switchinacertaintimeperiod(180sbydefault),itmarkstheroutesprovidedby
theswitchtobe"unavailable".
àHolddowntimer
Afterlearningthatroutesareunavailable,theswitchwillenterhold-downstate.
Ifswitchreceivesrouteupdatepacketwithinthedefault180secondsorifswitch
failstoreceiverouteupdatepacketafter180seconds,theholddowntimerwill
stoptiming.
àFlushTimer
Whenitisnotupdatedinthesucceedingperiodoftime(240sbydefault),the
switchclearstheroutecompletelyfromtheroutingtable.
lRIPRouteUpdate
RIPprotocolemploystriggerupdatetospeedupthespreadofroutingchangesinthe
RIProutingdomain.WhenaRIProuterdetectsthataninterfaceisworkingorhas
stoppedworking,aneighbornodeisdownoranewsubnetorneighbornodejoins
in,itwilltransmitatriggerupdate.Thetriggerupdatepacketonlycontainschanged
route.
RIPprotocolusespoisonreversetospeedupprotocolconvergence.Thepoison
reversesetsthemetricoftheunreachablenetworkprexestobe16(meaning
unreachable).Afterreceivingrouteupdatepacketofthemetric,theswitchwill
discardtherouteinsteadofwaitingfortheagingtime.
RIPusessplithorizontopreventloopandreducethesizeofrouteupdatepacket.Split
horizonmeansthatifaninterfacereceivesarouteupdatepacket,itwillnottransmit
thisupdatepacketfromitselftoothers.
RIPWorkingPrinciple
RIPdenestwokindsofmessagetypes,requestandresponsemessages.Request
messageisusedtosendaupdatetoneighborswitch,andresponsemessageisused
totransmitrouteupdate.
1.Atthestart,RIPbroadcastsormulticastpacketswhichcontainrequestmessagefrom
everyRIPinterface.
2.Later,RIPentersaloopstate,italwaysmonitorstheRIPrequestorresponse
messagesfromotherswitches,andtheneighborswitcheswhichaccepttherequest
willreplyresponsemessagescontainingtheirroutingtables.
2-2
SJ-20150114102049-003|2015-01-15(R1.0)ZTEProprietaryandCondential