
8. Clear the ACL and rate limit counters.
a)
Clear the ACL counters.
device(config)# clear access-list accounting traffic-policy TPDF1
b)
Clear the rate limit counters.
device(config)# clear statistics traffic-policy TPDF1
ACL-based fixed rate limiting using traffic policies configuration example
device# configure terminal
device(config)# system-max hw-traffic-conditioner 25
device(config)# write memory
device(config)# reload
device(config)# traffic-policy TPDF1 rate-limit fixed 10000 exceed-action drop
device(config)# access-list 101 permit ip host 10.10.12.2 any traffic-policy TPDF1
device(config)# 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 traffic-policy TPDF1
device(config)# clear statistics traffic-policy TPDF1
Configuring ACL-based adaptive rate limiting using traffic policies
You can configure adaptive rate limiting to forward traffic, modify the IP precedence of and then forward traffic, or drop traffic based on
whether the traffic is within the limit or exceeds the set limit.
These commands:
•
Set the maximum number of traffic policies.
•
Create an adaptive traffic policy that enables ACL statistics (counting).
•
Create a new extended ACL entry and binds the ACL to an interface.
•
Verify the configuration.
1. Enter global configuration mode.
device# configure terminal
2. Set the maximum number of traffic policies supported on a device.
a)
Set the maximum number.
device(config)# system-max hw-traffic-conditioner 25
b)
Save the configuration.
device(config)# write memory
c)
Reload the software to place the change into effect.
device(config)# reload
Ruckus does not recommend setting the system maximum for traffic policies to 0 (zero), because this renders traffic policies
ineffective.
Rate Limiting and Rate Shaping
Rate Limiting
Ruckus FastIron QoS and Traffic Management Configuration Guide, 08.0.70
Part Number: 53-1005294-01
59