RE: "Police" command

From: Darren Johnson (dazza_johnson@yahoo.co.uk)
Date: Sat Jan 12 2008 - 18:05:44 ARST


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



This archive was generated by hypermail 2.1.4 : Fri Feb 01 2008 - 10:37:59 ARST