Specifications

CoS Hardware Resource Configuration
May 09, 2011 Page 14 of 38
•Namestheportgroup
Assignsportstotheportgroup
ConfiguresnonLLQqueuesforweightedfairqueuing
•Mapsreferencestobothabesteffortandacontrolqueue,basedonthealreadyexistingLLQs
onthedevice
•MapsCoSprioritysettingstothequeues
•EnablesCoS
•Providesrelatedshowcommanddisplays
CoS Port Configuration Layer
FortheCoSportconfiguration layer,usethesetcosportconfigtxqcommandto:
Configureanewportgrouptemplate1.0
•NametheportgrouptemplateWFQConfiguration
Assignportsge.1.3,ge.1.5andge.1.22toportgroup1.0
Configurequeues1‐8asweightedfairqueuesbytimeslice:
Queue10
Queue20
Queue310
Queue410
Queue515
Queue615
Queue720
Queue830
Whenconfiguringweightedfairqueues,configuredpercentagesmustaddupto100%ofthe
supportedtimeslices.Inthiscase,theportsupports100timeslices.
CoS
portConfigurationCLIinput:
System(su)->set cos port-config txq 1.0 name WFQConfiguration ports ge.1.3,5,22
arb-slice 0,0,0,10,10,15,15,20,30,0,0
CoS TxQ Reference Configuration Layer
Bydefault,TxQreferences1‐8maptohardwarequeues1‐8.WearegoingtoremapTxQ
reference1toqueue0andTxQreference8toqueue9.ThiswillallowTxQreference1tobeour
besteffortqueuewhichwillonlybeservicedifallother
queuesareempty.
TxQreference8willbeforcriticaltrafficandwillbeservicedbeforeanyotherconfigurablequeue.
TxQreferences27willbeservicedbasedonWFQ.
TheCoSTxQreferencelayermappingstoqueuesareconfiguredusingthesetcosreferencetxq
command.CoSTxQreferencemapping
CLIinput:
System(su)->set cos reference txq 1.0 1 queue 0
System(su)->set cos reference txq 1.0 8 queue 9