From: Bit Gossip (bit.gossip@chello.nl)
Date: Sun May 20 2007 - 05:51:36 ART
Group,
the police command under MQC comes with 3 options:
R1(config-pmap-c)#police ?
<8000-2000000000> Bits per second
cir Committed information rate
rate Specify police rate
To me it seems the produce exactly the same effect. Is there maybe a
difference that I don't see?
Thanks,
Luca.
http://www.cisco.com/univercd/cc/td/doc/product/software/ios124/124cr/hqos_r/
qos_o1h.htm#wp1084068
~~~~~~~~~~~~~~ Option 1: police 640000 ~~~~~~~~~~~~~~
policy-map LUCA
class class-default
police 640000 conform-action transmit exceed-action drop
R1(config-pmap-c-police)#do show policy-map int f0/0
FastEthernet0/0
Service-policy input: LUCA
Class-map: class-default (match-any)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: any
police:
cir 640000 bps, bc 20000 bytes
conformed 0 packets, 0 bytes; actions:
transmit
exceeded 0 packets, 0 bytes; actions:
drop
conformed 0 bps, exceed 0 bps
~~~~~~~~~~~~~~ Option 2: police cir ~~~~~~~~~~~~~~
policy-map LUCA
class class-default
police cir 640000
conform-action transmit
exceed-action drop
R1#show policy-map interface f0/0
FastEthernet0/0
Service-policy input: LUCA
Class-map: class-default (match-any)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: any
police:
cir 640000 bps, bc 20000 bytes
conformed 0 packets, 0 bytes; actions:
transmit
exceeded 0 packets, 0 bytes; actions:
drop
conformed 0 bps, exceed 0 bps
~~~~~~~~~~~~~~ Option 3: police rate 640000 bps ~~~~~~~~~~~~~~
policy-map LUCA
class class-default
police rate 640000 bps
conform-action transmit
exceed-action drop
!
R1(config-pmap-c-police)#do show policy-map int f0/0
FastEthernet0/0
Service-policy input: LUCA
Class-map: class-default (match-any)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: any
police:
rate 640000 bps, burst 20000 bytes
conformed 0 packets, 0 bytes; actions:
transmit
exceeded 0 packets, 0 bytes; actions:
drop
conformed 0 bps, exceed 0 bps
This archive was generated by hypermail 2.1.4 : Fri Jun 01 2007 - 06:55:21 ART