DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide
198
config scheduling
Purpose
To configure traffic scheduling for each of the Switch’s QoS queues.
Syntax
config scheduling <class_id 0-7> weight <value 1-55>
Description
The
config scheduling
command
configures traffic scheduling for
each of the Switch’s QoS queues.
The Switch contains four hardware classes of service. Incoming
packets must be mapped to one of these four hardware queues.
This command is used to specify the rotation by which these four
hardware 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-7>
− 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 7) with class 7
having the highest priority.
weight <value 1-55>
− Specifies the weight 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 55.
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:
DGS-1210-28MP/ME:5# config scheduling 1 weight 10
Command: config scheduling 1 weight 10
Success.
DGS-1210-28MP/ME:5#
show scheduling
Purpose
To display the currently configured traffic scheduling on the Switch.
Syntax
show scheduling