shape average 20000000
service-policy output Shape-all-20
where fa0/1 is the interface you want to do the shaping on.
Shaping is generally better than strict rate-limiting as instead of just dropping packets it smooths out the bursts of traffic.
Thats clear so what would this statment produce:
rate-limit input 20000000 30000000 40000000 conform-action transmit exceed-action drop
rate-limit output 20000000 30000000 40000000 conform-action transmit exceed-action drop
U have 2 options:
1-Shaping as per Jon's post, which will buffer and gives users a better experience.
2-strict policing is as you mentionned. personally, I prefer below command ( in a policy map).
police BW bps BURST byte conform-action transmit exceed-action drop
Though shaping is better as it does not drop when it can buffer. But it is CPU taxing.
Policing is stricter, but not so hard on CPU.
How do I configure this?
I just trying to get my head round this
I need a policy-map also a class map and bind it to the interface right ?
Does not like this to much
Warning: Assigning a policy map to the output side of an interface not supported