Configuration Guide User guide

1784 FastIron Configuration Guide
53-1002494-02
ACL statistics and rate limit counting
The <TPD name> variable is the name of the traffic policy definition. This value can be eight
alphanumeric characters or less.
Enabling ACL statistics with rate limiting
traffic policies
The configuration example in the section “Enabling ACL statistics” on page 1783 shows how to
enable ACL counting without having to configure parameters for rate limiting. You also can enable
ACL counting while defining a rate limiting traffic policy, as illustrated in the following configuration
examples.
To enable ACL counting while defining traffic policies for fixed rate limiting, enter commands such
as the following at the global CONFIG level of the CLI.
Brocade(config)#traffic-policy TPD1 rate-limit fixed 1000 count
Brocade(config)#traffic-policy TPD2 rate-limit fixed 10000 exceed-action drop
count
Syntax: [no] traffic-policy <TPD name> rate-limit fixed <cir value> count
Syntax: [no] traffic-policy <TPD name> rate-limit fixed <cir value> exceed-action <action> count
To enable ACL counting while defining traffic policies for adaptive rate limiting, enter commands
such as the following at the global CONFIG level of the CLI.
Brocade(config)#traffic-policy TPDA4 rate-limit adaptive cir 10000 cbs 1600 pir
20000 pbs 4000 count
Brocade(config)#traffic-policy TPDA5 rate-limit adaptive cir 10000 cbs 1600 pir
20000 pbs 4000 exceed-action permit-at-low-pri count
Syntax: [no] traffic-policy <TPD name> rate-limit adaptive cir <cir value> cbs <cbs value> pir <pir
value> pbs <pbs value> count
Syntax: [no] traffic-policy <TPD name> rate-limit adaptive cir <cir value> cbs <cbs value> pir <pir
value> pbs <pbs value> exceed-action <action> count
Viewing ACL and rate limit counters
When ACL counting is enabled on the Brocade device, you can use show commands to display the
total packet count and byte count of the traffic filtered by ACL statements. The output of the show
commands also displays the rate limiting traffic counters, which are automatically enabled for
active rate limiting traffic policies.
Use either the show access-list accounting traffic-policy command or the show statistics
traffic-policy command to display ACL and traffic policy counters. The outputs of these commands
is identical.
NOTE
In the SX-FI48GPP module only, the outputs of these commands are identical with one exception.
When ACL counting is shown by show statistics traffic-policy, the Packet Count is not supported and
displays “N/A”.
The following example shows the output from the show access-list accounting command.