be aware that the shape peak formula is not the same as the shaping formula
shape peak
peak rate = CIR(1 + Be / Bc)
shape average (CIR) = bc*1000/tc
HTH
Salah
On Sat, Apr 4, 2009 at 4:40 PM, Ruhann <groupstudy_at_ru.co.za> wrote:
> Mr Petr wrote a great article about the shape peak command:
>
>
> http://blog.internetworkexpert.com/2008/08/26/understanding-the-shape-peak-command/
>
> On Sat, Apr 4, 2009 at 6:27 AM, naveen M S <navin.ms_at_gmail.com> wrote:
>
> > Group,
> >
> > Here is my task :
> >
> > 1) Shape HTTP traffic to a peak rate of 128kbps sent out to Vlan 34.
> > 2) Use Bc and Be bursts based on 10ms interval.
> >
> > *My solution was -*
> >
> > class-map HTTP
> > match protocol http
> > policy-map SHAPE
> > class HTTP
> > * shape peak 128000 1280 0*
> > interface gig 0/0
> > service-policy output SHAPE
> >
> > Rack1R1(config-pmap-c)#* do sh policy-map int gig0/0*
> > Target/Average Byte Sustain Excess Interval Increment
> > Rate Limit bits/int bits/int (ms) (bytes)
> > 128000/128000 160 1280 0 10 160
> >
> > *The workbook solution was -*
> >
> > class-map HTTP
> > match protocol http
> > policy-map SHAPE
> > class HTTP
> > * shape peak 64000 6400 6400*
> > interface gig 0/0
> > service-policy output SHAPE
> >
> > Rack1R1(config-pmap-c)# *do sh policy-map int gig0/0*
> > Target/Average Byte Sustain Excess Interval Increment
> > Rate Limit bits/int bits/int (ms) (bytes)
> > 128000/64000 1600 6400 6400 100 1600
> >
> > What difference it makes to the peak output rate when either of the 2
> > statements are given ?
> >
> > 1) shape peak 128000 1280
> > 2) shape peak 64000 6400 6400
> >
> > Thanks,
> > Naveen.
> >
> >
> > Blogs and organic groups at http://www.ccie.net
> >
> > _______________________________________________________________________
> > Subscription information may be found at:
> > http://www.groupstudy.com/list/CCIELab.html
> >
> >
> >
> >
> >
> >
> >
> >
>
>
> --
> <ruhann>
>
>
> 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 Apr 04 2009 - 21:34:48 ART
This archive was generated by hypermail 2.2.0 : Mon May 04 2009 - 07:39:11 ART