From: Igor Manassypov (imanassypov@rogers.com)
Date: Tue Aug 05 2008 - 13:06:01 ART
Thats the shady area that everyone gets confused about, some ie scenarios just set 'shape peak x' where x is whatever in the question as opposed to using the calculated value.
akyccie <akyccie@gmail.com> wrote: I gues if you configure the "shape peak 512". It set the taget rate to 1mb.
See below. I guess you need to set here "shape peak 256" to meet the
requirement of "throughput up to the peak of 512kbps" as asked in the
question.
Any comments here.
R2#sh policy-map int fa0/0
FastEthernet0/0
Service-policy output: P1
Class-map: prec4 (match-any)
7 packets, 872 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: any
Queueing
Output Queue: Conversation 265
Bandwidth 384 (kbps)Max Threshold 64 (packets)
(pkts matched/bytes matched) 0/0
(depth/total drops/no-buffer drops) 0/0/0
Traffic Shaping
Target/Average Byte Sustain Excess Interval Increment
Rate Limit bits/int bits/int (ms) (bytes)
1024000/512000 3200 12800 12800 25 3200
----- Original Message -----
From: "Hobbs"
To: "Ahsan Mohiuddin"
Cc: "Cisco certification"
Sent: Tuesday, August 05, 2008 7:28 PM
Subject: Re: Shaping/Queuing Confusion
>I did it like this and it works:
>
> policy-map policy
> class fa0/0
> bandwidth 128
> shape average 256000
> class prec4
> bandwidth 384
> shape peak 512000
>
> Does that satisfy the requirements?
>
> Not sure why you are using nested policies...
>
>
> On Tue, Aug 5, 2008 at 3:09 AM, Ahsan Mohiuddin
> wrote:
>
>> Dear Experts,
>>
>> I am confused what would be the solution to below requirements. Please
>> help!
>>
>> Define two classes of service besides the default.
>>
>> Class Fa0/0 matches all the traffic coming from input interface fa0/0.
>>
>> Class IP-Prec matches all the traffic with an IP Precedence of 4.
>>
>> Class Fa0/0 is ensured a bandwidth of 128 Kbps and the output is shaped
>> to
>> 256 Kbps.
>>
>> Class IP-Prec is ensured a bandwidth of 384 Kbps. But if enough
>> bandwidth
>> is available, the class can obtain the throughput up to the peak of 512
>> Kbps
>>
>>
>> I tried the following configuration but when I apply it to interface, I
>> get
>> *"GTS : Can be enabled only at the first level"*
>>
>> Class Map match-all Fa0/0 (id 1)
>> Match input-interface FastEthernet0/0
>>
>> Class Map match-all IP-Prec (id 2)
>> Match ip precedence 4
>>
>> Policy Map Fa0/0
>> Class Fa0/0
>> Traffic Shaping
>> Average Rate Traffic Shaping
>> CIR 256000 (bps) Max. Buffers Limit 1000 (Packets)
>> Policy Map IP-Prec
>> Class IP-Prec
>> Traffic Shaping
>> Peak Rate Traffic Shaping
>> CIR 512000 (bps) Max. Buffers Limit 1000 (Packets)
>> Policy Map SHAPE
>> Class Fa0/0
>> Bandwidth 128 (kbps) Max Threshold 64 (packets)
>> service-policy Fa0/0
>> Class IP-Prec
>> Bandwidth 384 (kbps) Max Threshold 64 (packets)
>> service-policy IP-Prec
>>
>>
>> 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
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
Blogs and organic groups at http://www.ccie.net
This archive was generated by hypermail 2.1.4 : Mon Sep 01 2008 - 08:15:29 ART