config per_queue bandwidth_control
Purpose
Used to configure per port or flow bandwidth control. For per flow bandwidth control, it can be
based on the assigned CoS queue.
Syntax config per_queue bandwidth_control {ports [<portlist> | all ]} <cos_id_list 0-6>
{min_rate [no_limit | <value 64-1024000>] max_rate [no_limit | <value 64-1024000>]}(1)
Description
This command is used to set per port or flow bandwidth control. For per flow bandwidth
control, it can be based on the assigned CoS queue.
Mini-rate specifies the minimal quaranteed bandwidth. Specify no limit for the mini-rate
means no quaranteed bandwidth.
Max-rate speficies the max-rate limitatoin. When it is specified, packet transmitted from the
queue will not exceed the specified max-rate limitation even though there is still available
bandwidth.
The specification of mini-rate and max-rate are effective regardless whether the queue is
operated in the strict mode or in the wrr mode.
Parameters
<portlist> − Specifies a port or range of ports to be configured.
<cos_id_list 0-6> − Specifies a priority queue or range of priority queues to be configured.
min_rate - Specifies one of the parameters below (no_limit or <value 64-1024000>) that will
be applied to the minimum rate at which the above specified class will be allowed to receive
packets.
no_limit − Specifies that there will be no limit on the rate of packets received by the
above specified class.
<value 64-1024000> − Specifies the packet limit, in Kbps, that the above ports will
be transmit at least.
max_rate − Specifies one of the parameters below (no_limit or <value 64-1024000>) that will
be applied to the maximum rate at which the above specified class will be allowed to transmit
packets.
no_limit − Specifies that there will be no limit on the rate of packets transmit by the
above specified class.
<value 64-1024000> − Specifies the packet limit, in Kbps, that the above ports will
be transmit at most.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure per-queue bandwidth control: