How do I limit the rate of packets on a network segment

1. Configure an ACL to match the network segment on which the rate of packets needs to be limited.
#
acl number 2000 //Configure ACL 2000.
rule 0 permit source 192.168.1.0 0.0.0.255 //Configure rule 0 to allow packets from 192.168.1.0 network segment to pass through.
#
2. Configure the internal interface to limit the rate of data flows.
#
interface GigabitEthernet3/0/0
ip address 192.168.1.1 255.255.255.0
qos car inbound acl 2000 cir 512 cbs 32000 pbs 432000 green pass yellow pass red discard //Configure traffic policing for packets that match ACL 2000 and set the CIR to 512 kbit/s.
#

Scroll to top