From: nhatphuc (nhatphuc@gmail.com)
Date: Thu Jan 17 2008 - 06:49:02 ARST
I used to see police cir command without pir set. In this case is it the
same as police command?
Thanks
On Jan 13, 2008 3:05 AM, Darren Johnson <dazza_johnson@yahoo.co.uk> wrote:
> Hey there. Have you checked out the documentation cd?
>
> Check it out at:
>
>
> http://www.cisco.com/univercd/cc/td/doc/product/software/ios124/124cr/hqos_r
> /qos_o1h.htm
>
> Basically, the first one allows you to specify one rate, and the second
> command allows you to specify two rates. For example:
>
> Police 200000 1000 1000 conform-action transmit exceed-action drop
>
> You can set the violate-action but it only applies to packets above burst
> sizes.....
>
> However, you can be more granular with the second command. This is taken
> direct from the link above and made things much clearer for me:
>
> police cir 100000 bc 10000 pir 200000 be 10000 conform-action transmit
> exceed-action set-prec-transmit 2 violate-action drop
>
> With this example, the CIR is 100 kbps, the PIR is 200 kbps, and a data
> stream with a rate of 250 kbps arrives at the two-rate policer, the packet
> would be marked as follows:
>
> .100 kbps would be marked as conforming to the rate
> .100 kbps would be marked as exceeding the rate
> .50 kbps would be marked as violating the rate
>
> As you can see, traffic below CIR is transmitted unmodified. Traffic above
> CIR but below PIR is transmitted with IP Prec set to 2 and above PIR is
> dropped.
>
> This long winded email basically boils down to, the second one allows you
> to
> be more granular based on two rates (not one rate as the first command
> does).
>
> HTH
>
> Dazzler
>
>
> -----Original Message-----
> From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
> Sadiq Yakasai
> Sent: 10 January 2008 23:03
> To: ccielab@groupstudy.com
> Subject: "Police" command
>
> Hey Guys,
>
> Please can someone remind me of the different between the following
> two commands:
>
> police x y z
>
> &
>
> police cir x y z
>
> Thanks
>
> Sadiq
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
>
>
> ___________________________________________________________
> To help you stay safe and secure online, we've developed the all new
> Yahoo! Security Centre. http://uk.security.yahoo.com
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
This archive was generated by hypermail 2.1.4 : Fri Feb 01 2008 - 10:38:00 ARST