– 801 –
33 RATE LIMIT COMMANDS
This function allows the network manager to control the maximum rate for
traffic transmitted or received on an interface. Rate limiting is configured
on interfaces at the edge of a network to limit traffic into or out of the
network. Packets that exceed the acceptable amount of traffic are dropped.
Rate limiting can be applied to individual ports or trunks. When an
interface is configured with this feature, the traffic rate will be monitored
by the hardware to verify conformity. Non-conforming traffic is dropped.
rate-limit This command defines the rate limit for a specific interface. Use this
command without specifying a rate to restore the default rate. Use the no
form to restore the default status of disabled.
SYNTAX
rate-limit {input | output} [rate]
no rate-limit {input | output}
input – Input rate for specified interface
output – Output rate for specified interface
rate – Maximum value in Mbps.
(Range: 1-1000 Mbps)
DEFAULT SETTING
1000 Mbps
COMMAND MODE
Interface Configuration (Ethernet, Port Channel)
COMMAND USAGE
◆ Using both rate limiting and storm control on the same interface may
lead to unexpected results. For example, suppose broadcast storm
control is set to 500 pps by the command “switchport broadcast
packet-rate 500,” and the rate limit is set to 20 Mbps by the command
“rate-limit input 20" on a port. Since 20 Mbps is 1/5 of line speed
(100 Mbps), the received rate will actually be 100 pps, or 1/5 of the
Table 88: Rate Limit Commands
Command Function Mode
rate-limit Configures the maximum input or output rate
for an interface
IC