Brocade Communications Systems 6650 Enabling ACL statistics with rate limiting traffic policies

Models: 6650

1 332
Download 332 pages 4.02 Kb
Page 170
Image 170

Enabling and using ACL statistics

Enabling ACL statistics with rate limiting traffic policies

The configuration example in the section “Enabling ACL statistics” on page 149 shows how to enable ACL counting without applying rate limiting. You also can enable ACL counting while defining a rate limiting traffic policy.

To enable ACL counting while defining traffic policies for fixed rate limiting, enter the following commands 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-namerate-limit fixed cir-valuecount

Syntax: [no] traffic-policy TPD-namerate-limit fixed cir-valueexceed-action action count

To enable ACL counting while defining traffic policies for adaptive rate limiting, enter the following commands 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-namerate-limit adaptive cir cir-valuecbs cbs-valuepir pir-valuepbs pbs-valuecount

Syntax: [no] traffic-policy TPD-namerate-limit adaptive cir cir-valuecbs cbs-valuepir pir-valuepbs pbs-valueexceed-action action count

Viewing ACL and rate limit counters

When ACL counting is enabled on Brocade ICX 6650, 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 output of both commands is identical.

The following example shows output from a show access-list accounting command.

Brocade#show access-list accounting traffic-policy tf125c Traffic Policy tf125c:

Port Regions:

---------------

0 : 1/1/1-1/1/56, 1/3/1-1/3/8, 1/2/1-1/2/4

General Counters:

Byte Count

Packet Count

Port Region#

----------------

--------------------

--------------------

7 (4/1 -

4/12)

85367040

776064

All port

regions

84367040

776064

Rate Limiting Counters (in Packets):

150

Brocade ICX 6650 Security Configuration Guide

 

53-1002601-01

Page 170
Image 170
Brocade Communications Systems 6650 manual Enabling ACL statistics with rate limiting traffic policies