09-13-2010 04:30 AM - edited 03-06-2019 12:56 PM
Hi Team,
I am designing QoS on Cisco 2960 Switch.
My requirement:
Q – 1 Should get Shape Bandwidth 10 %
Q – 2 Should get Share Bandwidth 10 %
Q – 3 Should get Share Bandwidth 60 %
Q – 4 Should get Share Bandwidth 20 %
I can configure in following way:
Option 1:
CAT2960(config-if)# srr-queue bandwidth shape 10 0 0 0 CAT2960(config-if)# srr-queue bandwidth share 10 10 60 20 CAT2960(config-if)# priority-queue out |
Option 2:
CAT2960(config-if)# srr-queue bandwidth shape 1 0 0 0 CAT2960(config-if)# srr-queue bandwidth share 1 1 6 2 CAT2960(config-if)# priority-queue out |
I do not have any Cisco 2960 Switch to verify. Can you please let me know which one correct.
You have any suggestion on this please let me know.
Regards,
Nirmal
09-13-2010 07:01 AM
Hi Nirmal,
Both are the same. It is not percentage, it is ratio, so 'srr-queue bandwidth 10 10 60 20' is ame as 'srr-queue bandwidth 1 1 6 2'.
One thing to know is the priority queue is strict priority, which means once you have 'priority-queue out' in place, it will ignore the shape or share bandwidth.This queue will alway be served first until it is empty.
HTH,
Lei Tian
09-13-2010 07:16 AM
Hi Lei Tian,
Thanks for your quick response. I would have another query on it:
if I do the configuration as below:
CAT2960(config-if)# srr-queue bandwidth shape 10 0 0 0 CAT2960(config-if)# srr-queue bandwidth share 10 10 60 20 CAT2960(config-if)# priority-queue out |
Will the queue 1 server in strict priority with 1/10 of total interface bandwidth or how?
Deeply apologize if have already answered my query.
Regards,
Nirmal
09-13-2010 07:42 AM
Hi Nirmal,
No, the strict priority queue will not be limited to 1/10. The bandwidth command will be ignored for priority queue.If you want limit the P1 bandwidth to 10%, then you need remove 'priority-queue out' from your interface.
HTH,Lei Tian09-13-2010 07:58 AM
Appreciate your quick support. Thanks once again.
06-23-2011 06:19 AM
To add to that:-
Priority OVERIDES shape and share
shape over rides share
Regards
Mo
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: