xStack
®
DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual
475
DGS-3450:admin# disable hol_prevention
Command: disable hol_prevention
Success.
DGS-3450:admin#
show hol_prevention
Purpose
Use to show the HOL prevention state.
Syntax
show hol_prevention
Description
The show hol_prevention command displays the head of line prevention state on the switch.
Parameters
None.
Restrictions
None.
Example usage:
To display the HOL prevention state on the switch:
DGS-3450:admin# show hol_prevention
Command: show hol_prevention
Device HOL Prevention State: Enabled
DGS-3450:admin#
config per_queue bandwidth_control
Purpose
Used to configure the queue bandwidth control for each port.
Syntax
config per_queue bandwidth_control {ports [<portlist> | all ]} <cos_id_list 0-6>
{{min_rate [no_limit | <value 64-10000000>]} max_rate [no_limit | <value 64-
10000000>]}(1)
Description
The config per_queue bandwidth_control command sets the bandwidth control for each
specific queue on specified ports.
min_rate
specifies the minimum guaranteed bandwidth. Specifying no limit for the minimum
rate means that bandwidth will not be guaranteed.
max_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 min_rate and max_rate are effective regardless of whether the queue is
operating in strict mode or in WRR mode.
Parameters
ports <portlist>
- Specifies a range of ports to be configured.
all
- To set all ports in the system, you may use the “all” parameter. If no parameter is
specified, the system will set all ports.
<cos_id_list 0-6>
- Specifies a list of priority queues. The priority queue number is ranged
from 0 to 6.
min_rate
- Specifies that one of the parameters below (no_limit or 64-10000000) will be
applied to the minimum rate, which the above specified class will be allowed to receive
packets at.
no_limit
- Specifies that there will be no limit on the rate of packets received by the
class specified above.
<value 64-10000000>
- Specifies the packet limit, in Kbps, that the above ports will
be allowed to receive.