RE: CAR vs Service policy

From: Brian McGahan (bmcgahan@internetworkexpert.com)
Date: Tue Nov 25 2003 - 13:32:06 GMT-3


Tony,

        They are effectively the same. The minor differences are that the
MQC police statement has no direction, because the direction is determined
by how the service policy. Also there is no access-list or qos-group list
option, because this is matched inside the class-map. The main differences
however are in the implementation of the algorithm.

        The 'police' statement uses a three rate policer, and supports the
'violate' action. For this reason the 'police' statement does not support a
'continue' in its conform, exceed, violate options. This makes it more
difficult to create a complex top down policing policy since you have to use
nested classes.

        Regardless the MQC is the preferred method because it is modular and
easily changed and applied to multiple interfaces.

HTH,

Brian McGahan, CCIE #8593
bmcgahan@internetworkexpert.com

Internetwork Expert, Inc.
http://www.InternetworkExpert.com
Toll Free: 877-224-8987
Direct: 708-362-1418 (Outside the US and Canada)

> -----Original Message-----
> From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
> Tony Singh (A)
> Sent: Tuesday, November 25, 2003 9:19 AM
> To: ccielab@groupstudy.com
> Subject: CAR vs Service policy
>
> Hi All
>
>
>
> What is the difference between rate-limiting direct on the interface
> and using a service policy????/
>
>
>
> Example 1
>
> interface fastethernet 0/0
>
> description 45Mbps to R2
>
> rate-limit output access-group 101 8000 2000 4000 conform-action
> set-prec-transmit 5 exceed-action set-prec-transmit 0
>
> ip address 10.1.0.9 255.255.255.0
>
>
>
>
>
>
>
> Example 2
>
>
>
> class-map match-all acgroup2
>
> match access-group 101
>
> !
>
> !
>
> policy-map police
>
> class acgroup2
>
> police 8000 2000 4000 conform-action set-prec-transmit 5
> exceed-action set-prec-transmit 0
>
> interface fastethernet 0/0
>
> service-policy input police
>
>
>
>
>
> interface fastethernet 0/0
>
> service-policy output police
>
>
>
> Tony
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> Anesh Singh (A)
> SinghA1@telkom.co.za
>
>
>
>
>
>
>
>
>
> Powered by Plaxo <http://www.plaxo.com/signature/>
>
> Want a signature like this? <http://www.plaxo.com/signature/>
>
> [GroupStudy removed an attachment of type image/gif which had a name of
> image001.gif]
>
> _______________________________________________________________________
> Please help support GroupStudy by purchasing your study materials from:
> http://shop.groupstudy.com
>
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Fri Dec 12 2003 - 12:29:17 GMT-3