Policy rate with pps can only by applied under control-plane. This is the
message when you try to apply pps policing on physical interface:
R2(config)#int f0/0
R2(config-if)#service-policy input TEST00
police parameters in packets per second only allowed for control-plane
service-policy
For some reason Cisco thinks that only control plane needs to be policed by
pps and they created brand new command "police rate x pps". If they asked me
for an advice back then I would suggest to just add pps to already existing
"police cir", for example police cir pps :)
On 22 December 2010 06:59, Carlos G Mendioroz <tron_at_huapi.ba.ar> wrote:
> From the description, the packet rate is at stake, not the bit rate.
> So sounds like if it works, it should set a quota on pps.
>
> Test it! (it won't byte :)
> -Carlos
>
>
> Jack Router wrote:
>
>> Yes, but what happens when police rate is applied on physical interface ?
>> Is
>> it the same as police cir ?
>>
>> In my lab:
>> R1----(F0/0)R2(F0/1)----R3
>>
>> On R2 there are two policy-maps to limit icmp to 1%:
>>
>> policy-map TEST0
>> class TEST0
>> police cir percent 1
>> conform-action transmit
>> exceed-action drop
>>
>> policy-map TEST1
>> class TEST1
>> police rate percent 1
>> conform-action transmit
>> exceed-action drop
>>
>> TEST0 is applied on input of F0/0
>> TEST1 is applied on input of F0/1
>>
>> Now, when I ping R3 from R1 and R1 from R3 results are excactly the same.
>> Are then "police cir percent" and "police rate percent" THE SAME ? My test
>> tells me that they behave the same way, is there a difference in the way
>> they work inside the router or even not that ?
>>
>>
>> On 21 December 2010 14:28, Deepak Ahuja <deeps.ccie_at_gmail.com> wrote:
>>
>> Its a clear reference to COPP not General Policing
>>>
>>> HTH
>>> Deepak
>>>
>>> On Tue, Dec 21, 2010 at 6:03 PM, Jack Router <pan.router_at_gmail.com>
>>> wrote:
>>>
>>>> Hello,
>>>>
>>>> What for is "police rate" ? There is very little information about this
>>>> command. Even Cisco mentions it only twice in a 1100 page QOS
>>>>
>>> configuration
>>>
>>>> guide 12.4:
>>>>
>>>>
>>> http://www.cisco.com/en/US/docs/ios/qos/configuration/guide/12_4t/qos_12_4t_book.pdf
>>>
>>>> According to this document:
>>>>
>>>> CISCO-CLASS-BASED-QOS-MIB was extended to manage control plane QoS
>>>>
>>> policies,
>>>
>>>> and the police rate command was introduced to support traffic policing
>>>> on
>>>> the basis of packets per second for control plane traffic.
>>>>
>>>> Taking into consideration that "police rate" is meant to manage control
>>>> plane, what it does when it is attached to physical interface (not
>>>> control-plane) ?
>>>>
>>>>
>>>> Blogs and organic groups at http://www.ccie.net
>>>>
>>>> _______________________________________________________________________
>>>> Subscription information may be found at:
>>>> http://www.groupstudy.com/list/CCIELab.html
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>> --
>>> Regards
>>> Deepak Ahuja
>>> CCIE#19545(R&S/SP)
>>>
>>
>>
>> Blogs and organic groups at http://www.ccie.net
>>
>> _______________________________________________________________________
>> Subscription information may be found at:
>> http://www.groupstudy.com/list/CCIELab.html
>>
>>
>>
>>
>>
>>
>>
>>
> --
> Carlos G Mendioroz <tron_at_huapi.ba.ar> LW7 EQI Argentina
Blogs and organic groups at http://www.ccie.net
Received on Wed Dec 22 2010 - 16:13:35 ART
This archive was generated by hypermail 2.2.0 : Sat Jan 01 2011 - 09:37:49 ART