Re: Byte Limit on CB Shaping

From: Bob Sinclair (bsin@cox.net)
Date: Fri Apr 29 2005 - 19:22:33 GMT-3


Gladston,

As Odom so well points out, the shape average command defaults to Be equal to
Bc. If you want no Be, you must explicitly set it to zero, as below:

 policy-map SHAPE
  class class-default
   shape average 96000 9600 0

R1#sh policy-map int
 Serial1/0

  Service-policy output: SHAPE

    Class-map: class-default (match-any)
      2 packets, 650 bytes
      5 minute offered rate 0 bps, drop rate 0 bps
      Match: any
      Traffic Shaping
           Target/Average Byte Sustain Excess Interval Increment
             Rate Limit bits/int bits/int (ms) (bytes)
            96000/96000 1200 9600 0 100 1200

Bob Sinclair
CCIE #10427, CCSI 30427, CISSP
www.netmasterclass.net

  ----- Original Message -----
  From: gladston@br.ibm.com
  To: ccielab@groupstudy.com
  Sent: Friday, April 29, 2005 4:18 PM
  Subject: Byte Limit on CB Shaping

  Do you know how to configure Be when using CB Shaping?
  On the following example I did not specified it, and it defaults to 9600
(Wendell's DQoS indicates that too)

  As the Byte Limit showed is Bc + Be (2400), I am considering it is really
using Be. (which would be the same with GTS, that shows Be = Bc and byte limit
equaus Be/8 + Bc/8).
  Would you agree?

  Rack2R3#sh pol
  Rack2R3#sh policy-map int ser 1/3

   Serial1/3

    Service-policy output: shape-all

      Class-map: class-default (match-any)
        468 packets, 418802 bytes
        5 minute offered rate 3000 bps, drop rate 0 bps
        Match: any
        Traffic Shaping
             Target/Average Byte Sustain Excess Interval Increment
               Rate Limit bits/int bits/int (ms) (bytes)
              96000/96000 2400 9600 9600 100 1200

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

        Service-policy : rtp

          Class-map: rtp (match-all)
            0 packets, 0 bytes
            5 minute offered rate 0 bps, drop rate 0 bps
            Match: protocol rtp audio
            Queueing
              Strict Priority
              Output Queue: Conversation 24
              Bandwidth 32 (kbps) Burst 800 (Bytes)
              (pkts matched/bytes matched) 0/0
              (total drops/bytes drops) 0/0

          Class-map: class-default (match-any)
            468 packets, 418802 bytes
            5 minute offered rate 3000 bps, drop rate 0 bps
            Match: any

  R3 config:

  ip cef
  !
   class-map match-all rtp
    match protocol rtp audio
  !
  !
   policy-map rtp
    class rtp
     priority 32
   policy-map shape-all
    class class-default
     shape average 96000 9600
     service-policy rtp
  !
  int ser 1/3
  encap frame-relay
  ip address 142.20.23.3 255.255.255.0
  ip router isis
  isis circuit-type level-2-only
  isis authentication mode md5 level-2
  isis authentication key-chain Isis-authen
  frame-relay map clns 200 broadcast
  frame-relay map ip 142.20.23.2 200 broadcast
  service-policy output shape-all

  _______________________________________________________________________
  Subscription information may be found at:
  http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Tue May 03 2005 - 07:55:10 GMT-3