
3. Create a traffic policy and set parameters.
•
Create a policy that drops packets that exceed the limit.
device(config)# traffic-policy TPDF1 rate-limit fixed 10000 exceed-action drop count
•
Create a policy that permits packets that exceed the limit.
device(config)# traffic-policy TPDF1 rate-limit fixed 10000 exceed-action permit-atlow-pri count
The command sets the fragment threshold at 10,000 packets per second. If the port receives more than 10,000 packets in a one-
second interval, the device takes the specified action. If the port receives additional bits during a given one-second interval, the
port either drops all packets on the port until the next one-second interval starts or permits packets that exceed the limit.
4. Create an extended ACL entry or modify an existing extended ACL entry that references the traffic policy.
device(config)# access-list 101 permit ip host 10.10.12.2 any traffic-policy TPDF1
5. Bind the ACL to an interface.
a)
Enter interface configuration mode.
device(config)# interface ethernet 1/1/5
b)
Bind the ACL to the interface.
device(config-if-e1000-1/1/5)# ip access-group 101 in
c)
Exit interface configuration mode.
device(config-if-e1000-1/1/5)# exit
These commands allow port 1/1/5 to receive a maximum traffic rate of 100 kbps. If the port receives additional bits during a given
one-second interval, the port drops the additional inbound packets that are received within that one-second interval.
The software allows you to add a reference to a non-existent TPD in an ACL statement and to bind that ACL to an interface. The
software does not issue a warning or error message for non-existent TPDs.
6. Verify the configuration.
device(config)# show traffic-policy TPDF1
Traffic Policy - TPDF1:
Metering Enabled, Parameters:
Mode: Fixed Rate-Limiting
cir: 100 kbps, cbs: 2000 bytes, pir: 200 kbps, pbs: 4000 bytes
Counting Not Enabled
Number of References/Bindings:1
7. View the ACL and rate limit counters
device(config)# show access-list accounting ethernet 1/1/5 in
MAC Filters Accounting Information
0: DA ANY SA 0000.0000.0001 - MASK FFFF.FFFF.FFFF
action to take : DENY
Hit Count: (1Min) 0 (5Sec) 0
(PktCnt) 0 (ByteCnt) 0
--------------------------------------------------------------
65535: Implicit Rule deny any any
Hit Count: (1Min) 5028 (5Sec) 2129
(PktCnt) 5028 (ByteCnt) 643584
--------------------------------------------------------------
Rate Limiting and Rate Shaping
Rate Limiting
Ruckus FastIron QoS and Traffic Management Configuration Guide, 08.0.70
58
Part Number: 53-1005294-01