Rate-limited services are becoming popular among dedicated server and co-location customers for a variety of reasons. Some want a burstable service but wish to be protected from large, unexpected overage charges. Others are purchasing "unmetered" service at increments such as 20Mbps. Small network operators may not want to give their customers a full 100Mbps burstable port to reduce their exposure to overage bills or prevent a single customer from being able to saturate a 100Mbps switch or router uplink port.
Whatever your reason for deploying a configuration that rate-limits customer traffic, the below example applies to many Cisco IOS platforms. It will allow up to 5Mbps of traffic from the customer on port FastEthernet0/1, with a burst margin of 26KByte per 1Mbps. This example is not a complete configuration for any platform, and includes only statements relavent to the task.