4
Command Line Interface
Rate Limit Commands
This function allows the network manager to control the maximum rate for traffic
received on an interface. Rate limiting is configured on interfaces at the edge of a
network to limit traffic into the network. Packets that exceed the acceptable amount
of traffic are dropped.
Rate limiting can be applied to individual ports. 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.
Command
rate-limit
rate-limit
Use this command to define the rate limit level for a specific interface. Use this
command without specifying a rate to restore the default rate limit level. Use the no
form to restore the default status of disabled.
Syntax
rate-limit <input | output> scale {1k | 10k | 100k | 1m | 10m} level level
no rate-limit <input | output>
• input – Input rate limit
• output – Output rate limit
• scale – The traffic rate limit scale. (Options: 1K, 10K, 100K, 1M, 10M bytes
per second)
• level – The traffic rate limit level. (Range: 1-127)
Default Setting
Input/Output Rate Limit Status: Disabled
Rate Scale: 10 Megabytes per second
Rate level: 1
Command Mode
Interface Configuration (Ethernet)
Command Usage
The scale and level are multiplied by one another to set the rate limit. For
example, to limit port traffic to 500 Kilobytes per second, select the scale as
100K and set the level to 5.
Example
Console(config)#interface ethernet 1/1
Console(config-if)#rate-limit input scale 100k level 5
Console(config-if)#
4-164
Table 4-49
Rate Limit Commands
Function
Configures the maximum input or output rate for a port
www.digisol.com
Mode
Page
IC
4-164