RE: rate-limit question

From: kasturi cisco (kasturi_cisco@hotmail.com)
Date: Mon Oct 13 2003 - 12:56:13 GMT-3


SH,

As Raj said the Bc and Be values are in bytes and the CIR is in bps. Here
is what i came up with.

This is what u can do when use the CAR rate limiting feature. Same as ur
answer with bytes for Bc and Be.

interface FastEthernet0/0
ip address 192.168.11.11 255.255.255.0
 rate-limit output access-group 102 6000000 25000 375000 conform-action
 set-prec- transmit 1 exceed-action continue <-- with Bytes for Bc and
Be
rate-limit output access-group 102 2000000 50000 62500 conform-action
 set-prec-transmit 0 exceed-action drop

 access-list 102 permit tcp any any range 1000 2000

As per the last part of your Q we can do something close but not exactly
what scenario wants (i could be wrong !!) .We will have to use the 2
Two-Rate Policer which was intoroduced in 12.2.4T. Here is what i came u
with.

 interface FastEthernet0/0
 ip address 192.168.11.11 255.255.255.0
 service-policy output policy1

 access-list 102 permit tcp any any range 1000 2000

Router(config)# class-map police
Router(config-cmap)# match access-group 101

Router(config-cmap)# policy-map policy1
Router(config-pmap)# class police
Router(config-pmap-c)# police cir 2000000 bc 50000 pir 6000000 be 62500
conform-action set-prec-transmit 0 exceed-action set-prec-transmit 1
violate-action drop

So when traffic conforms ti 2Mbps or less it will be conform action.More
than 2 Mbps and less thans 6Mbps it will be xceed action ELSE violate.

Will do more research to see what i find. Correct me if needed. Here are
links which i used.

http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122newft/122t/122t4/ft2rtplc.htm

http://www.cisco.com/warp/public/105/cbpcar.html <-- See the last part of
the doc.

Good Luck,
Kasturi.

------------------------------------------------------------------------

MSN Hotmail now on your Mobile phone. Click here.

***Get your CCIE and a FREE vacation: Shop.GroupStudy.com***



This archive was generated by hypermail 2.1.4 : Mon Nov 24 2003 - 07:53:01 GMT-3