Quick Reference Guide

434 PowerConnect B-Series TI24X Configuration Guide
53-1002269-02
ACL and rate limit counting
17
Syntax: [no] traffic-policy <TPD name> rate-limit fixed <cir value> exceed-action permit-at-low-pri
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 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 <cir value> cbs <cbs value> pir <pir value> pbs <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 437.
For more information about traffic policies, refer to “About traffic policies on page 427.
Enabling ACL statistics
NOTE
ACL statistics and ACL counting are used interchangeably throughout this chapter and mean the
same thing.
Use the procedures in this section to configure ACL statistics. Before configuring this feature, see
what to consider in “Configuration notes and feature limitations” on page 427.
You also can enable ACL statistics when you create a traffic policy for rate limiting. Refer to
“Enabling ACL statistics with rate limiting traffic policies” on page 435.
Follow the steps given below to implement the ACL counting feature.
1. Create a traffic policy. Enter a command such as the following
PowerConnect(config)# traffic-policy TPD5 count
2. Create an extended ACL entry or modify an existing extended ACL entry that references the
traffic policy definition.
Example
PowerConnect(config)# access-list 101 permit ip host 210.10.12.2 any
traffic-policy TPD5