This is the full text rate limiting example that accompanies my Catalyst rate limiting post. This example was derived on a Cisco Catalyst 2960 and should be ready to copy and paste directly to your device.

mls qos

ip access-list extended ACL_SLAP
 permit ip any any
class-map match-all CLASS_SLAP
  match access-group name ACL_SLAP

policy-map POLICY_SLAP
  class CLASS_SLAP
    police 8000000 100000 exceed-action drop

interface GigabitEthernet0/2
 service-policy input POLICY_SLAP