D-Link DES-3010G Reference Manual - Page 83

config scheduling_mechanism, Weight Fair WRR

Page 83 highlights

DES-3010F / DES-3010G / DES-3018 / DES-3026 Layer 2 Switch CLI Reference Manual config scheduling_mechanism Purpose Syntax Description Parameters Restrictions Used to configure the scheduling mechanism for the QoS function config scheduling_mechanism [strict | weight_fair] The config scheduling_mechanism command allows the user to select between a Weight Fair (WRR) and a Strict mechanism for emptying the priority classes of service of the QoS function. The Switch contains four hardware priority classes of service. Incoming packets must be mapped to one of these four hardware priority classes of service. This command is used to specify the rotation by which these four hardware priority classes of service are emptied. The Switch's default is to empty the four priority classes of service in order − from the highest priority class of service (queue 3) 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 highest class of service will transmit its packet before allowing the lower class to resume clearing its queue. 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. Other classes of service will follow weight fair scheduling. weight_fair - Entering the weight fair parameter indicates that the priority classes of service will empty packets in a weighted roundrobin (WRR) order. That is to say that they will be emptied in an even distribution. Only administrator-level users can issue this command. Example usage: To configure the traffic scheduling mechanism for each COS queue: DES-3026:4#config scheduling_mechanism strict Command: config scheduling_mechanism strict Success. DES-3026:4# show scheduling_mechanism Purpose Syntax Description Parameters Restrictions Used to display the current traffic scheduling mechanisms in use on the Switch. show scheduling_mechanism This command will display the current traffic scheduling mechanism in use on the Switch. None. None. 81

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147

DES-3010F / DES-3010G / DES-3018 / DES-3026 Layer 2 Switch CLI Reference Manual
config scheduling_mechanism
Purpose
Used to configure the scheduling mechanism for the QoS function
Syntax
config scheduling_mechanism [strict | weight_fair]
Description
The
config scheduling_mechanism
command allows the user to
select between a
Weight Fair (WRR)
and a
Strict
mechanism for
emptying the priority classes of service of the QoS function. The
Switch contains four hardware priority classes of service. Incoming
packets must be mapped to one of these four hardware priority
classes of service. This command is used to specify the rotation by
which these four hardware priority classes of service are emptied.
The Switch’s default is to empty the four priority classes of service
in order
from the highest priority class of service (queue 3) 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
highest 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.
Other classes of service will follow weight fair scheduling.
weight_fair
– Entering the weight fair parameter indicates that the
priority classes of service will empty packets in a weighted round-
robin (
WRR
) order. That is to say that they will be emptied in an
even distribution.
Restrictions
Only administrator-level users can issue this command.
Example usage:
To configure the traffic scheduling mechanism for each COS queue:
DES-3026:4#config scheduling_mechanism strict
Command: config scheduling_mechanism strict
Success.
DES-3026:4#
show scheduling_mechanism
Purpose
Used to display the current traffic scheduling mechanisms in use
on the Switch.
Syntax
show scheduling_mechanism
Description
This command will display the current traffic scheduling
mechanism in use on the Switch.
Parameters
None.
Restrictions
None.
81