DXS-1210 Series Smart Managed Switch CLI Reference Guide
269
The configuration of this command can only be attached to a physical port but not a port-channel.
That is the minimum guaranteed bandwidth of one CoS cannot be used across physical ports.
Example
This example shows how to configure the queue bandwidth, the minimum guaranteed bandwidth and
maximum bandwidth of queue 1 of interface eth3/0/1 to 100Kbps and 2000Kbps respectively. Set the
minimum guaranteed bandwidth and maximum bandwidth of queue 2 to 10% and 50% respectively.
Switch# configure terminal
Switch(config)#interface eth 1/0/1
Switch(config-if)# queue 1 rate-limit 100 2000
Switch(config-if)# queue 2 rate-limit percent 10 50
Switch(config-if)#
34-7
rate-limit {input | output}
This command is used to set the received bandwidth limit values for an interface. To set the transmit
bandwidth limit values on an interface use the rate-limit output command in the interface
configuration mode. Use the no form of this commandto disable the bandwidth limit.
rate-limit {input | output} {NUMBER-KBPS | percent PERCENTAGE} [BURST-SIZE]
no rate-limit {input | output}
Parameters
input
Specifies the bandwidth limit for ingress packets.
output
Specifies the bandwidth limit for egress packets.
NUMBER-KBPS
Specifies the number of kilobits per second as the maximum
bandwidth limit.
PERCENTAGE
Specifies to set the limited rate by percentage. The valid range is 1 to
100.
BURST-SIZE
(Optional) Specifies the limit for burst traffic in Kbyte.
Default
By default, there is no limitation.
Command Mode
Interface Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
The specified limitation cannot exceed the maximum speed of the specified interface. For the ingress
bandwidth limitation, the ingress will send a pause frame or a flow control frame when the received
traffic exceeds the limitation.
Example
This example shows how the maximum bandwidth limits are configured on eth2/0/5. The ingress
bandwidth is limited to 2000Kbps and 4096K bytes for burst traffic.
Switch# configure terminal
Switch(config)#interface eth 1/0/5
Switch(config-if)# rate-limit input 2000 4096
Switch(config-if)#