The rate-limit command configures traffic rate limiting in a network enhanced profile.
The undo rate-limit command cancels traffic rate limiting in a network enhanced profile.
By default, traffic rate limiting is not configured in a network enhanced profile.
This command can only be executed on a parent switch.
Parameter | Description | Value |
---|---|---|
cir-value | Specifies the committed information rate (CIR), which is the allowed rate at which traffic can pass through. |
The value is an integer that ranges from 64 to 1000000, in kbit/s. The packet rate range of an interface depends on
the interface bandwidth:
|
Usage Scenario
# qos lr inbound cir cir-value cbs 125*cir-value #
If user traffic is not limited, continuous burst data from numerous users can make the network congested. You can configure traffic rate limiting in inbound direction on an interface to limit traffic entering from the interface within a specified range.
Precautions
When an AS is an S2750-EI, S5700-10P-LI, or S5700-10P-PWR-LI switch and works in Layer 3 hardware forwarding mode, the rate-limit cir-value command does not take effect on the AS. Because an AS performs only Layer 2 forwarding in an SVF system, you are advised to run the undo assign forward-mode command to cancel the Layer 3 hardware forwarding mode and then connect the AS to the SVF system.