RE: shape on 3560

From: gp <gs4me2me_at_gmail.com>
Date: Sat, 6 Aug 2011 22:19:06 +0200

Thank you Marko for explanation, it helps.

What confusing me if I have a task to guaranteed some traffic for example 10Mbps on giga interface on switch, and I cannot use priority queue, so I want to send that traffic before packet in shared queue in way to put it in shaped queue which will be served before shared queues.

The problem is that I donbt know what type of interface will be connected to my switch (1Gbps or 100M) and that is value from which will be calculated value for shaping on particular queue.

For example:
Negotiated speed = 1Gbps
Srr-queue bandwidth shape 0 100 0 0
Queue 2 will be shaped to 100Mbps

Negotiated speed = 100Mbps
Srr-queue bandwidth shape 0 100 0 0
Queue 2 will be shaped to 10Mbps

In other way as I understand there is no way to hard code shape value regarding to negotiated speed?

Regards,
Gp

-----Original Message-----
From: Marko Milivojevic [mailto:markom_at_ipexpert.com]
Sent: Saturday, August 06, 2011 7:42 PM
To: gp
Cc: ccielab_at_groupstudy.com
Subject: Re: shape on 3560

It will be using the bandwidth available to the SRR.

Cat2#sh mls qos interface fa0/18 queueing
FastEthernet0/18
Egress Priority Queue : disabled
Shaped queue weights (absolute) : 25 0 0 0
Shared queue weights : 25 25 25 25
The port bandwidth limit : 100 (Operational Bandwidth:100.0) <<<<<<<
The port is mapped to qset : 1

See the "port bandwidth limit" line - that's the BW available to the
SRR. It is derived from the negotiated speed by default, but can be
limited using "srr-queue bandwidth limit" command on the interface.

Now, let's see if configured bandwidth influences this in any way:

interface FastEthernet0/18
 bandwidth 50000
!

Cat2(config-if)#do sh mls qos int fa0/18 qu
FastEthernet0/18
Egress Priority Queue : disabled
Shaped queue weights (absolute) : 25 0 0 0
Shared queue weights : 25 25 25 25
The port bandwidth limit : 100 (Operational Bandwidth:100.0)
The port is mapped to qset : 1

Doesn't look like it does. If I change the bandwidth limit.

interface FastEthernet0/18
 bandwidth 50000
 srr-queue bandwidth limit 25
!

Cat2(config-if)#do sh mls qos int fa0/18 qu
FastEthernet0/18
Egress Priority Queue : disabled
Shaped queue weights (absolute) : 25 0 0 0
Shared queue weights : 25 25 25 25
The port bandwidth limit : 25 (Operational Bandwidth:27.28)
The port is mapped to qset : 1

Whenever in doubt - ask IOS :-)

--
Marko Milivojevic - CCIE #18427
Senior Technical Instructor - IPexpert
FREE CCIE training: http://bit.ly/vLecture
Mailto: markom_at_ipexpert.com
Telephone: +1.810.326.1444
Web: http://www.ipexpert.com/
On Sat, Aug 6, 2011 at 01:18, gp <gs4me2me_at_gmail.com> wrote:
> Hello experts,
>
>
>
> When doing shaping on 3560 interface does reference bandwidth is configured
> bandwidth with bandwidth command or negotiated speed?
>
>
>
> For example the switch port is connected on Fast Ethernet router interface
> and I configured bandwidth 1000000 on switch port.
>
> With srr-queue bandwidth shape 0 100 0 0, will queue 2 be shaped on 10 or 1
> Mbps?
>
>
>
> Thank you!
>
>
> 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 Sat Aug 06 2011 - 22:19:06 ART

This archive was generated by hypermail 2.2.0 : Thu Sep 01 2011 - 06:05:56 ART