xStack Gigabit Layer 3 Switch Command Line Interface Manual
config scheduling
Entering a
0
into the
<value 0-15>
field of the
max_packet
parameter allows for the creation of a
Combination Queue
for the
forwarding of packets. This
Combination Queue
allows for a
combination of strict and weight-fair (weighted round-robin
“
WRR
”
)
scheduling. Priority classes that have a
0
in the
max_packet
field
will forward packets with strict priority scheduling. The remaining
classes, that do not have a
0
in their
max_packet
field, will follow a
weighted round-robin (
WRR
) method of forwarding packets — as
long as the priority classes with a
0
in their
max_packet
field are
empty. When a packet arrives in a priority class with a
0
in its
max_packet
field, this class will automatically begin forwarding
packets until it is empty. Once a priority class with a
0
in its
max_packet
field is empty, the remaining priority classes will reset
the weighted round-robin (
WRR
) cycle of forwarding packets,
starting with the highest available priority class. Priority classes
with an equal level of priority and equal entries in their
max_packet
field will empty their fields based on hardware priority
scheduling.
Parameters
<class_id 0-6>
−
Specifies which of the seven hardware priority
classes the
config scheduling
command will be applied to. The
seven priority classes are identified by number
−
from 0 to 6
−
with
queue 6 being the highest priority.
max_packet <value 0-15>
−
Specifies the maximum number of
packets the above specified priority class will be allowed to
transmit per weighted round-robin (
WRR
) cycle. A value between
0 and 15 packets can be specified. A zero (
0
) denotes strict
priority scheduling for that priority class.
Restrictions Only
administrator-level users can issue this command.
NOTICE:
The default QoS scheduling arrangement
is a strict priority schedule. To customize
scheduling to set up weighted or round-robin class
clearing, the
max_packets
values need to be
changed.
Example usage:
To configure traffic scheduling:
DGS-3324SRi:4# config scheduling 0 max_packet 15
Command: config scheduling 0 max_packet 15
Success.
DGS-3324SRi:4#
Example usage:
To configure a Combination Queue with a Class 6 priority class with strict priority and the remaining classes as
weighted round robin (WRR) scheduling:
107