I have a site that has a 20mb DS3. I want to limit them to 3mb for everything. What I have so far is this:
shape average 3000000
service-policy output SHAPE
service-policy input POLICE
This seems to work great. On a speed test (up and down) I get 3mb. Is this the best way, or should I be doing something else?
The provider may, or may not, be cooperative with your request. Plus, if the bandwidth is there for an "emergency", it might be difficult to have them remove a soft cap quickly for an emergency.
The inbound 3 Mbps policer will keep your downstream hosts from getting more than 3 Mbps, but a policer won't guarantee that the WAN link (inbound) won't exceed 3 Mbps. This because most non-TCP flows won't slow when there are drops, and even TCP flows can burst above the policer rate before they self slow.