
3. Create a traffic policies and set parameters.
a)
Create a policy, TPDrop, that drops packets that exceed the limit.
device(config)# traffic-policy TPDrop rate-limit adaptive cir 10000 cbs 1600 pir 20000 pbs 4000
exceed-action drop count
b)
Create a policy, TPallow, that permits packets that exceed the limit.
device(config)# traffic-policy TPallow rate-limit adaptive cir 10000 cbs 1600 pir 20000 pbs 4000
exceed-action permit-at-low-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. Verify the traffic policy configuration.
device(config)# show traffic-policy
Traffic Policy - TPallow:
Metering Enabled, Parameters:
Mode: Adaptive Rate-Limiting
cir: 400000 kbps, cbs: 125000 kbits, pir: 12000000 kbps, pbs: 1250000000
kbits
Counting Enabled
Number of References/Bindings: 1
Traffic Policy - TPDrop:
Metering Enabled, Parameters:
Mode: Adaptive Rate-Limiting
cir: 10000 kbps, cbs: 1600 kbits, pir: 20000 kbps, pbs: 4000 kbits
Counting Enabled
Number of References/Bindings: 0
5. Create new, extended ACL entries.
a)
Create a new extended ACL entry or modify an existing extended ACL entry that references the traffic policy.
device(config)# access-list 104 permit ip host 1.1.1.2 any traffic-policy TPallow
b)
Configure an IPv4 extended ACL or an IPv6 ACL.
device(config)# access-list 105 permit ip any any 802.1p-priority matching 3 traffic-policy
TPdrop
You would configure the device to rate limit traffic for a specified 802.1p priority value by creating an IPv4 extended ACL or
IPv6 ACL that includes the traffic policy and 802.1p priority matching value.
6. Verify the ACLs.
device(config)# show access-list all
...
Extended IP access list 104 : 1 entry
permit ip host 1.1.1.2 any traffic-policy TPallow
Extended IP access list 105 : 1 entry
permit ip any any 802.1p-priority-matching 3 traffic-policy TPdrop
...
Rate Limiting and Rate Shaping
Rate Limiting
Ruckus FastIron QoS and Traffic Management Configuration Guide, 08.0.70
60
Part Number: 53-1005294-01