C613-50170-01 Rev B
Command Reference for x510 Series
1618
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
Q
O
S C
OMMANDS
EGRESS
-
RATE
-
LIMIT
egress-rate-limit
Overview
Use this command to limit the amount of traffic that can be transmitted per second
from this port.
Use the
no
variant of this command to disable the limiting of traffic egressing on
the interface.
Syntax
egress-rate-limit <
rate-limit
> max-burst-size <
size
>
no egress-rate-limit
Mode
Interface Configuration
Usage
Egress rate limiting uses a token bucket system. The rate limit represents how fast
the bucket fills and the maximum burst size represents its maximum depth. The
maximum burst size enables the switch to groom upstream traffic so that it meets
the requirements of upstream devices. See the examples for more detail about the
resulting behavior.
Examples
To enable egress rate limiting on a port, with a limit of 64 Kbps, use the commands:
awplus#
configure terminal
awplus(config)#
interface port1.0.1
awplus(config-if)#
egress-rate-limit 64k
%
Egress rate limit has been set to 64 Kb
Parameter
Description
<
rate-limit
>
Bandwidth <1-10000000 units per second> (usable units: k, m, g).
The egress rate limit can be configured in multiples of 64kbps. If
you configure a value that is not an exact multiple of 64kbps, then
the value will be rounded up to the nearest higher exact multiple
of 64kbps. The minimum is 64 Kb.
The default unit is Kb (
k
), but Mb (
m
) or Gb (
g
) can also be
specified. The command syntax is not case sensitive, so a value
such as 20m or 20M will be interpreted as 20 megabits.
<
size
>
The maximum burst size in kilobytes (k), megabytes (m) or
gigabytes (g).
The minimum value for the max-burst-size is 64 kilobytes.
Only certain values are valid; if you enter an invalid value, the
max-burst size will be rounded to the nearest valid value. The
default value is the number of bytes that would be transmitted in
one full second of transmission at the rate limit.
We recommend setting the maximum burst size to approximately
the number of bytes that would be transmitted in one-third of a
second of transmission at the rate limit. This means entering a
value of approximately <
rate-limit
>/24.