This question is in two parts:
Shape
How can I limit the bandwidth on a ASA5510 to less than 10Mbps?
Currently I have:
policy-map shape_policy
class class-default
shape average 9000000 36096
!
service-policy shape_policy interface outside
But when I look at the traffic on the outside interface it seems it sometimes busts the 10Mbps.
Police
Also, is it possible to limit the bandwidth taken by each users on the ASA? I've tried something like that (although it is not running at the moment):
police input 3000000 51200 conform-action transmit exceed-action drop
police output 3000000 51200 conform-action transmit exceed-action drop
Is it the way to go or is there a better way?
Thanks!
// Addendum:
I should add I'm using version 8.0(4) of the firmware as it can help provide proper configurations for the latest ASAs.
// Status:
I've opened up a bounty. I got two interesting answers although not definite. One seems to be outdated in terms of supported commands, the other one does not answer the second part of the question and leave me unsatisfied. Cisco experts needed!
This:
actually gives your ASA license to burst the the bandwidth you've allocated, if there#s been a suitably quiet period. If you want a guarantee that you never exceed a given bandwidth, using policing is a better option (on the other hand, with policing, any packets that exceed the bandwidth will be dropped instead of delayed).
Unfortunately, I don't have an ASA to check/test with but I use the below command on one of my routers to limit the bandwidth to 6Mb. Perhaps something similar will help with your shape question.