Management and Configuration Guide K/KA/KB.15.15

5 Port Traffic Controls
Rate-limiting
In earlier releases, all traffic rate-limiting applied to inbound traffic only, and was specified as a
percentage of total bandwidth. Beginning with software release K.12.xx or later, it is also possible
to configure outbound rate-limiting for all traffic on a port and specify bandwidth usage in terms
of kilobits per second (kbps.)
CAUTION: Rate-limiting is intended for use on edge ports in a network. It is not recommended
for use on links to other switches, routers, or servers within a network, or for use in the network
core. Doing so can interfere with applications the network requires to function properly.
Configuring rate-limiting
Syntax
[no] int <port-list> rate-limit all [ in | out ] percent 0-100 | kbps
0-10000000
Configures a traffic rate limit (on non-trunked ports) on the link. The no form of the command
disables rate-limiting on the specified ports.
The rate-limit all command controls the rate of traffic sent or received on a port by setting a limit
on the bandwidth available. It includes options for:
Rate-limiting on either inbound or outbound traffic.
Specifying the traffic rate as either a percentage of bandwidth, or in terms of bits per second.
(Default: Disabled.)
Specifies a traffic rate limit on inbound traffic passing
through that port, or on outbound traffic.
in or out
Specifies the rate limit as a percentage of total available
bandwidth, or in kilobits per second.
percent or kbps
Viewing the current rate-limit configuration
The show rate-limit all command displays the per-port rate-limit configuration in the
running-config file.
Syntax
show rate-limit all <port-list>
Without <port-list>, this command lists the rate-limit configuration for all ports on the switch.
With <port-list>, this command lists the rate-limit configuration for the specified ports. This command
operates the same way in any CLI context.
Example
If you want to view the rate-limiting configuration on the first six ports in the module in slot "A":
Rate-limiting 171