beautypg.com

Acl and rate limit counting, Acl and, Rate limit counting – Brocade TurboIron 24X Series Configuration Guide User Manual

Page 970: Permitting packets that exceed the limit

background image

936

Brocade TurboIron 24X Series Configuration Guide

53-1003053-01

ACL and rate limit counting

Syntax: traffic-policy rate-limit adaptive cir cbs pir pbs

value> exceed-action drop

Permitting packets that exceed the limit

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

Example

The following shows an example fixed rate limiting configuration.

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

permit-at-low-pri

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 takes the specified action. The
action specified with this command is to permit excess fragments and forward them at the lowest
priority level.

Syntax: [no] traffic-policy rate-limit fixed exceed-action permit-at-low-pri

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 permit-at-low-pri

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 permits all packets on the port and
forwards the packets at the lowest priority level.

Syntax: traffic-policy rate-limit adaptive cir cbs pir pbs

value> exceed-action permit-at-low-pri

ACL and rate limit counting

ACL counting, also called ACL statistics, enables the device to count the number of packets and the
number of bytes per packet to which ACL filters are applied.

Rate limit counting counts the number of bytes and conformance level per packet to which rate
limiting traffic policies are applied. The device uses the counting method similar to the two-rate
three-color marker (trTCM) mechanism described in RFC 2698 for adaptive rate limiting, and the
single-rate three-color marker (srTCM) mechanism described in RFC 2697 for fixed rate limiting.
Rate limit counting is automatically enabled when a traffic policy is enforced (active). You can view
these counters using the show commands listed in

“Viewing traffic policies”

on page 939.

For more information about traffic policies, refer to

“About traffic policies”

on page 929.