beautypg.com

Editing a layer 2 acl table, Define rate limiting parameters, Display accounting – Brocade Multi-Service IronWare QoS and Traffic Management Configuration Guide (Supporting R05.6.00) User Manual

Page 50

background image

36

Multi-Service IronWare QoS and Traffic Management Configuration Guide

53-1003037-02

Layer 2 ACL-based rate limiting

2

Editing a Layer 2 ACL Table

You can make changes to the Layer 2 ACL table definitions without unbinding and rebinding the
rate limit policy. For example, you can add a new clause to the ACL table, delete a clause from the
table, or delete the ACL table that is used by a rate limit policy.

Define rate limiting parameters

To define rate limiting parameters, enter commands such as the following:

Brocade(config)#policy-map map1

Brocade(config-policymap map1)#cir 1000000 cbs 2000000 eir 1000000 ebs 2000000

excess-dp 2

Binding Layer 2 ACL-based rate limiting policy to a port

To bind an Layer 2 ACL based rate-limiting policy on a specific port, enter commands such as the
following:

Brocade(config-policymap map1)#int eth 14/1

Brocade(config-if-e10000-14/1)# rate-limit input access-group 400 policy-map map1

Syntax: [no] rate-limit [input|output] access-group num policy-map map-name

Specifying rate limiting parameters without a policy map

To specify rate-limiting without using a policy map, enter a command such as the following:

Brocade(config-if-e10000-14/1)# rate-limit input access-group 400 49999998416

75000000000

Syntax: [no] rate-limit [input|output] access-group acl-id average-rate maximum-burst

The acl-id for Layer 2 ACLs can range from 400 to 499.

The average-rate is the maximum number of bits the policy allows during one second.

The maximum-burst parameter specifies the extra bits above the average-rate that traffic can have.
Refer to the section

“Maximum burst”

on page 17 for more details. This command is only used

when configuring traffic policing directly to a port as described in

“Applying traffic policing

parameters directly to a port”

on page 16.

Display accounting

To display access list accounting, enter a command such as the following.

Brocade#show access-list accounting eth 14/1 in rate-limit

Collecting L2 ACL accounting for 400 on port 14/1 ... Completed successfully.

RL ACL Accounting Information:

Inbound: ACL 400

0: permit 0000.0000.0021 ffff.ffff.ffff any any etype any

Hit count: (1 sec) 0 (1 min) 0

(5 min) 0 (accum) 0