ZXR105250SeriesCommandReference
Syntax
setqosqueue-schedulesession<1-7><0-255><0-255><0-255><0-255><0-255><0-255><0-25
5><0-255>[single-wrrgroup]
ParameterDescription
ParameterDescription
<1-7>Schedulingpolicytemplatenumber.
<0-255>
Eightcontinuous<0-255>indicatestheschedulingmodeof
queues0to7.ZerosindicatetheSPschedulingpolicy.Non-zero
valuesusetheWeightedRoundRobin(WRR)schedulingpolicy.
Bydefault,thedoubleWRRgroupschedulingmodeisused.The
queuesinaWRRgroupmustbecontinuous.
single-wrrgroupEnablesthesingleWRRgroupschedulingmode.
Guidelines
Ifthequeueweightis0,itindicatesstrictpriorityschedulingisused.
InmixedschedulingofWRRandSP ,thesystemprovidestwoschedulingmodes:
1.DoubleWRRgroupscheduling:Thesystemdistributesqueueswithnon-zeroweights
automaticallytotwoWRRgroups.ThequeuesinaWRRgroupmustbecontinuous.
TheschedulingpriorityofeachWRRgroupisequaltothelowestqueuepriorityinthis
group.WithinaWRRgroup,schedulingisperformedbasedonconguredweights.
SchedulingbetweenaWRRgroupandanSPqueueisperformedbasedonstrict
prioritysettings.
Forexample,theweightsofcos0-cos7respectivelyare:0,1,2,3,0,1,2,and0.
setqosqueue-schedulesession101230120
Theirschedulingprioritiesareasfollows:cos7>[cos5andcos6aremixedintogroup
WRR0.Thepriorityis5,andtheyarescheduledinthe1:2proportion.]>cos4>[cos1
tocos3aremixedintogroupWRR1.Thepriorityis1,andtheyarescheduledinthe
1:2:3proportion.]>cos0
2.SingleWRRgroupschedulingmode:Thesystemdistributesqueueswithnon-zero
weightsautomaticallytooneWRRgroup.TheschedulingpriorityoftheWRRgroup
isequaltothelowestqueuepriorityinthisgroup.WithinaWRRgroup,schedulingis
performedbasedonconguredweights.SchedulingbetweenaWRRgroupandan
SPqueueisperformedbasedonstrictprioritysettings.
Forexample,theweightsofcos0-cos7respectivelyare:0,1,2,3,0,1,2,and0.
setqosqueue-schedulesession101230120single-wrrgroup
Theirschedulingprioritiesareasfollows:cos7>cos4>[cos1,cos2,cos3,cos5,and
cos6aremixedintogroupWRR0.Thepriorityis1,andtheyarescheduledinthe
1:2:3:1:2proportion.]>cos0
4-310
SJ-20131111172707-003|2013-11-27(R1.0)ZTEProprietaryandCondential