From: Thor Kopp (thorkopp@googlemail.com)
Date: Mon May 19 2008 - 15:28:05 ART
shape average 128000: gives you just what you ask for ie it shapes to that
rate.
R1(config-if)#do show policy-map inter ser0/1 | begin Traffic
Traffic Shaping
Target/Average Byte Sustain Excess Interval Increment
Rate Limit bits/int bits/int (ms) (bytes)
128000/128000 1984 7936 7936 62 992
Adapt Queue Packets Bytes Packets Bytes Shaping
Active Depth Delayed Delayed Active
- 0 0 0 0 0 no
shape peak 128000: is based on shaping = configured_rate (1 + Be/Bc), as you
aren't setting the bc/be in the shape command they default to equal each
other so be/bc = 1, therefore it's 2x(shaping rate) meaning that you can
transmit up to 256k on the interface.
R1(config-pmap-c)#do show policy-map inter ser0/1 | begin Traffic
Traffic Shaping
Target/Average Byte Sustain Excess Interval Increment
Rate Limit bits/int bits/int (ms) (bytes)
256000/128000 1984 7936 7936 62 1984
Adapt Queue Packets Bytes Packets Bytes Shaping
Active Depth Delayed Delayed Active
- 0 0 0 0 0 no
- Thor
On Thu, May 8, 2008 at 3:37 PM, Jai Chauhan <jai.ccie@gmail.com> wrote:
> Hi!
>
> *Average* and *peak *are types of distributed traffic shaping. When *shape
> average* is configured, the interface sends no more than the Bc size for
> each interval, achieving an average rate no higher than the CIR. When
> the *shape
> peak* command is configured, the interface sends Bc plus Be bits in each
> interval.
>
> if you use shape average 3M, so it means that minimum shaping is 3 M ( you
> should buy 3 M from the ISP)
>
> if you use shape peak 1.5M with Be=Bc , it means that minimum is 1.5 M but
> you can get max if link is free up to 3 M , but in this case you buy 1.5 M
> from the ISP , and any extra traffic maybe dropped ( over the 1.5 M)
>
> Please see the following links:
>
> *Distributed Traffic Shaping *
>
> http://www.cisco.com/en/US/docs/ios/12_2/qos/configuration/guide/qcfpolsh.html#wp1004234
>
> *Configuring Class-Based Shaping *
>
> http://www.cisco.com/en/US/docs/ios/12_2/qos/configuration/guide/qcfcbshp.html#wp1002798
>
> Regards,
>
> *-Jai*
>
> On 5/8/08, ccie <ccie@just-horizon.com> wrote:
> >
> > Dear GS,
> >
> > What would be the difference between
> >
> >
> >
> > Shape average 128
> >
> > Vs.
> >
> > Shape peak 128
> >
> >
> >
> > Regards,
> >
> > Amin
> >
> >
> > _______________________________________________________________________
> > 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
This archive was generated by hypermail 2.1.4 : Mon Jun 02 2008 - 06:59:17 ART