rtjensen4 Fri, 01/29/2010 - 13:00
User Badges:
  • Bronze, 100 points or more

Depending on the switch you are using, you can use the quick and dirty srr-queue bandwidth limit command.

Limits bandwidth to a percentage of port speed. ONLY works on outbound traffic.


interface fa0/1

speed 100

srr-queue bandwidth limit 10

This example would yield a 10mbps rate-limit.


interface fa0/1

speed 10

srr-queue bandwidth limit 30

This example would yieled a 3mbps rate-limit.

Keep in mind this only works on traffic outbound from the port.

yuhuiyao Fri, 01/29/2010 - 13:04
User Badges:

Thanks for your reply.

Can I use rate-limit input/output command?

Can I use service-policy input/output command?

rtjensen4 Fri, 01/29/2010 - 13:23
User Badges:
  • Bronze, 100 points or more

Depends what kind of switch you are using. I know on my 4500s, I can do somthing like this:

policy-map ratelimit-policy
class limitclass
    police 772 kbps 56 kbyte conform-action transmit exceed-action drop

interface GigabitEthernet4/47
switchport access vlan 503
bandwidth 30000
load-interval 60
speed 100
duplex full
spanning-tree portfast
spanning-tree bpduguard enable
service-policy output ratelimit-policy

All depends on the capabilities of the switch. What kind are you using?


This Discussion