D-Link DES-3200 Switch User Manual


 
xStack® DES-3200 Series Layer 2 Ethernet Managed Switch CLI Reference Guide
474
config per_queue bandwidth_control
Purpose
Used to configure bandwidth control applied to a specific hardware priority queue on a per port
basis.
Syntax
config per_queue bandwidth_control { ports [ <portlist> | all ] } <cos_id_list>
{ max_rate [ no_limit | <value 64-1024000 >] } (1)
Description
The config per queue bandwidth_control command is used to set egress bandwidth control for a
specific priority queue on specified ports. The bandwidth limit is defined by the max_rate value
which can be specified with a value between 64Kbps and 1024000Kbps (1 gigabit). When a limit
is set with max_rate, frames transmitted from the queue will not exceed the specified limit even
when bandwidth is available. The effective bandwidth limit is independent of what mode is used to
clear the queue, that is, the limit is in effect at the specified rate if the queue is operating in strict
mode or weighted round robin mode.
Parameters
ports - <portlist> Specifies a range of ports to be configured for bandwidth control.
all Specifies that the bandwidth control be applied to all ports in the system. If the ports
parameter is not specified, the system will apply to all ports.
cos_id_list - Specifies a list of priority queues. The priority queue number is ranged from 0 to 3.
max_rate - Specifies that one of the parameters below (no_limit or <value 64-1024000>) 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 received or sent by the above
specified class.
<value 64-1024000> Specifies the bandwidth ceiling in Kbps for the max_rate.
If the specified rate is not multiple of minimum granularity, the rate will be adjusted:
Actual rate = |rate entered/ minimum granularity| * minimal granularity, for example:
62.5=|100/62.5|*62.5
| 100/62.5 | equals the closest smaller integer
Restrictions
Only Administrator-level users can issue this command.
Example usage:
To configure the ports 1-10 per queue bandwidth queue 1 max rate to 100000:
DES-3200-28F:4# config per_queue bandwidth_control ports 1-10 1 max_rate
100000
Command: config per_queue bandwidth_control ports 1-10 1 max_rate 100000
Success.
DES-3200-28F:4#