06-17-2010 11:51 AM - edited 03-06-2019 11:37 AM
If I have either a 2950 or 3560 is there a way to rate limit in interface without using QoS?
The senario: Let's say I'm an ISP and I have a customer who pays for a 20 Mbps link. I have their equipment plugged into a 3560. Is there a command in the 3560 such as "rate-limit 20000" to throttle them? I ask because another brand switch that we currently use has a command for this called "port-limit".
Solved! Go to Solution.
06-17-2010 12:19 PM
If you have a layer 3 interface you can issue the rate-limit command. You could also apply it on the vlan interface.For the record I've never used them on these boxes so I would take this with a grain of salt. The commands are there though and they appear functional.
interface FastEthernet0/24
no switchport
ip address 192.168.0.1 255.255.255.0
rate-limit input 16000 1500 2000 conform-action transmit exceed-action drop
interface Vlan1
ip address 10.0.0.1 255.255.255.0
rate-limit input 16000 1500 2000 conform-action transmit exceed-action drop
rate-limit output 16000 1500 2000 conform-action transmit exceed-action drop
ip igmp join-group 239.0.0.1
end
# sh int vlan 1 rate-limit
Vlan1
Input
matches: all traffic
params: 16000 bps, 1500 limit, 2000 extended limit
conformed 0 packets, 0 bytes; action: transmit
exceeded 0 packets, 0 bytes; action: drop
last packet: 2646218714ms ago, current burst: 0 bytes
last cleared 00:06:16 ago, conformed 0 bps, exceeded 0 bps
Output
matches: all traffic
params: 16000 bps, 1500 limit, 2000 extended limit
conformed 0 packets, 0 bytes; action: transmit
exceeded 0 packets, 0 bytes; action: drop
last packet: 2646219302ms ago, current burst: 0 bytes
last cleared 00:05:47 ago, conformed 0 bps, exceeded 0 bps
Was able to do this on one of our 3560s in our lab.
(C3560-IPSERVICESK9-M), Version 12.2(50)SE,
-Todd
06-17-2010 12:19 PM
If you have a layer 3 interface you can issue the rate-limit command. You could also apply it on the vlan interface.For the record I've never used them on these boxes so I would take this with a grain of salt. The commands are there though and they appear functional.
interface FastEthernet0/24
no switchport
ip address 192.168.0.1 255.255.255.0
rate-limit input 16000 1500 2000 conform-action transmit exceed-action drop
interface Vlan1
ip address 10.0.0.1 255.255.255.0
rate-limit input 16000 1500 2000 conform-action transmit exceed-action drop
rate-limit output 16000 1500 2000 conform-action transmit exceed-action drop
ip igmp join-group 239.0.0.1
end
# sh int vlan 1 rate-limit
Vlan1
Input
matches: all traffic
params: 16000 bps, 1500 limit, 2000 extended limit
conformed 0 packets, 0 bytes; action: transmit
exceeded 0 packets, 0 bytes; action: drop
last packet: 2646218714ms ago, current burst: 0 bytes
last cleared 00:06:16 ago, conformed 0 bps, exceeded 0 bps
Output
matches: all traffic
params: 16000 bps, 1500 limit, 2000 extended limit
conformed 0 packets, 0 bytes; action: transmit
exceeded 0 packets, 0 bytes; action: drop
last packet: 2646219302ms ago, current burst: 0 bytes
last cleared 00:05:47 ago, conformed 0 bps, exceeded 0 bps
Was able to do this on one of our 3560s in our lab.
(C3560-IPSERVICESK9-M), Version 12.2(50)SE,
-Todd
06-17-2010 12:32 PM
I was able to find another post similar to this one that stated this option is viable.
https://supportforums.cisco.com/message/558715#558715
HTH
-Todd
06-17-2010 12:34 PM
Very awesome of you Todd. Thanks for the effort!
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: