For example :
rate-limit input access-group 120 5000000 24000 24000 conform-action
transmit exceed-action drop
Would set a limit of 5Mbps for the traffic on access-list 120. The 24000 is for the amount of bytes in the token bucket, which I suggest you read about on cisco's web site. Basically, it's a concept in which this is the depth of the buffer sending packets. This buffer empties at 5Mbps but has 24KBytes capacity (without at first considering the excess buffer capacity, the other 24000 argument). That is, if your workstation sends instantly (which is not possible, but supposed it was) 24000 bytes, this would yeild an infinite bandwidth (which could top at 1 Gbps in a gigabit network) to the router, without having any traffic dropped, as long as it stops right after for the time to empty the token bucket (divide 24000 BYTES/5Mbits per seconds = 0,0384 seconds). So every 0,0384 seconds, you can send 24000 bytes without overpassing the bandwidth you set on the router. You have at LEAST to put 1500 Bytes in this bucket because if your packets are full ethernet sized and the bucket does not have enough space in it, it will discard the packet. In UDP traffic, this is pretty bad, as opposed to TCP which can survive traffic drops.
Hope this helps ...
Olivier
Olivier Martin
--------------
Read that somewhere and I think its cool :
If you want to accelerate a Windoze Box, there is an easy way to have it accelerate at -9.8 m/s^2
