cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
895
Views
5
Helpful
3
Replies

Interface rate limiting without QoS?

ibanezrick
Level 1
Level 1

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

1 Accepted Solution

Accepted Solutions

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

View solution in original post

3 Replies 3

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

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

Very awesome of you Todd. Thanks for the effort!

Review Cisco Networking products for a $25 gift card