From: gladston@br.ibm.com
Date: Thu Jun 30 2005 - 10:34:40 GMT-3
Hi,
When configuring violate action on CB Police, I understand Wendell explanation that "CB policing uses a simpler algorithm than CAR when a Be value has been configured". (pag. 348, DQoS)
Now, when violate action is not configured, does the algorithm is changed?
Or CB just checks Be and if there is not enough tokens the packet are transmitted or if there isn't the packet is discarded?
(no Dc and Da as in CAR)
Or, are once posted here, CB with Be withouth the keyword violate is not valid, although IOS takes the command?
Rack2R5(config)# policy-map Police
Rack2R5(config-pmap)# class Police
Rack2R5(config-pmap-c)# police cir 64000 bc 8000 be 1000
Rack2R5(config-pmap-c-police)# conform-action transmit
Rack2R5(config-pmap-c-police)# exceed-action drop
Rack2R5(config-pmap-c-police)# violate-action drop
Rack2R5#sh policy-map interface ser 0/0
Serial0/0
Service-policy input: Police
Class-map: Police (match-all)
71423 packets, 22027792 bytes
5 minute offered rate 53000 bps, drop rate 7000 bps
Match: access-group 104
police:
cir 64000 bps, bc 8000 bytes, be 1000 bytes
conformed 68579 packets, 20396020 bytes; actions:
transmit
exceeded 2672 packets, 1532012 bytes; actions:
drop
violated 172 packets, 99760 bytes; actions:
drop
conformed 46000 bps, exceed 1000 bps, violate 5000 bps
Rack2R5(config)# policy-map Police
Rack2R5(config-pmap)# class Police
Rack2R5(config-pmap-c)# police cir 64000 bc 8000 be 1000
Rack2R5(config-pmap-c-police)# conform-action transmit
Rack2R5(config-pmap-c-police)# exceed-action drop
Rack2R5(config-pmap-c-police)#no violate-action drop
policy-map Polic
class Police
police cir 64000 bc 8000 be 1000
conform-action transmit
exceed-action drop
Rack2R5#sh policy-map interface ser 0/0
Serial0/0
Service-policy input: Police
Class-map: Police (match-all)
73504 packets, 22676038 bytes
5 minute offered rate 48000 bps, drop rate 8264000 bps
Match: access-group 104
police:
cir 64000 bps, bc 8000 bytes
conformed 70517 packets, 20963166 bytes; actions:
transmit
exceeded 2747 packets, 1573672 bytes; actions:
drop
conformed 42000 bps, exceed 6000 bps
This archive was generated by hypermail 2.1.4 : Wed Jul 06 2005 - 14:43:46 GMT-3