QoS Commands 211User Guidelines• You can use this command to distribute traffic into different queues, where each queue isconfigured with different weighted round robin (WRR) parameters.• To enable the expedite queues, use the priority-queue out Interface Configuration modecommand wrr-queue cos-map.ExampleThe following example maps CoS 3 to queue 4.wrr-queue bandwidthThe wrr-queue bandwidth Interface Configuration mode command assigns Weighted RoundRobin (WRR) weights to egress queues. The weights ratio determines the frequency in which thepacket scheduler dequeues packets from each queue. To return to the default values, use the noform of this command.Syntaxwrr-queue bandwidth weight1 weight2 ... weight_4no wrr-queue bandwidth• weight1...weight_4—Sets the bandwidth ratio by the WRR packet scheduler for thepacket queues. Separate each value by spaces. (Range: 6 - 255)Default ConfigurationThe default WRR weight is 1/4 ratio for all queues (each weight set to 6).Command ModeInterface Configuration (Ethernet, port channel) modeUser Guidelines• The ratio for each queue is defined by the queue weight divided by the sum of all queueweights (i.e., the normalized weight). This actually sets the bandwidth allocation of eachqueue.• A weight of 0 means no bandwidth is allocated for the same queue, and the share bandwidthis divided among the remaining queues.• All 4 queues are participating excluding the queues that are assigned as expedite queues. Theweights of these queues are ignored in the ratio calculation.• All 4 queues participate in the WRR exclude the expedite queues, in which case thecorresponded weight is ignored (not used in the ratio calculation). The expedite queue is apriority queue, and it is serviced until empty before the other queues are serviced.Console (config)# wrr-queue cos-map 4 3