cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1103
Views
0
Helpful
5
Replies

Help reqired to config QoS in Cisco 2960 switch

Nirmal Paria
Level 1
Level 1

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

5 Replies 5

Lei Tian
Cisco Employee
Cisco Employee

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

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

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 Tian

Appreciate your quick support. Thanks once again.

To add to that:-

Priority OVERIDES shape and share

shape over rides share

Regards

Mo

Getting Started

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:

Review Cisco Networking products for a $25 gift card