RE: Queue bandwidth

From: Victor Cappuccio (cvictor@protokolgroup.com)
Date: Wed Jun 14 2006 - 22:14:00 ART


Hi Vinu

Defaults: Weight1, weight2, weight3, and weight4 are 25 (1/4 of the
bandwidth is allocated to each queue).

All four queues participate in the WRR unless the expedite queue (queue 4)
is enabled, in which case weight4 is ignored.

This example shows how to configure the weight ratio of the WRR scheduler
running on the egress queues. In this example, four queues are used (no
expedite queue "like a PQ Queue"), and the ratio of the bandwidth allocated
for each queue is 1/(1+2+3+4), 2/(1+2+3+4), 3/(1+2+3+4), and 4/(1+2+3+4),
which is 1/10, 1/5, 3/10, and 2/5 for queues 1, 2, 3, and 4.

Switch(config)# interface gigabitethernet0/1

Switch(config-if)# wrr-queue bandwidth 1 2 3 4

This example shows how to configure the weight ratio of WRR if the expedite
queue is enabled. Three queues participate in WRR, and the bandwidth
allocated for each queue is 1/(1+2+3), 2/(1+2+3), 3/(1+2+3), which is 1/6,
1/3, and 1/2 for queues 1, 2, and 3. The last parameter, 9, is not used to
calculate the bandwidth ratio.

Switch(config)# interface gigabitethernet0/1

Switch(config-if)# priority-queue out

Switch(config-if)# wrr-queue bandwidth 1 2 3 9

HTH
Victor
-----Mensaje original-----
De: nobody@groupstudy.com [mailto:nobody@groupstudy.com] En nombre de Vinu
Enviado el: Miircoles, 14 de Junio de 2006 08:21 p.m.
Para: Cisco certification
Asunto: Queue bandwidth

Can any one tell if these commands do the same thing

(config-if)#wrr-queue bandwidth 1 2 5 8
(config-if)#wrr-queue bandwidth 10 20 50 80

 from doc cd it says so

"
You configure the queues to be serviced according to the ratio of WRR
weights by using the *wrr-queue bandwidth* interface configuration command.
The ratio represents the importance (weight) of a queue relative to the
other queues. WRR scheduling prevents low-priority queues from being
completely neglected during periods of high-priority traffic by sending some
packets from each queue in turn. The number of packets sent corresponds to
the relative importance of the queue. For example, if one queue has a weight
of 3 and another has a weight of 4, three packets are sent from the first
queue for every four that are sent from the second queue."

-- 
Regards,
             Vinu

"Whatever you are, be a good one. "



This archive was generated by hypermail 2.1.4 : Sat Jul 01 2006 - 07:57:32 ART