beautypg.com

Configuring a port-based rate limiting policy, Configuring an acl-based rate limiting policy, Displaying the fixed rate limiting configuration – Brocade FastIron Ethernet Switch Traffic Management Guide User Manual

Page 50

background image

Configuring a port-based rate limiting policy

To configure rate limiting on a port, enter commands such as the following.

device(config)#interface ethernet 24

device(config-if-e1000-24)#rate input fixed 500

These commands configure a fixed rate limiting policy that allows port 24 to receive a maximum of 500
kbits (500 packets in ICX 6650) per second. If the port receives additional bytes (packets in ICX 6650)
during a given one-second interval, the port drops all inbound packets on the port until the next one-
second interval starts.

Syntax: [no] rate-limit input fixed average-rate

For FastIron devices, the average-rate parameter specifies the maximum number of kilobits per
second (kbps) (packets per second (pkts/s) in ICX 6650) the port can receive. The minimum rate that
can be configured is 64 kpbs (125 pkts/s in ICX 6650).

On Brocade ICX 7750 devices, the syntax is:

Syntax: [no] rate-limit input fixed average-rate [ burst burst-size ]

The optional burst parameter specifies the burst size in kilobits.

By default, the least burst size is set to accommodate five jumbo frames. The upper limit depends on
the burstiness of traffic in a deployment scenario and should be user configured.

NOTE

When traffic reaches the rate limiting threshold, TD2 sends traditional pause or PFC frames,
depending on the flow-control configuration.

When PFC is enabled, TD2 transmits PFC for all priorities mapped to the lossless priority group that
reaches the XOFF limit (TD2 chip limitation).

Configuring an ACL-based rate limiting policy

IP ACL-based rate limiting of inbound traffic provides the facility to limit the rate for IP traffic that
matches the permit conditions in extended IP ACLs. This feature is available in the Layer 2 and Layer
3 code.

To configure ACL-based rate limiting on a Brocade device, you create individual traffic policies , then
reference the traffic policies in one or more ACL entries (also called clauses or statements). The traffic
policies become effective on ports to which the ACLs are bound.

For configuration procedures for ACL-based rate limiting, refer to Traffic Policies chapter.

Displaying the fixed rate limiting configuration

To display the fixed rate limiting configuration on the device, enter the show rate-limit input
command.

device#show rate-limit input

Total rate-limited interface count: 5.

Port Configured Input Rate Actual Input Rate

1/1 65000 65000

1/2 195000 195000

1/6 1950 1950

Configuring a port-based rate limiting policy

48

FastIron Ethernet Switch Traffic Management Guide

53-1003093-03