xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
113
config scheduling_mechanism
Purpose
Used to configure the scheduling mechanism for the QoS function
Syntax
config scheduling_mechanism [strict | weight_fair]
Description
This command is used to to select between a
weight fair
and a
Strict
mechanism for
emptying the priority classes of service of the QoS function. The Switch contains seven
hardware priority classes of service. Incoming packets must be mapped to one of these
seven hardware priority classes of service. This command is used to specify the rotation
by which these seven hardware priority classes of service are emptied.
The Switch’s default is to empty the seven priority classes of service in order
−
from the
highest priority class of service (queue 6) to the lowest priority class of service (queue 0).
Each queue will transmit all of the packets in its buffer before allowing the next lower
priority class of service to transmit its packets. Lower classes of service will be pre–
empted from emptying its queue if a packet is received on a higher class of service. The
packet that was received on the higher class of service will transmit its packet before
allowing the lower class to resume clearing its queue.
Parameters
strict
– Entering the
strict
parameter indicates that the highest class of service is the first
to be processed. That is, the highest class of service should finish emptying before the
others begin.
weight_fair
– Entering the weight fair parameter indicates that the priority classes of
service will empty packets in a fair weighted order. That is to say that they will be emptied
in an even distribution.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure the traffic scheduling mechanism for each QoS 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 _ m e c h a n i s m s t r i c t
C o m m a n d : c o n f i g s c h e d u l i n g _ m e c h a n i s m s t r i c t
S u c c e s s .
D G S – 3 4 2 6 : 5 #
show scheduling_mechanism
Purpose
Used to display the current traffic scheduling mechanisms in use on the Switch.
Syntax
show scheduling_mechanism
Description
This command is used to display the current traffic scheduling mechanisms in use on the
Switch.
Parameters None.
Restrictions None.
Example usage:
To show the scheduling mechanism: