From: Victor Cappuccio (cvictor@protokolgroup.com)
Date: Sat Oct 29 2005 - 06:29:05 GMT-3
Hello,
Could anyone please explain the difference in having a police in a separated
Class matching any req, in the Same Policy Map that it's doing shaping on the
class-default vs. having a separate Policy Map doing rate-limiting and then
applying this police to the class-default using service-police of the main
Policy Map?
Thanks .
=======================================
R6#show policy-map
*Mar 1 04:21:44.518: %SYS-5-CONFIG_I: Configured from console by console
Rack1R6#show policy-map
Policy Map TEST
Class P2P
police cir 8000 bc 1500
conform-action transmit
exceed-action drop
Class class-default
Traffic Shaping
Average Rate Traffic Shaping
CIR 5000000 (bps) Max. Buffers Limit 1000 (Packets)
Bc 160000 Be 80000
police cir 8000 bc 1500
conform-action transmit
exceed-action drop
================= Vs ======================================
R6#show policy-map
Policy Map TEST
Class class-default
Traffic Shaping
Average Rate Traffic Shaping
CIR 5000000 (bps) Max. Buffers Limit 1000 (Packets)
Bc 160000 Be 80000
police cir 8000 bc 1500
conform-action transmit
exceed-action drop
service-policy POLICE
Policy Map POLICE
Class P2P
police cir 8000 bc 1500
conform-action transmit
exceed-action drop
=================
R6#show run interface serial 0/0
Building configuration...
Current configuration : 108 bytes
!
interface Serial0/0
ip address 54.1.1.6 255.255.255.0
service-policy output TEST
clockrate 512000
end
R6#show class-map
Class Map match-any class-default (id 0)
Match any
Class Map match-all P2P (id 1)
Match protocol kazaa2
Match protocol fasttrack
R6#
This archive was generated by hypermail 2.1.4 : Sun Nov 06 2005 - 22:00:55 GMT-3