Re: Rate Limit

From: PANDI MOORTHY (moorthypandi@gmail.com)
Date: Thu Jul 20 2006 - 06:09:28 ART


Hi,

My option as below. Anyone please correct me if I am wrong.

Car::

rate-limit input access-group 101 2000000 31250 31250 conform-action
transmit exceed-action drop

For CAR works:

The exceed action happen only the both BC and BE is empty.

MQC:

R2#show class-map

 Class Map match-all HTTP (id 1)

   Match access-group 101

 Class Map match-any class-default (id 0)

   Match any

R2#show policy-map

  Policy Map HTTP

    Class HTTP

     police cir 2000000 bc 31250 be 31250

       conform-action transmit

       exceed-action transmit

       violate-action drop

For MOC,

The exceed action happen when the BC empty,
The violate action happen when both BC and BE are empty

Regards.
Pandi

On 7/20/06, Thunai Selvam (thunai) <thunai@cisco.com> wrote:
>
> Hi
> What is the correct way of doing rate limit i am seeing multiple
> version's
>
> when the question says Bandwidth for a Specific application should not
> exceed 2Mbps i am seeing Multiple Version.
>
> rate-limit access-list 101 2000000 24000 32000 confirm-action forward
> exceed-action drop
>
> access-list 101 permit tcp any any eq http
>
> or
> Rate-limit access-list 101 200000 24000 250 confirm-ac forward
> exceed-action drop
>
> 2000000/8 = Kbps ( Excess Burst )
>
> or
>
> Class-map match-any m
> match access-group 101
>
> policy-map p
> class-map m
> police cir 2000000 24000 32000
>
> Inter ser 0/0
> service-pol input p
>
>
> Regds
> Thunai
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Tue Aug 01 2006 - 07:13:48 ART