RE: Police CIR and police rate.

From: Victor Cappuccio (vcappuccio@ccbootcamp.com)
Date: Sun Jul 22 2007 - 21:47:42 ART


Hi Julio,

Traffic policing controls the maximum rate of traffic sent or received on an
interface. Based on the results of the token bucket measurement, an action can
be configured to mark packets and separate packets into multiple classes or
levels of service.

For police rate Command

By UniverCD
http://www.cisco.com/univercd/cc/td/doc/product/software/ios124/124cr/hqos_r/
qos_o1h.htm#wp1090915
<http://www.cisco.com/univercd/cc/td/doc/product/software/ios124/124cr/hqos_r
/qos_o1h.htm#wp1084265>
Use the police rate command to limit traffic that is destined for the control
plane on the basis of pps, bps, or a percentage of interface bandwidth

Examples

The following example shows how to configure policing on a class to limit
traffic to an average rate of 1500000 pps:

Router(config)# class-map telnet-class

Router(config-cmap)# match access-group 140

Router(config-cmap)# exit

Router(config)# policy-map control-plane-policy

Router(config-pmap)# class telnet-class

Router(config-pmap-c)# police rate 1500000 pps burst 500000 packets

Router(config-pmap-c)# exit

For police CIR
http://www.cisco.com/univercd/cc/td/doc/product/software/ios124/124cr/hqos_r/
qos_o1h.htm#wp1084265
<http://www.cisco.com/univercd/cc/td/doc/product/software/ios124/124cr/hqos_r
/qos_o1h.htm#wp1084265>
police <cir> <bc> <be> to configure a 1 rate policer.

or
http://www.cisco.com/univercd/cc/td/doc/product/software/ios124/124cr/hqos_r/
qos_o1h.htm#wp1084420
<http://www.cisco.com/univercd/cc/td/doc/product/software/ios124/124cr/hqos_r
/qos_o1h.htm#wp1084420>

police cir <cir> pir <pir> to configure a 2 rates policer.

A good DocCD Example is
http://www.cisco.com/univercd/cc/td/doc/product/software/ios124/124cr/hqos_r/
qos_o1h.htm#wp1084265
<http://www.cisco.com/univercd/cc/td/doc/product/software/ios124/124cr/hqos_r
/qos_o1h.htm#wp1084265>
A good GS link about a police Thread
http://www.groupstudy.com/archives/ccielab/200509/msg00978.html
<http://www.groupstudy.com/archives/ccielab/200509/msg00978.html>
http://www.cisco.com/warp/public/105/cbpcar.html#topic1
<http://www.cisco.com/warp/public/105/cbpcar.html#topic1>
My 2 Cents
thanks,
Victor Cappuccio.-
- CCSI# 31452

Network Learning Inc - A Cisco Sponsored Organization (SO) YES! We take
Cisco Learning credits!
vcappuccio@ccbootcamp.com <mailto:vcappuccio@ccbootcamp.com>
http://www.ccbootcamp.com <http://www.ccbootcamp.com/> (Cisco Training and
Rental Racks)
Voice: 702-968-5100
FAX: 702-446-8012

________________________________

From: nobody@groupstudy.com on behalf of Julio Carrasco
Sent: Mon 7/23/2007 11:37 PM
To: ccielab@groupstudy.com
Subject: Police CIR and police rate.

Hi all,

Do anyone what is exactly the difference between those two configs:

policy-map HTTP
 class HTTP
  police cir 256000

and

policy-map HTTP
 class HTTP
  police rate 256000

Doing a IE lab I did the second config, but in the solutions i saw they did
the first, and I don4t understand why, so they are no using any burst or peak
rate.

Thanks in advance, Julio.



This archive was generated by hypermail 2.1.4 : Sat Aug 18 2007 - 08:17:41 ART