Configuring rate limiting on ingress traffic, Displaying rate limit configuration, Displaying rate limit statistics – Brocade Virtual ADX Switch and Router Guide (Supporting ADX v03.1.00) User Manual

Page 112

Advertising
background image

98

Brocade Virtual ADX Switch and Router Guide

53-1003246-01

Overview

5

Configuring rate limiting on ingress traffic

To configure port-level rate limiting on a Brocade Virtual ADX physical port, provide average rate
and maximum burst values as input by using the following command at the interface configuration
mode as shown:

Virtual ADX(config-if-e1000-1)# rate-limit input 104857600 157286400

Syntax: [no] rate-limit input average rate maximum burst

The average rate parameter is a decimal value that specifies average rate for port-level rate limiting
in bits per second. Average rate is the maximum number of bits a port can receive during a
one-second interval. It cannot exceed the interface line rate.

The maximum burst parameter is a decimal value that specifies maximum burst for port-level rate
limiting in bits per second. Maximum burst specifies the extra bits above the average rate that the
traffic can have. It cannot be lesser than the average rate and cannot exceed the interface line
rate.

Displaying rate limit configuration

You can use the following commands to display rate limit configurations.

Displaying summary of overall or per-interface rate limit

To display a summary of the overall or per-interface rate limit configuration, use the command as
shown in the example:

Virtual ADX# show rate-limit ethernet 1

interface ethernet 1

average:

104857600

max burst:

157286400

Virtual ADX#

Syntax: show rate-limit [ ethernet portnum]

The portnum operand is used to specify the interface in order to display its rate limit configuration.

The rate limit configuration will display “average” for rate limit average rate in bits per second and
the “max burst” as the rate limit maximum burst in bits per second.

Displaying rate limit statistics

To display the overall per-interface rate limit or global rate limit statistics, use the command as
shown in the example:

Virtual ADX# show rate-limit counters ethernet 1

interface ethernet 1

packets forwarded:

1005

bytes forwarded:

60300

packets dropped:

0

bytes dropped:

0

Virtual ADX#

Syntax: show rate-limit counters [ ethernet portnum]

Advertising