Shape average/peak

From: Ian Blaney (ian.blaney@gmail.com)
Date: Wed Feb 14 2007 - 18:49:31 ART


Hi GS

I am slightly confused about the wording and meaning here.

class1 should be shaped to 64K
If there is available bandwidth on the interface class2 should be shaped to
64K peak.

I have configured the following

policy-map SHAPE
 class class1
  shape average 64000
 class class2
  shape peak 64000

interface Serial0/0
  service-policy output SHAPE

If I look at the following

R1#show policy-map interface s0/0
Serial0/0

  Service-policy output: SHAPE

    Class-map: class1 (match-all)
      0 packets, 0 bytes
      5 minute offered rate 0 bps, drop rate 0 bps
      Match: none
      Traffic Shaping
           Target/Average Byte Sustain Excess Interval Increment
             Rate Limit bits/int bits/int (ms) (bytes)
            64000/64000 2000 8000 8000 125 1000

        Adapt Queue Packets Bytes Packets Bytes Shaping
        Active Depth Delayed Delayed Active
        - 0 0 0 0 0 no

    Class-map: class2 (match-all)
      0 packets, 0 bytes
      5 minute offered rate 0 bps, drop rate 0 bps
      Match: none
      Traffic Shaping
           Target/Average Byte Sustain Excess Interval Increment
             Rate Limit bits/int bits/int (ms) (bytes)
           128000/64000 2000 8000 8000 125 2000

        Adapt Queue Packets Bytes Packets Bytes Shaping
        Active Depth Delayed Delayed Active
        - 0 0 0 0 0 no

Class2 has the output

Target/Average
  Rate
128000/64000

I understand that with shape peak each Tc Bc+Be bits can be sent but I am
confused with the 128000 under the Target Rate. Does this still meet the
specs of the original question "If there is available bandwidth on the
interface class2 should be shaped to 64K
 peak."

Thanks



This archive was generated by hypermail 2.1.4 : Thu Mar 01 2007 - 07:38:46 ART