From: Tony Singh (A) (SinghA1@telkom.co.za)
Date: Tue Nov 25 2003 - 13:55:46 GMT-3
Hi
The "police" continue by default if the drop option is not specified.
Is my assumption right??
2 I also assume that if I don't put continue at the end of the below
statement the traffic that does not conform will be send anyway
rate-limit output access-group 101 8000 2000 4000 conform-action
set-prec-transmit 5 exceed-action set-prec-transmit 0(.....)
Tony
-----Original Message-----
From: Brian McGahan [mailto:bmcgahan@internetworkexpert.com]
Sent: Tuesday, November 25, 2003 6:32 PM
To: Tony Singh (A); ccielab@groupstudy.com
Subject: RE: CAR vs Service policy
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]
>
>
This archive was generated by hypermail 2.1.4 : Fri Dec 12 2003 - 12:29:17 GMT-3