07-08-2008 12:32 AM - edited 03-03-2019 10:37 PM
Hi
I want to reduce a line from 100 meg to 20 meg
Can any assist me in unerstanding rate-limit.
Or is it better to traffic shape
Many thanks
07-08-2008 02:03 AM
Richard
policy-map Shape-all-20
class class-default
shape average 20000000
int fa0/1
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.
Jon
07-08-2008 02:10 AM
Jon
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
cheers Richard
07-08-2008 02:29 AM
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.
HTH
Sam
07-08-2008 02:47 AM
Hi
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 ?
07-08-2008 02:58 AM
policy-map LIMIT
class class-default
police 5.5 mbps 400 kbyte conform-action transmit exceed-action drop
#under interface#
service-policy output LIMIT
07-08-2008 03:11 AM
ok so when I enter police 200000000 (normal burst bytes)
what does normal burst bytes do?
07-08-2008 03:20 AM
use 1/4 of that, then divide further by 8 to get the value in Byte..or simply divide by 32.
its just a guidelines I use sometimes.
07-08-2008 03:29 AM
Does not like this to much
(config-if)#service-policy output
LTS_TRAFFIC_SHAPE
Configuration failed!
Warning: Assigning a policy map to the output side of an interface not supported
07-08-2008 03:34 AM
depends on platform, and maybe also interface type.
are u on a 35XX and Interface VLAN ?
07-08-2008 04:14 AM
3750 Gigeth
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: