It sounds like you need to use mqc and configure a class-map to match on the protocol and the packet length. Then configure a policy map to call that class map and using policing rather than the rate-limit command. I've done similar configuration to drop traffic, but never to obtain a specific success rate. So, you'll just have to try and play around with your policing actions and figures. Something similar to below except policing as opposed to a drop.
R2#sh run | s class-map class-map match-all ICMP-cm match protocol icmp match packet length min 64 match packet length max 64 R2#sh run | s policy-map policy-map ICMP-pm class ICMP-cm drop On Mar 13, 2012, at 6:51 AM, Waleed Alsherif wrote: > Hi All > > I am trying to limit an ICMP traffic from R1 to R2 , where R2 ping R1 with > ICMP packet size 64Byte , I would to configure R1 rate-limit to make the > success rate 97% ? > > I used this configuration and test but it is not working " > > R1 : > interface s0/0 > rate-limit input 8000 1000 2000 conform-action transmit exceed-action drop // > minimal values > > > R2: > R2(config-if)#do ping 1.1.1.1 si 46 rep 100 > > Type escape sequence to abort. > Sending 100, 46-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds: > !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! > !!!!!!!.!!!!!!!!!!!!!!!!!!!!!! > Success rate is 98 percent (98/100), round-trip min/avg/max = 1/5/68 ms > > > What is your advice ? > > Best Regards > Waleed Abdulfattah Alsherif > IP and Data Network Engineer > CCIE RS (Written) / CCNP / CCNA > Mob. 002-01019556246 > _______________________________________________ > For more information regarding industry leading CCIE Lab training, please > visit www.ipexpert.com > > Are you a CCNP or CCIE and looking for a job? Check out > www.PlatinumPlacement.com > > http://onlinestudylist.com/mailman/listinfo/ccie_rs _______________________________________________ For more information regarding industry leading CCIE Lab training, please visit www.ipexpert.com Are you a CCNP or CCIE and looking for a job? Check out www.PlatinumPlacement.com http://onlinestudylist.com/mailman/listinfo/ccie_rs
