06-27-2013 12:28 AM - edited 03-03-2019 07:06 AM
Hi Guys, I have read the description related to this command. But I was not able to get a clear picture as to what is queue and stuff... Can anyone please simply and let me know the meaning of this command.
06-27-2013 09:56 AM
Disclaimer
The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
Liability Disclaimer
In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
Posting
A queue is a waiting line.
If you have more than one queue, per whatever is being waited on, then you have the option of how you service each queue.
For example, consider a line of people waiting to purchase a movie ticket from a single attendant. Next consider we split the line into two lines, one of "normal" people and the other of "aged" people. Assuming the latter are more physically frail, we could sell tickets to any "aged" before we sell to anyone else (that's LLQ or PQ) or for every "normal" person, we will sell to 3 "aged" persons (that's [selective] bandwidth sharing).
Same applies to frame/packets waiting to be transmitted by an interface. We can place different traffic into different queues and transmit them in different ratios or priorities. The srr-queue bandwidth share, tells the interface to share bandwidth between multiple queues.
07-01-2013 04:13 AM
Hi Joseph,
Thanks so much for the reply. Clears the picture for me.
I have bit of ambiguity running in my mind. The command srr-queue bandwidth share 1 30 35 5 will inform the particular interface to transmit data in the ratio specified. How is these ratios determined. Is there any formula? And wat does the order of weights/ratios signify. And if there are multiple queue with one of the queue as high priority traffic how will they get transmitted according to the ratio.
Eg. High Priority will follow 1. then next high priority 30 and so on?
and how is dis queue formed? How do we implement this priority level
07-01-2013 08:46 AM
For what device?
07-04-2013 04:11 AM
Disclaimer
The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
Liability Disclaimer
In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
Posting
I have bit of ambiguity running in my mind. The command srr-queue bandwidth share 1 30 35 5 will inform the particular interface to transmit data in the ratio specified. Correct, although enabling PQ takes the 1st value out of the computation. How is these ratios determined. Is there any formula? Do you mean how your 3750 uses the values or what they ought to be? The former is they are ratios, the latter depends on what you're trying to accomplish. You might set the ratios so certain queues are guaranteed a minimum amount of bandwidth that the traffic in that queue requires. For example, if you had a HD video stream that required 10 Mbps, on a 100 Mbps interface, you would insure its ratio provices it at least 10% of the bandwidth. Of if you had only defualt and scavenger traffic, you migth set the ratio 255:1. Effectively default would almost obtain PQ treatment vs. scavenger, but unlike PQ, scavenger couldn't be totally starved. And wat does the order of weights/ratios signify. The settings for each of your four egress queues, starting with Q1. And if there are multiple queue with one of the queue as high priority traffic how will they get transmitted according to the ratio. Q1 is ignored for bandwidth proportions of the remaining queues. Their ratios will apply to bandwidth not used by Q1.Eg. High Priority will follow 1. then next high priority 30 and so on?
and how is dis queue formed? How do we implement this priority level
I'm not sure what you're asking. If PQ is enabled, Q1 packets, if any queued, are trasmitted until Q1 is empty. PQ can use all 100% of bandwidth and starve other queues from obtaining any bandwidth. For any bandwidth not being used by PQ, your 3 remaining queue would share bandwidth 30:35:5 (or 6:7:1 or 42.9% [6/14] to 50% to 7.1%). If any queue or queues don't use all their bandwidth, what's not used is available to the other queues in their ratios. For example, if Q2 had no traffic, then Q3 and Q4 share 35:5 (or 7:1 or 87.5% [7/8] to 12.5%).
07-04-2013 12:03 AM
3750 switch
03-14-2018 10:49 AM
Shaped or shared bandwidth weights can be assigned to a queue using the srr-queue bandwidth shape and srr-queue bandwidth share interface commands. Shaped-mode weights override shared-mode weights. Also, if shaped weights are set to 0, the queue is operating in shared mode
in your config
Queue 1 the priority queue will be serviced first but also to avoid let this queue take all other queues bandiwdth is shaped to max 30 as the amount you put in the sahpe other queue will use the remaining percent based on the share not shape as shape is 0
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide