Quick Reference Guide

PowerConnect B-Series TI24X Configuration Guide 433
53-1002269-02
ACL-based rate limiting using traffic policies
17
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.
PowerConnect(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.
PowerConnect(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.
Syntax: traffic-policy rate-limit adaptive cir <cir value> cbs <cbs value> pir <pir value> pbs <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.
PowerConnect(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.