beautypg.com

Brocade TurboIron 24X Series Configuration Guide User Manual

Page 968

background image

934

Brocade TurboIron 24X Series Configuration Guide

53-1003053-01

ACL-based rate limiting using traffic policies

If a port receives more than the configured bit or byte rate in a one-second interval, the port will
either drop or forward subsequent data in hardware, depending on the action you specify.

To implement the ACL-based adaptive rate limiting feature, first create a traffic policy then
reference the policy in an extended ACL statement. Lastly, bind the ACL to an interface. Follow the
steps below.

1. Create a traffic policy. Enter a command such as the following.

TurboIron(config)#traffic-policy TPDAfour rate-limit adaptive cir 10000 cbs

1600 pir 20000 pbs 4000 exceed-action drop

2. Create a new extended ACL entry or modify an existing extended ACL entry that references the

traffic policy.

Example

TurboIron(config)#access-list 104 permit ip host 10.10.12.2 any traffic-policy

TPDAfour

3. Bind the ACL to an interface.

TurboIron(config)#int e 7

TurboIron(config-if-e7)#ip access-group 104 in

TurboIron(config-if-e7)#exit

The above commands configure an adaptive rate limiting policy that enforces a guaranteed
committed rate of 10000 kbps on port e7 and allows bursts of up to 1600 bytes. It also enforces a
peak rate of 20000 kbps and allows bursts of 4000 bytes above the PIR limit. If the port receives
additional bits during a given one-second interval, the port drops all packets on the port until the
next one-second interval starts.

Syntax: [no] traffic-policy rate-limit adaptive cir cbs pir< pir

value> pbs exceed-action [count]

Syntax: access-list permit | deny.... traffic policy

Syntax: [no] ip access-group in

NOTE

For brevity, some parameters were omitted from the above 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.

Peak Information Rate (PIR)

The peak maximum kilobit rate for inbound traffic on a port. The PIR must
be equal to or greater than the CIR.

Peak Burst Size (PBS)

The number of bytes per second allowed in a burst before all packets will
exceed the peak information rate. The PBS must be a value greater than
zero (0). Brocade recommends that this value be equal to or greater than
the size of the largest possible IP packet in the stream. The PBS value is
specified in kilobits.

TABLE 143

ACL-Based adaptive rate limiting parameters (Continued)

Parameter

Definition