3560 'srr-queue bandwidth shape' weighting

Unanswered Question
Jun 17th, 2010
User Badges:

According to some Cisco 360 R&S lab documentation I'm reading the command 'srr-queue bandwidth shape 4 4 0 0' will result in queue's 1 and 2 getting 25% of the shaped bandwidth each.  I could understand this if the last two 0's were 4 but they're not, so how does the weighting allocation work?

The full syntax is as follows, although I don't think the share command has anything to do with the weighting in the shape command?

srr-queue bandwidth shape 4 4 0 0

srr-queue bandwidth share 1 1 7 3

Any help appreciated...

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4 (2 ratings)

Hi Richard,

the way the shape command works is that the inverse of the specified weight (i.e. 1/4) multiplied by the interface bandwidth will be what is allocated and guaranteed to the queue. So in this case it could be 1/4 * 100Mbps (assuming an FE interface), which is 25Mbps and 25%.of 100Mbps.

If a weight of 0 is specified for a queue, the queue does not participate in shaping and will share the remaining bandwidth with any other queues that also have been assigned a weight of 0.

In the example configuration you gave, the remaining bandwidth for queues 3 and 4 would be 7/(7+3) * 100Mbps and 3/(7+3)*100Mbps respectively.



Mo'ath Al Rawashdeh Wed, 06/23/2010 - 03:24
User Badges:
  • Bronze, 100 points or more


Just a minor correction to Marcel's reply, the remaining bandwidth for queues' 3 & 4 would be 7/(7+3) * (100Mbps - 25Mbps - 25 Mbps) and 3/(7+3)*(100Mbps - 25Mbps - 25 Mbps) respectively.



This Discussion

Related Content