'shape' is defined in absolute terms, while 'share' is based on relative
weights. The bandwidth reserved is the inverse of the 'shape' value set.
For instance, a setting of 2 would yield 1/2 of the interface bandwidth
reserved for that queue.
Also note that setting a 'shape' value for a queue will cause the 'shared'
setting to be ignored entirely.
I'm pretty sure your config is not doing what you think its doing.
Keller Giacomarro
keller.g_at_gmail.com
On Fri, May 3, 2013 at 3:38 PM, _ _ <krzysiek.zalewski_at_gmail.com> wrote:
> Hi. Please look below calculation, it is ok?
>
> interface FastEthernet0/20
> srr-queue bandwidth share 1 1 7 3
> srr-queue bandwidth shape 4 4 0 0
> mls qos trust dscp
>
> Q1 Q2 Q3 Q4
> shape 4 4 0 0
> share 1 1 7 3
> = 4 4 7 3
>
> Q1 = 4 -> 4/(4+4+7+3)=4/18 of full bandwidth(100Mb) = 22,22Mb ->
> 4/18*100Mb=22,22Mb
> Q2 = 4 -> 4/(4+4+7+3)=4/18 of full bandwidth(100Mb) = 22,22Mb ->
> 4/18*100Mb=22,22Mb
> Q3 = 7 -> 7/(4+4+7+3)=7/18 of full bandwidth(100Mb) = 38,88Mb ->
> 7/18*100Mb=38,88Mb
> Q4 = 3 -> 3/(4+4+7+3)=3/18 of full bandwidth(100Mb) = 16,66Mb ->
> 3/18*100Mb=16,66Mb
>
> =99,98Mb
> When Q3 and Q4 will have free bandwidth, can exchange it when they need.
> If Q4 is empty = 0 -> Q3 will have 38,88Mb+16,66Mb=55,54Mb
> If Q3 is empty = 0 -> Q4 will have 16,66Mb+38,88Mb=55,54Mb
> --
> Krzysiek
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
Blogs and organic groups at http://www.ccie.net
Received on Fri May 03 2013 - 15:46:03 ART
This archive was generated by hypermail 2.2.0 : Mon Jun 03 2013 - 06:34:34 ART