Dropping packets that exceed the limit – Brocade TurboIron 24X Series Configuration Guide User Manual

Page 969

Advertising
background image

Brocade TurboIron 24X Series Configuration Guide

935

53-1003053-01

ACL-based rate limiting using traffic policies

<TPD name> is the name of the traffic policy definition. This value can be 8 or fewer alphanumeric
characters.

rate-limit adaptive specifies that the policy will enforce a flexible bandwidth limit that allows for
bursts above the limit.

<cir value> is the committed information rate in kbps. Refer to

Table 143

.

<cbs value> is the committed burst size in bytes. Refer to

Table 143

.

<pir value> is the peak information rate in kbps. Refer to

Table 143

.

<pbs value> is the peak burst size in bytes. Refer to

Table 143

.

<action> 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 935.

The count parameter is optional and enables ACL counting. Refer to

“ACL and rate limit counting”

on page 936.

Specifying the action to be taken for packets that are
over the limit

You can specify the action to be taken when packets exceed the configured cir value for fixed rate
limiting, or the cir, cbs, pir, and pbs values for adaptive rate limiting. You can specify one of the
following actions:

Drop packets that exceed the limit

Permit packets that exceed the limit and forward them at the lowest priority level

Dropping packets that exceed the limit

This section shows some example configurations and provides the CLI syntax for configuring a port
to drop packets that exceed the configured limits for rate limiting.

Example

The following shows an example fixed rate limiting configuration.

TurboIron(config)#traffic-policy TPD1 rate-limit fixed 10000 exceed-action drop

The above command sets the fragment threshold at 10,000 per second. If the port receives more
than 10,000 packet fragments in a one-second interval, the device drops the excess fragments.

Syntax: traffic-policy <TPD name> rate-limit fixed <cir value> exceed-action drop

Example

The following shows an example adaptive rate limiting configuration.

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

pir 20000 pbs 4000 exceed-action drop

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.

Advertising