
7. Bind the ACL to an interface.
a)
Enter interface configuration mode.
device(config)# interface ethernet 1/1/6
b)
Bind the ACL to the interface.
device(config-if-e1000-1/1/6)# ip access-group 104 in
device(config-if-e1000-1/1/6)# exit
8. Clear the ACL and rate limit counters.
a)
Clear the ACL counters.
device(config)# clear access-list accounting traffic-policy TPallow
Traffic Policy TPallow: cleared
b)
Clear the rate limit counters.
device(config)# clear statistics traffic-policy TPdrop
ACL-based adaptive 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 TPDrop rate-limit adaptive cir 10000 cbs 1600 pir 20000 pbs 4000 exceed-
action drop coun
device(config)# traffic-policy TPallow rate-limit adaptive cir 10000 cbs 1600 pir 20000 pbs 4000 exceed-
action permit-at-low-pri count
device(config)# show traffic-policy
device(config)# access-list 104 permit ip host 1.1.1.2 any traffic-policy TPallow
device(config)# access-list 105 permit ip any any 802.1p-priority matching 3 traffic-policy TPdrop
device(config)# show access-list all
device(config)# interface ethernet 1/1/6
device(config-if-e1000-1/1/6)# ip access-group 104 in
device(config-if-e1000-1/1/6)# exit
device(config)# clear access-list accounting traffic-policy TPDA4
device(config)# clear statistics traffic-policy TPDA4
Rate Shaping
Rate shaping configuration notes
Outbound rate shaping is a port-level feature that is used to shape the rate and control the bandwidth of outbound traffic on a port.
Rate shaping smooths excess and bursty traffic to the configured maximum limit before it is sent out on a port. Packets are stored in
available buffers and then forwarded at a rate no greater than the configured limit. This process provides for better control over the inbound
traffic of neighboring devices.
The following apply when configuring outbound rate shaping:
•
Outbound rate shaping can be configured only on physical ports, not on virtual or loopback ports.
•
Ruckus ICX devices have one global rate shaper for a port and one rate shaper for each port priority queue. Rate shaping is done
on a single-token basis, where each token is defined to be 1 byte.
Rate Limiting and Rate Shaping
Rate Shaping
Ruckus FastIron QoS and Traffic Management Configuration Guide, 08.0.70
Part Number: 53-1005294-01
61