D-Link dgs-3420 Work Light User Manual


 
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
676
69-3 config per_queue bandwidth_control
Description
This command is used to set the bandwidth control for each specific egress queue on specified
ports. The maximum rate limits the bandwidth. When specified, packets transmitted from the
queue will not exceed the specified limit even if extra bandwidth is available. The specification of
maximum rate is effective regardless of whether the queue is operating in strict or Shaped Deficit
Weighted Round Robin (SDWRR) mode.
Format
config per_queue bandwidth_control {ports [<portlist> | all]} <cos_id_list 0-7> {{min_rate
[no_limit | <value 64-10240000>]} max_rate [no_limit | <value 64-10240000>]}(1)
Parameters
ports - (Optional) Specify a range of ports to be configured.
<portlist> - Specify a range of ports to be configured.
all - Specify to set all ports in the system. If no parameter is specified, the system will set all
the ports.
<cos_id_list 0-7>
- Specify a list of priority queues. The priority queue number ranges from 0 to
7.
min_rate - Specify that one of the parameters below will be applied to the minimum rate that the
class specified above will be allowed to transmit packets at.
no_limit - Indicates there is no limit on egress queue of specified port bandwidth.
<value 64-10240000> - Specify an integer value from 64 to 10240000 to set a minimum limit
in Kbits/sec. The specified bandwidth limit may be equaled but not exceeded. The exact
logical limit or token value is hardware determined. Note: 1 Kbit = 1000 bits, 1 Gigabit =
1000*1000 Kbits. Actual rate = (inputted rate/ 64) * 64.
max_rate
- Specify one of the parameters below will be applied to the maximum rate that the
class specified above will be allowed to transmit packets at.
no_limit - Indicates there is no limit on egress queue of specified port bandwidth.
<value 64-10240000> - Specify an integer value from 64 to 10240000 to set a maximum limit
in Kbits/sec. The specified bandwidth limit may be equaled but not exceeded. The exact
logical limit or token value is hardware determined. Note: 1 Kbit = 1000 bits, 1 Gigabit =
1000*1000 Kbits. Actual rate = (inputted rate/ 64) * 64.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To configure the maximum rate to be 100 on queue 1 for ports 1 to 10:
DGS-3420-28SC:admin#config per_queue bandwidth_control ports 1-10 1 max_rate
100
Command: config per_queue bandwidth_control ports 1-10 1 max_rate 100
Granularity: TX: 64. Actual Rate: MAX: 64.
Success.