cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
577
Views
6
Helpful
10
Replies

Rate-limit

richard.gosling
Level 1
Level 1

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

10 Replies 10

Jon Marshall
Hall of Fame
Hall of Fame

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

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

cisco_lad2004
Level 5
Level 5

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

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 ?

policy-map LIMIT

class class-default

police 5.5 mbps 400 kbyte conform-action transmit exceed-action drop

#under interface#

service-policy output LIMIT

ok so when I enter police 200000000 (normal burst bytes)

what does normal burst bytes do?

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.

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

depends on platform, and maybe also interface type.

are u on a 35XX and Interface VLAN ?

3750 Gigeth

Getting Started

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:

Review Cisco Networking products for a $25 gift card