Brocade FastIron Ethernet Switch Traffic Management Guide User Manual
Page 70
NOTE
For brevity, some parameters were omitted from the access-list syntax.
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.
Use the no form of the command to delete a traffic policy definition. Note that you cannot delete a
traffic policy definition if it is currently in use on a port. To delete a traffic policy, first unbind the
associated ACL.
The traffic-policy TPDname parameter is the name of the traffic policy definition. This value can
be eight or fewer alphanumeric characters.
The rate-limit adaptive cir cirvalue specifies that the policy will enforce a flexible bandwidth limit
that allows for bursts above the limit. The cirvalue variable is the committed information rate in
kbps on all the other supported platform except on ICX 6650 where it is packets/second. Refer to
the ACL based adaptive rate limiting parameters table.
The cbs cbsvalue parameter is the committed burst size in bytes on all supported platforms
except on ICX 6650 where it is in packets.
The pir pirvalue parameter is the peak information rate in kbps on all supported platforms except
on ICX 6650 where it is packets/second.
The pbs pbsvalue parameter is the peak burst size in bytes on all supported platforms except on
ICX 6650 where it is in packets.
The exceed-action action parameter specifies the action to be taken when packets exceed the
configured values. Refer to
Specifying the action to be taken for packets that are over the limit
on
page 69.
The count parameter is optional and enables ACL counting. Refer to
Inspecting the 802.1p bit in the ACL for adaptive rate limiting
You can configure the Brocade device to rate limit traffic for a specified 802.1p priority value. To do so,
complete the following configuration steps.
1.
Create an adaptive rate limiting traffic policy. Enter command such as the following:
device(config)#traffic-policy adap rate-limit adaptive cir 1000 cbs 1000 pir
2000 pbs 10000 exceed-action drop
2.
Create an IPv4 extended ACL or IPv6 ACL that includes the traffic policy and 802.1p priority
matching value. Enter a command such as the following:
device(config)#access-list 136 permit ip any any 802.1p-priority matching 3
traffic-policy adap
3.
Bind the ACL to an interface. Enter commands such as the following,.
device(config)#interface ethernet 7
device(config-if-e7)#ip access-group 136 in
device(config-if-e7)#exit
Use the show access-list accounting command to view accounting statistics. For more
information, refer to
Viewing ACL and rate limit counters
on page 71.
Inspecting the 802.1p bit in the ACL for adaptive rate limiting
68
FastIron Ethernet Switch Traffic Management Guide
53-1003093-03