Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Rate Limit on Gi interface

Hi,

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

Thanks

3 REPLIES
New Member

Re: Rate Limit on Gi interface

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

Re: Rate Limit on Gi interface

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

New Member

Re: Rate Limit on Gi interface

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

134
Views
4
Helpful
3
Replies
CreatePlease login to create content