less than 1000 bits in an interval doesn't make sense

From: Carlos Trujillo Jimenez (nergal888@hotmail.com)
Date: Thu Sep 27 2007 - 14:20:16 ART


Hi guys.

Im trying to setup generic traffic shaping using the MQOS.

I have 2 scenarios in which both I want to achieve the 10 ms TC, and 0 be.
So when I try to apply both configurations, only the policy-map
"SHAPE-ALL-TO-128" can accept me in the serial interface without problems. I
do the verification step with the "show policy-map interface" and I can see
the 10ms TC and 0 BE.

policy-map SHAPE-ALL-TO-128
  class class-default
   shape average 128000 1280 0

policy-map SHAPE-ALL-TO-64
  class class-default
   shape average 64000 640 0

but when I try to apply the second policy-map "SHAPE-ALL-TO-64" at the
serial interface, of course first leaving the first policy-map
"SHAPE-ALL-TO-128", and then applying this new policy-map "SHAPE-ALL-TO-64",
the following error appeaRs, and dont let me SET THE POLICY MAP INTO THE
INTERFACE UNLESS I CHANGE THE BE VALUE TO SOMETHING MORE THAN 1000.

p4r4(config-if)#service-policy output SHAPE-ALL-TO-64
less than 1000 bits in an interval doesn't make sense

BUT if I change the value to something more than 1000 the TC interval also
changes, and Im broking the goal of the 10 ms tc.

so I tried changing the bc from 640 to 1000, and the applying to the
interface, but when I do the verirication I see the TC IS 15, so my quesiton
Is how can I get the 10 ms TC with a CIR OF 64KBPS? using generic traffic
shaping?

  Service-policy output: SHAPE-ALL-TO-64

    Class-map: class-default (match-any)
      1 packets, 13 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)
            64000/64000 250 1000 1000 15 125

NOT CONVINCED WITH THIS ONE, I TRYED THE SAME, BUT USING FRAME RELAY TRAFFIC
SHAPING TRANSFORMING THE SAME CLASS-MAP PARAMETERS IN GENERIC TRAFFIC
SHAPING TO THE MAP-CLASS PARAMETERES IN FRAME RELAY TRAFFIC SHAPING:

map-class frame-relay DLCI405-SHAPE64
frame-relay cir 64000
frame-relay bc 640
frame-relay be 0
frame-relay mincir 64000

AND SUCCESFULLY PERFORMING THE OBJECTIVE:

p4r4# show traffic-shape

Interface Se0/0
       Access Target Byte Sustain Excess Interval Increment Adapt
VC List Rate Limit bits/int bits/int (ms) (bytes)
Active
405 64000 80 640 0 10 80 -

ANY IDEAS WHY WITH TRAFFIC SHAPING I CAN SUCCESFULLY ACHIEVE THE 10 MS TC,
AND WITH GENERIC TRAFFIC SHAPING NOT?? BUT ALL THIS HAPPENs only when I have
a cir of less than 100 KBPS. If I have a cir of more than 100 000 the goal
of the 10 ms tc works with both configurations, using generic traffic
shaping and using frame relay traffic shaping.



This archive was generated by hypermail 2.1.4 : Sat Oct 06 2007 - 12:01:16 ART