Re: 3560 ingress and egress queues

From: Narbik Kocharians (narbikk@gmail.com)
Date: Sun Jun 24 2007 - 18:44:52 ART


I hope that this helps:

   1. *Assign DSCP/CoS* values to a Queue.

*MLS qos srr-queue input DSCP-MAP Queue 1 Threshold 1 (8 DSCP/CoS values)*

* CoS-MAP
 2
           2*

*
 3*

   1. Configure the *2 Threshold* with *WTD percentages*

*MLS qos srr-queue input Threshold 1 20 65*

* 2 T1 T2
*

* Queues *

Remember that threshold 3 can not be changed, its always set at 100 percent

* *

   1. Configure the switch to divide the *input Buffers* for the two
   Queues based on a percentage

*MLS qos srr-queue input Buffers 60 40 *

* Q1 Q2*

   1. Configure the switch to split the *Bandwidth *between the two
   Queues

*MLS qos srr-queue input Bandwidth 30 40*

* Q1 Q2*

* *

   1. Optionally configure the *Priority-Queue*

*MLS qos srr-queue input priority-queue 1 bandwidth 0-40*

* 2*

*MLS qos srr-queue input Bandwidth 30 40*

* Q1 Q2*

* *

Note the priority Queue can be changed here. On 3550s if enabled, the
priority Queue is always set to be Queue 4. On 3560s for egress Queuing,
once its enabled, it will always take Queue 1.

*To configure Egress Queues:*

* *

X Map DSCP/CoS values to an Egress Queue and the Threshold values

* *

*MLS qos srr-queue output CoS-MAP Queue 1 Threshold 1 (8 Values)*

* DSCP-MAP 2
2*

*
 3 3*

*
 4*

X Allocate a percentage of Buffers used by each Queue within a Queue-set

* *

*MLS qos queue-set output 1 Buffers 40 20 20 20 (These are percentages
for Q1,2,3 and 4) 2*

* *

I think of Queue-sets as templates, the number after the "output" keyword
specifies the queue-set number. By default Queue-set 1 is assigned to all
interfaces, you can configure Queue-set 2 and assign it to a given
interface.

X Configure the WTD Thresholds

* *

*MLS qos queue-set output 1 Threshold 1 40 60 50 200*

* 2 2 T1 T2 Rsrv Max*

* 3*

* 4*

* Queues*

* *

X Specify how much of the Bandwidth is allocated to each Queue.

      Egress Queues can be configured for Shaped, Shared or both

      Shaped will always override Shared

Int F0/2

      Srr-queue Bandwidth Shape W1 W2 W3 W4

      *The weights control the percentage of the port that must be shaped.
If a 0 is entered, the Queue operates in Shared mode and
the weights for Shared come into effect.*

* *

      Srr-queue Bandwidth Shape 5 0 0 0

      *5 means that 1/5th of the 100% is assigned. And the rest of the
Queues are in Shared mode, sharing the remaining Bandwidth equally. *

* *

      Priority-queue out

      *This specifies that expedite Queue is in effect, remember that the
expedite Queue is always queue 1.*

Int F0/8

      Srr-queue Bandwidth limit (10-90)**

* The above command rate limits the Bandwidth utilization to the
specified value.*

On 6/24/07, Antonio Soares <amsoares@netcabo.pt> wrote:
>
> There's is a fantastic CoD available in one of the major vendors. Every
> detail of the complex 3560 QoS mechanisms are explained.
>
> -----Original Message-----
> From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
> robert.steeneken@getronics.com
> Sent: domingo, 24 de Junho de 2007 20:02
> To: ccielab@groupstudy.com
> Subject: 3560 ingress and egress queues
>
> I am having some trouble understanding the 3560 QOS. All teh book sI have
> are about the 3550 wrr-queueing. So now I try to find documents about the
> 3560 and some things are not completly clear. You can configure ingress
> and
> egress queues. The 3560 has two ingress and 4 egress queues. What I
> understand from cisco site teh traffic first hit the ingress queue the
> there
> is srr scheduling then teh ring and then 4 egress queues. But i don't see
> when to use the ingress queues for config and when the egress queues? If
> someone can explain please QOS is for me a point I need much focus on.
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>

--
Narbik Kocharians
CCIE# 12410 (R&S, SP, Security)
CCSI# 30832


This archive was generated by hypermail 2.1.4 : Sun Jul 01 2007 - 17:24:51 ART