I am trying to configure rate-limiting on a 3560 switch (12.2.25SE, ipservices), but it does not seem to have any effect.
Basic configuration is:
interface FastEthernet0/24 no switchport ip address 10.163.37.254 255.255.254.0 rate-limit output 10000000 5000 5000 conform-action transmit exceed-action drop
interface Vlan1 ip address 192.168.250.1 255.255.255.0 rate-limit output 10000000 5000 5000 conform-action transmit exceed-action drop
I want to limit the output to 10Mbps. I did not know whether to configure rate-limiting on the router port or the vlan interface. I set the burst rate very low to try to force the router to drop packets while I was testing. The output of the "show interface rate" command is:
Switch#sh int f0/24 rate FastEthernet0/24 Output matches: all traffic params: 10000000 bps, 5000 limit, 5000 extended limit conformed 0 packets, 0 bytes; action: transmit exceeded 0 packets, 0 bytes; action: drop last packet: 4008815ms ago, current burst: 0 bytes last cleared 00:15:30 ago, conformed 0 bps, exceeded 0 bps
Switch#sh int vlan 1 rate Vlan1 Output matches: all traffic params: 10000000 bps, 5000 limit, 5000 extended limit conformed 0 packets, 0 bytes; action: transmit exceeded 0 packets, 0 bytes; action: drop last packet: 4031623ms ago, current burst: 0 bytes last cleared 00:07:21 ago, conformed 0 bps, exceeded 0 bps
Actual throughput on a large file transfer was >70Mbps. What am I missing, or can't I do this on a 3560?
The rate-limit command is not supported (although available) on the 3560/3750 series switches. You can apply outbound (egress) policy-map on physical interfaces and do srr-queue on inbound. If you want to limit bandwidth for a whole vlan, you can apply the policy-map on the Vlan interface and enable vlan based qos on the physical interfaces.
Refer to the QoS Configuration Guide on the following link:
The bandwidth interface configuration command will not do bandwidth limiting on Vlan interfaces as it's supposed to set and communicate the current bandwidth value for an interface to higher-level protocols. It's mostly used for Serial interfaces.
We are pleased to announce availability of Beta software for 16.6.3.
16.6.3 will be the second rebuild on the 16.6 release train targeted
towards Catalyst 9500/9400/9300/3850/3650 switching platforms. We are
looking for early feedback from customers befor...
Introduction Featured Speakers Luis Espejel is the Telecommunications
Manager of IENova, an Oil & Gas company. Currently he works with Cisco
IOS® and Cisco IOS XE platforms, and NX to some extent. He has also
worked as a Senior Engineer with the Routing P...
In this session you can learn more about Layer 3 multicast and the best
practices to identify possible threats and take security measures. It
provides an overview of basic multicast, the best security practices for
use of this technology, and recommendati...