Configuring ACL-Based Fixed Rate Limiting Using Traffic Policies
-
- Last Updatedאוק 15, 2024
- 3 minutes read
Configuring ACL-Based Fixed Rate Limiting Using Traffic Policies
Use the procedure in this section to configure ACL-based fixed rate limiting.
Note: Before configuring this feature, see what to consider in “Configuration notes and feature limitations for traffic policies.”
These commands:
- Set the maximum number of traffic policies.
- Create a fixed traffic policy that enables ACL statistics (counting).
- Create a new extended ACL entry and bind the ACL to an interface.
- Verify the configuration.
ACL-Based Fixed Rate Limiting Using Traffic Policies Configuration Example
device# configure terminal
device(config)# traffic-policy TPDF1 rate-limit fixed packet-based cir 10000 exceed-action drop
device(config)# ip access-list extended 101
device(config-ext-ipacl-101)# permit ip host 10.10.12.2 any traffic-policy TPDF1
device(config-ext-ipacl-101)# interface ethernet 1/1/5
device(config-if-e1000-1/1/5)# ip access-group 101 in
device(config-if-e1000-1/1/5)# exit
device(config)# show traffic-policy TPDF1
device(config)# clear access-list accounting all
device(config)# clear statistics traffic-policy TPDF1