D-Link DGS-3100 Switch User Manual


 
DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual
96
hard
ware queues are emptied.
The Switch’s default (if the config scheduling command is not
used) is to empty the hardware queues in order – from the highest
priority queue (hardware class 3) to the lowest priority queue
(hardware class 0). Each hardware queue transmits 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 the user 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 for all the queues,
then the highest hardware priority queue (number 3) will be allowed
to transmit 3 packets – then the next lowest hardware priority queue
(number 2) 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-3> The hardware classes of service to which the
config scheduling command is to be applied. The four hardware
classes of service are identified by number (from 0 to 3) with class 3
having the highest priority.
max_packet <value 0-15> Specifies the maximum number of
packets the above specified priority class of service is allowed to
transmit before allowing the next lower priority class of service to
transmit its packets. The value may be between 0 and 15 packets.
The default value is 1 for class_id 0, 2 for class_id 1, 4 for class_id
2, and 8 for class_id 3.
Restrictions Only administrator or operator level users can issue this command.
This command is usable only if the device was configured to work in
round robin scheduling (config scheduling_mechnism)
Example usage:
To configure traffic scheduling:
DGS3100# config scheduling 3 max_packet 15
Success.
DGS3100#
show scheduling
Purpose To display the currently configured traffic scheduling on the Switch.
Syntax
show scheduling
Description The show scheduling command displays the current configuration
for the maximum number of packets (max_packet) value assigned to
the four priority classes of service on the Switch. The Switch empties
the four hardware queues in order, from the highest priority (class 3)
to the lowest priority (class 0).
Parameters None.
Restrictions None.