With the following commands configured under an interface:
srr-queue bandwidth share 10 10 60 20
srr-queue bandwidth shape 10 0 0 0
100/10 = 10% of bandwidth is reserved for queue 1 and other queues cannot share this bandwidth even if queue 1 is empty.
10/(10+10+60+20) = 10% of bandwidth is set for queue 2 and this bandwidth can be shared by queue 3 and queue 4 if they are congested.
60/(10+10+60+20) = 60% of bandwidth is set for queue 3 and this bandwidth can be shared by queue 2 and queue 4 if they are congested.
20/(10+10+60+20) = 20% of bandwidth is set for queue 4 and this bandwidth can be shared by queue 2 and queue 3 if they are congested.
If you use 'priority-queue out' command under an interface, as long as there is any traffic in the priority queue (queue 1 by default), 100% of the bandwidth is used by queue 1. Also, weight1 in the shape and share commands is not used in bandwidth calculation for other queues.
Without 'priority-queue out' , and above share and shape commands in place, queue1 can use at most 10% of the interface bandwidth beyond which packets will be dropped.
Hope this helps.
Please rate this answer if you found the content useful
This example shows how to configure the queues for the same port for both shaping and sharing. Because the weight ratios for queues 2, 3, and 4 are set to 0, these queues operate in shared mode. The bandwidth weight for queue 1 is 1/8, which is 12.5 percent. Queue 1 is guaranteed this bandwidth and limited to it; it does not extend its slot to the other queues even if the other queues have no traffic and are idle. Queues 2, 3, and 4 are in shared mode, and the setting for queue 1 is ignored. The bandwidth ratio allocated for the queues in shared mode is 4/(4+4+4), which is 33 percent:
I will have to lab it up to be sure, which I'm not able to do right now. But I would expect that is correct as queue 1 could have a different share value to it's shaped value. If the shaped value doesn't apply it should not have an effect on the other shared queues. Though my preference to be on the safe side would be to give it a shared weight of 1.
In your example if queue 1 is guaranteed 12.5% then the other 3 queues would get 33% of the remaining bandwidth. So on 100Mbit they would receive an equal share of the 87.5Mbit remaining, but would never encroach on the 12.5Mbit reserved for queue 1.
We have 3 identical switches configured by someone else and would like to claim some of the Gigabit ports(G1/G2/G3/G4) for use on servers. When we try to change the wiring and configuration, we run in to connectivity issues. Attached is a des...
This is actually a pretty cool feature, i didn't even know it existed until I was looking for a solution to advertise a subnet (prefix in BGP talk), only if a certain condition existed. This is exactly what conditional advertisements does
j ai une question j ai achete un routeur cisco 887VA-k9 , je le configuré avec la configuration ci- dessous
si je le lier avec mon pc portable sur l un de ses ports directement ça marche toute est bien ( la connexion internet + m...