12-31-2006 12:52 PM - edited 03-03-2019 03:12 PM
Hi,
I would like ot know how to rate limit the incoming traffic on a GigE interface.
Thanks
12-31-2006 03:29 PM
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
01-01-2007 12:33 AM
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
01-01-2007 05:33 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide