Viewing acl and rate limit counters – Brocade TurboIron 24X Series Configuration Guide User Manual
Page 972

938
Brocade TurboIron 24X Series Configuration Guide
53-1003053-01
ACL and rate limit counting
Enabling ACL statistics with rate limiting traffic policies
The configuration example in the section
on page 937 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.
Example
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.
TurboIron(config)#traffic-policy TPD1 rate-limit fixed 1000 count exceed-action
drop
TurboIron(config)#traffic-policy TPD2 rate-limit fixed 10000 exceed-action drop
count
Syntax: [no] traffic-policy
Example
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.
traffic-policy TPDA4 rate-limit adaptive cir 10000 cbs 1600 pir 20000 pbs 4000
count exceed-action drop
traffic-policy TPDA5 rate-limit adaptive cir 10000 cbs 1600 pir 20000 pbs 4000
exceed-action permit-at-low-pri count
Syntax: traffic-policy rate-limit adaptive cir
value> exceed-action
Viewing ACL and rate limit counters
When ACL counting is enabled on the 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 display the rate limiting traffic counters, which are automatically enabled for active
rate limiting traffic policies.
Use either the show access-list accounting command or the show statistics traffic-policy command
to display ACL and traffic policy counters. The output of these commands are identical. The
following shows an example output.
Syntax: show access-list accounting traffic-policy [
or
TurboIron#show access-list accounting traffic-policy g_voip
Traffic Policy - g_voip:
General Counters:
Port Region# Byte Count Packet Count
------------------ -------------------- ----------------------
7 (1 - 12) 85367040 776064
All port regions
84367040 776064
Rate Limiting Counters:
Port Region# Green Conformance Yellow Conformance Red Conformance
------------------ ------------------ ------------------ ------------------
7 (1 - 12)
329114195612139520 37533986897781760 0
All port regions 329114195612139520 37533986897781760 0