ZXR105900ESeriesCongurationGuide(QoS)
àThetrafclimitbasedontheportdoesnotcauseanyextradelay.
ThetrafclimitbasedontheportusestheMMUregister.Ifitisnotsupportedbythe
ACLrule,extrapacketstothisportwillbedroppedinthedefaultdropmode.Thatis
tosay,thecurrentpacketswillbedroppedifnotokenbucketisobtained.
Aftertherateislimited,thepacketwillbecoloredinsrTCMBLINDmode.TheEBS
isequaltotheCBS,sothereareonlyredandgreenpackets,andnoyellowpackets.
Ifatokenisobtainedfromthetokenbucket,thepacketwillbegreen.Ifnotokenis
obtainedfromthetokenbucket,thepacketwillbered.Theredpacketsaredropped
bydefault,andthegreenpacketsareallowed.
lTrafcshaping
Thetrafcshapingfunctionlimitstherateofpacketssentfromtheport.Inthiscase,
packetscanbesentoutatanaveragespeed.Thetrafcshapingfunctionismainly
usedtomatchtherateofpacketswiththerateofdownstreamdevicestoavoidpacket
congestionandpacketloss.
Thedifferencebetweentrafcshapingandtrafclimitisasfollows:Thetrafcshaping
functionbuffersapacketthatexceedsthecommittedrate,andthensendsthepacket
atanaveragespeed.However,thetrafclimitfunctiondiscardsthepacketbecause
thepacketexceedsthecommittedrate.Thetrafcshapingfunctioncausesthedelay,
butthetrafclimitfunctiondoesnotcauseanydelay.
ThetrafcshapingfunctionisalsoimplementedthroughtheMMUregister.
lQueuescheduling
EachphysicalportoftheZXR105900Esupportseightoutputqueues(queue0-7)
whicharecalledCoSqueues.Theswitchperformstheoutputoperationonthe
ingressinaccordancewiththeCosqueuecorrespondingto802.1pofpackets.
Whennetworkcongestionoccurs,multiplepacketsmayoccupytheresources.This
problemissolvedthroughthequeueschedulingfunction.
TheZXR105900Esupportsthreetypesofqueuescheduling,includingStrictPriority
(SP),WeightedRoundRobin(WRR),andDecitWeightedRoundRobin(DWRR).
Eightoutputqueuesofthisportusedifferentschedulingmodes.
àStrictPriority(SP)
Inthismode,thepacketineachqueueisstrictlyscheduledinaccordancewiththe
priority.Thepacketsinthequeuewiththehighestprioritywillbescheduledrst.
Whenthepacketswiththehighestpriorityinthequeuearescheduledcompletely,
thepacketsinthequeuewithasecondhighestprioritywillbescheduledthen,
andsoon.
Thestrictpriorityschedulingensuresthatpacketsofkeyservicesareprocessed
rst.Inaddition,theQoSofkeyservicesareguaranteed.However,thequeue
withalowerprioritymayneverbeprocessed.
àWeightedRoundRobin(WRR)
1-2
SJ-20150114102049-008|2015-01-15(R1.0)ZTEProprietaryandCondential