![D-Link xStack DGS-3400 Series Cli Manual Download Page 113](http://html.mh-extra.com/html/d-link/xstack-dgs-3400-series/xstack-dgs-3400-series_cli-manual_77433113.webp)
xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
109
config scheduling
Purpose
Used to configure the traffic scheduling mechanism for each QoS queue.
Syntax
config scheduling <class_id 0–6> {max_packet <value 0–15>} (1)
Description
The Switch contains eight hardware priority queues, one of which is internal and not
configurable. Incoming packets must be mapped to one of these seven queues. This
command is used to specify the rotation by which these seven hardware priority queues
are emptied.
The Switch’s default (if the
config scheduling
command is not used, or if the
config
scheduling
command is entered with the max_packet set to 0) is to empty the hardware
priority queues in order
−
from the highest priority queue (hardware queue 6) to the
lowest priority queue (hardware queue 0). Each hardware queue will transmit all of the
packets in its buffer before allowing the next lower priority queue to transmit its packets.
When the lowest hardware priority queue has finished transmitting all of its packets, the
highest hardware priority queue can again transmit any packets it may have received.
The
max_packets
parameter allows you to specify the maximum number of packets a
given hardware priority queue can transmit before allowing the next lowest hardware
priority queue to begin transmitting its packets. A value between 0 and 15 can be
specified. For example, if a value of 3 is specified, then the highest hardware priority
queue (number 6) will be allowed to transmit 3 packets
−
then the next lowest hardware
priority queue (number 5) will be allowed to transmit 3 packets, and so on, until all of the
queues have transmitted 3 packets. The process will then repeat.
Parameters
<class_id 0–6>
−
This specifies to which of the seven hardware priority queues the
config scheduling
command will apply. The seven hardware priority queues are
identified by number
−
from 0 to 6
−
with the 0 queue being the lowest priority.
max_packet <value 0–15>
−
Specifies the maximum number of packets the above
specified hardware priority queue will be allowed to transmit before allowing the next
lowest priority queue to transmit its packets. A value between 0 and 15 can be specified.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure the traffic scheduling mechanism for each queue:
D G S – 3 4 2 6 : 5 # c o n f i g s c h e d u l i n g 0 m a x _ p a c k e t 1 2
C o m m a n d : c o n f i g s c h e d u l i n g 0 m a x _ p a c k e t 1 2
S u c c e s s .
D G S – 3 4 2 6 : 5 #
show scheduling
Purpose
Used to display the currently configured traffic scheduling on the Switch.
Syntax
show scheduling
Description
This command will display the current traffic scheduling mechanisms in use on the
Switch.
Parameters None.
Restrictions None.
Example usage:
To display the current scheduling configuration: