CLI Reference Guide-R07

Table Of Contents
Chapter 15
| Congestion Control Commands
Rate Limit Commands
– 424 –
rate-limit This command defines the rate limit for a specific interface. Use this command
without specifying a rate to enable rate limiting. Use the no form to disable rate
limiting.
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 kbps.
(Range: 64 - 1,000,000 kbits per second for Gigabit Ethernet ports;
64 - 10,000,000 kbits per second for 10 Gigabit Ethernet ports)
The resolution at which the rate can be configured is 16 kbits/sec.
Default Setting
Disabled
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. It is therefore not advisable to use both of these commands
on the same interface.
Using the no form of the command will disable rate-limiting on the interface.
When the command show show interfaces switchport is execute, the
parameters “Ingress Rate Limit” and “Egress Rate Limit” will be shown as
disabled and the full port speed will be displayed. Refer to the command
example where rate limit for the output is disabled.
When a rate-limit is applied, the command will be shown in the running-config
file. However, when the no form of the command is entered, the original rate-
limit command will remain in the running-config file with the additional no
form of the command immediately below. Refer to the console output below:
Console#config
Console(config)#interface ethernet 1/4
Console(config-if)#rate-limit output 200
Console(config-if)#end
Console#show running-config
~
interface ethernet 1/3
!
interface ethernet 1/4
rate-limit output 200
!
interface ethernet 1/5