Viewing acl and rate limit counters, Information, refer to, Enabling – Brocade FastIron Ethernet Switch Traffic Management Guide User Manual

Page 73: Acl statistics with rate limiting traffic policies

Advertising
background image

Syntax: [no] traffic-policy TPDname count

Syntax: ip access-list extended 101

Device (config-std-nacl)# { permit | deny } protocol source destination traffic-policy TPDname

Syntax: [no] ip access-group num in

NOTE
For brevity, some parameters were omitted from the access-list syntax.

The software allows you to add a reference to a non-existent TPD in an ACL statement and to bind
that ACL to an interface. The software does not issue a warning or error message for non-existent
TPDs.

Use the no form of the command to delete a traffic policy definition. Note that you cannot delete a
traffic policy definition if it is currently in use on a port. To delete a traffic policy, first unbind the
associated ACL.

The TPDname variable is the name of the traffic policy definition. This value can be eight
alphanumeric characters or fewer.

Enabling ACL statistics with rate limiting traffic policies

The configuration example in the section

Enabling ACL statistics

on page 70 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.

device(config)#traffic-policy TPD1 rate-limit fixed 1000 count

device(config)#traffic-policy TPD2 rate-limit fixed 10000 exceed-action drop count

Syntax: [no] traffic-policy TPDname rate-limit fixed cirvalue count

Syntax: [no] traffic-policy TPDname rate-limit fixed cirvalue 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.

device(config)#traffic-policy TPDA4 rate-limit adaptive cir 10000 cbs 1600 pir 20000

pbs 4000 count

device(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 TPDname rate-limit adaptive cir cirvalue cbs cbsvalue pir pirvalue pbs
pbsvalue count

Syntax: [no] traffic-policy TPDname rate-limit adaptive cir cirvalue cbs cbsvalue pir pirvalue pbs
pbsvalue 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.

Enabling ACL statistics with rate limiting traffic policies

FastIron Ethernet Switch Traffic Management Guide

71

53-1003093-03

Advertising