Specifications
DGS-3048 Layer 2 Switch CLI Reference Manual
86
Command Parameters
show 802.1p default_priority {<portlist>}
config scheduling_mechanism [strict | round_robin]
show scheduling_mechanism
config rate_limit [<portlist> | all] <value 1-1000000>
show rate_limit
Each command is listed, in detail, in the following sections.
config scheduling
Purpose Used to configure traffic scheduling for each of the Switch’s QoS
queues.
Syntax
config scheduling <class_id 0-7> {max_packet <value 0-15}
Description The Switch contains eight hardware priority classes of service per
device. The Switch’s default settings draw down the eight hardware
classes of service in order, from the highest class (Class 7) to the
lowest class (Class 0). Starting with the highest priority class of
service (Class 7), the highest priority class of service will transmit all
of the packets and empty its buffer before allowing the next lower
priority class of service to transmit its packets. The next highest
priority class of service will empty before proceeding to the next
class of service and so on. Lower priority classes of service are
allowed to transmit only if
the higher priority classes of service in the
buffer are completely emptied. Packets in the higher priority classes
of service are always emptied before any in the lower priority
classes of service regardless of latency or volume of the lower
priority classes of service.
The default settings for QoS scheduling employ this strict priority
scheme to empty priority classes of service.
The config scheduling command can be used to specify the round
robin rotation by which these eight hardware priority classes of
service are reduced. To use a round-robin scheme, the max_packet
parameter must be changed from the default value of 0.
The max_packet parameter allows you to specify the maximum
number of packets a given priority classes of service can transmit
before allowing the next lowest priority queue to begin transmitting
its packets. A value between 0 and 15 packets can be specified. For
example, if a value of 5 is specified, then the highest priority class of
service (queue 7) will be allowed to transmit 5 packets. Then the
next lower priority class of service (queue 6) will be allowed to
transmit 5 packets, and so on, until all of the classes of service have
transmitted 5 packets. The process will then repeat.
Parameters
<class_id> − Specifies which of the eight priority classes of service
to which the config scheduling command will be applied. The eight
priority classes of service are identified by number − from 0 to 7 −
with class 7 being the highest priority.
max_packet <value 0-15> − Specifies the maximum number of
packets the above specified priority class of service will be allowed
to transmit before allowing the next lowest priority classes of service
to transmit its packets. A value between 0 and 15 packets can be