MQC shape vs peak command confusion

From: naveen M S <navin.ms_at_gmail.com>
Date: Fri, 3 Apr 2009 21:27:25 -0700

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
Received on Fri Apr 03 2009 - 21:27:25 ART

This archive was generated by hypermail 2.2.0 : Mon May 04 2009 - 07:39:11 ART