Help reqired to config QoS in Cisco 2960 switch

Unanswered Question
Sep 13th, 2010

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

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Lei Tian Mon, 09/13/2010 - 07:01

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

Nirmal Paria Mon, 09/13/2010 - 07:16

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

Lei Tian Mon, 09/13/2010 - 07:42

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
Mohammed Islam Thu, 06/23/2011 - 06:19

To add to that:-

Priority OVERIDES shape and share

shape over rides share

Regards

Mo

Actions

This Discussion