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

From: Ben (bmunyao@gmail.com)
Date: Fri Sep 28 2007 - 09:38:58 ART


Carlos

On FR, you need to use a map-class as follows:

Rack1R1#sh run policy
Building configuration...

Current configuration : 77 bytes
!
policy-map SHAPER
 class class-default
  shape average 64000 640 0
!
end

Rack1R1#sh run map
Building configuration...

Current configuration:
!
map-class frame-relay SHAPE
 service-policy output SHAPER
end

Rack1R1#sh run int s1/0.1
Building configuration...

Current configuration : 129 bytes
!
interface Serial1/0.1 point-to-point
 ip address 10.1.31.1 255.255.255.0
 frame-relay interface-dlci 103
  class SHAPE
end

Rack1R1#
Rack1R1#sh policy-map int s1/0.1
 Serial1/0.1: DLCI 103 -

  Service-policy output: SHAPER

    Class-map: class-default (match-any)
      4 packets, 1284 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 80 640 0 10 80

        Adapt Queue Packets Bytes Packets Bytes Shaping
        Active Depth Delayed Delayed Active
        - 0 4 1284 0 0 no
Rack1R1#

HTH

Ben

On 9/27/07, Carlos Trujillo Jimenez <nergal888@hotmail.com> wrote:
>
> 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.
>
> _________________________________________________________________
> MSN Amor: busca tu = naranja http://latam.msn.com/amor/
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html



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