cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
514
Views
4
Helpful
3
Replies

Rate Limit on Gi interface

rcctong
Level 1
Level 1

Hi,

I would like ot know how to rate limit the incoming traffic on a GigE interface.

Thanks

3 Replies 3

kradjesh13
Level 1
Level 1

Raymond,

You can rate-limit an interface using couple of ways.

1. Directly applying rate-limit command on the interface, as shown below

interface GigabitEthernet0/1.100

description Rate Limiting to 2M

ip address xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx

rate-limit output 2000000 62500 62500 conform-action transmit exceed-action drop

2. You can use a class-map and policy-map for rate-limiting an interface which is called modular QOS. This may be considered as a powerful methord since, the traffic can be differenciated.

class-map match-all captureall

match any

!

policy-map Ratelimiting

class captureall

police 2000000 62500 62500 conform-action transmit exceed-action drop

!

interface GigabitEthernet0/1.100

description Rate Limiting

ip address XXX.XXX.XXX.XXX XXX.XXX.XXX.XXX

service-policy output Ratelimiting

Hope this will help you

Rajesh

Hi,

Rajesh , I think you have given the rate-limit for Output traffic . For rate-limiting incoming traffic , just change the "output" to "input" in both the commands.

Hope this helps

regards

vanesh k

I am sorry, i thought he asked for output traffic.

Ramond, as mentioned by Vansesh need to change the output to input and that should be working fine.

Thanks

Rajesh