Interface rate limiting without QoS?

Answered Question
Jun 17th, 2010
User Badges:

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".

Correct Answer by TODD RIEMENSCHNEIDER about 7 years 1 month ago

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

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Loading.
Correct Answer
TODD RIEMENSCHNEIDER Thu, 06/17/2010 - 12:19
User Badges:

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

Actions

This Discussion