General
Quality of Service (QoS) is a feature on the switch which prioritizes traffic resulting in a performance improvement for critical network traffic. QoS varies by switch, as the higher the level switch, the higher the network application layer it works with. The number of queues differ, as well as the kind of information used to prioritize.
QoS Properties
Quality of Service (QoS) prioritizes the traffic flow based on the type of traffic and can be applied to prioritize traffic for latency-sensitive applications (such as voice or video) and to control the impact of latency-insensitive traffic.
To configure QoS properties, follow these steps:
Procedure
Step 1 |
Click Quality of Service > General > QoS Properties. |
Step 2 |
Set the QoS mode. The following options are available:
|
Step 3 |
Select Port/LAG and click Go to display/modify all ports/LAGs on the device and their CoS information. The following fields are displayed for all ports/LAGs:
|
Step 4 |
Click Apply. The Running Configuration file is updated. To set QoS on an interface, select it, and click Edit. |
Step 5 |
Enter the parameters.
|
Step 6 |
Click Apply. The interface default CoS value is saved to Running Configuration file. To restore the default CoS values, click Restore CoS Defaults. |
Queues
The device supports 8 queues for each interface. Queue number eight is the highest priority queue. Queue number one is the lowest priority queue.
There are two ways of determining how traffic in queues is handled, Strict Priority and Weighted Round Robin (WRR).
-
Strict Priority—Egress traffic from the highest-priority queue is transmitted first. Traffic from the lower queues is processed only after the highest queue has been transmitted, thus providing the highest level of priority of traffic to the highest numbered queue.
-
Weighted Round Robin (WRR)—In WRR mode the number of packets sent from the queue is proportional to the weight of the queue (the higher the weight the more frames are sent). For example, if there are a maximum of four queues possible and all four queues are WRR and the default weights are used, queue 1 receives 1/15 of the bandwidth (assuming all queues are saturated and there’s congestion), queue 2 receives 2/15, queue 3 receives 4/15 and queue 4 receives 8 /15 of the bandwidth. The type of WRR algorithm used in the device isn’t the standard Deficit WRR (DWRR), but rather Shaped Deficit WRR (SDWRR).
The queuing modes can be selected in the Queue page. When the queuing mode is by strict priority, the priority sets the order in which queues are serviced, starting with the highest priority queue and going to the next lower queue when each queue is completed.
When the queuing mode is Weighted Round Robin, queues are serviced until their quota has been used up and then another queue is serviced. It’s also possible to assign some of the lower queues to WRR, while keeping some of the higher queues in strict priority. In this case traffic for the strict-priority queues is always sent before traffic from the WRR queues. Only after the strict-priority queues have been emptied is traffic from the WRR queues forwarded. (The relative portion from each WRR queue depends on its weight).
To select the priority method and enter WRR data, complete the following steps:
Procedure
Step 1 |
Click Quality of Service > General > Queue. |
Step 2 |
Enter the parameters.
|
Step 3 |
Click Apply. The queues are configured, and the Running Configuration file is updated. |
CoS/802.1p to Queue
The CoS/802.1p to Queue page maps 802.1p priorities to egress queues. The CoS/802.1p to Queue Table determines the egress queues of the incoming packets based on the 802.1p priority in their VLAN Tags. For incoming untagged packets, the 802.1p priority is the default CoS/802.1p priority assigned to the ingress ports.
To map CoS values to egress queues, follow these steps:
Procedure
Step 1 |
Click Quality of Service > General > CoS/802.1p to Queue. |
Step 2 |
Enter the parameters.
|
Step 3 |
For each 802.1p priority, select the Output Queue to which it is mapped. |
Step 4 |
Click Apply, Cancel or Restore Defaults. 801.1p priority values to queues are mapped, and the Running Configuration file is updated, the changes that entered are canceled, or previously defined values are restored. |
DSCP to Queue
The DSCP (IP Differentiated Services Code Point) to Queue page maps DSCP values to egress queues. The DSCP to Queue Table determines the egress queues of the incoming IP packets based on their DSCP values. The original VPT (VLAN Priority Tag) of the packet is unchanged.
By simply changing the DSCP to Queue mapping and the Queue schedule method and bandwidth allocation, it’s possible to achieve the desired quality of services in a network.
The DSCP to Queue mapping is applicable to IP packets if:
-
The device is in QoS Basic mode and DSCP is the trusted mode.
-
The device is in QoS Advanced mode and the packets belongs to flows that are DSCP trusted.
Non-IP packets are always classified to the best-effort queue.
The following tables describe the default DSCP to queue mapping for an 8-queue system where 7 is highest and 8 is used for stack control purposes.
DSCP |
63 |
55 |
47 |
39 |
31 |
23 |
15 |
7 |
Queue |
6 |
6 |
7 |
5 |
4 |
3 |
2 |
1 |
DSCP |
62 |
54 |
46 |
38 |
30 |
22 |
14 |
6 |
Queue |
6 |
6 |
7 |
5 |
4 |
3 |
2 |
1 |
DSCP |
61 |
53 |
45 |
37 |
29 |
21 |
13 |
5 |
Queue |
6 |
6 |
7 |
5 |
4 |
3 |
2 |
1 |
DSCP |
60 |
52 |
44 |
36 |
28 |
20 |
12 |
4 |
Queue |
6 |
6 |
7 |
5 |
4 |
3 |
2 |
1 |
DSCP |
59 |
51 |
43 |
35 |
27 |
19 |
11 |
3 |
Queue |
6 |
6 |
7 |
5 |
4 |
3 |
2 |
1 |
DSCP |
58 |
50 |
42 |
34 |
26 |
18 |
10 |
2 |
Queue |
6 |
6 |
7 |
5 |
4 |
3 |
2 |
1 |
DSCP |
57 |
49 |
41 |
33 |
25 |
17 |
9 |
1 |
Queue |
6 |
6 |
7 |
5 |
4 |
3 |
2 |
1 |
DSCP |
56 |
48 |
40 |
32 |
24 |
16 |
8 |
0 |
Queue |
6 |
6 |
6 |
7 |
6 |
6 |
1 |
1 |
The following tables describe the default DSCP to queue mapping for an 8-queue system where 8 is highest:
DSCP |
63 |
55 |
47 |
39 |
31 |
23 |
15 |
7 |
Queue |
7 |
7 |
8 |
6 |
5 |
4 |
3 |
1 |
DSCP |
62 |
54 |
46 |
38 |
30 |
22 |
14 |
6 |
Queue |
7 |
7 |
8 |
6 |
5 |
4 |
3 |
1 |
DSCP |
61 |
53 |
45 |
37 |
29 |
21 |
13 |
5 |
Queue |
7 |
7 |
8 |
6 |
5 |
4 |
3 |
1 |
DSCP |
60 |
52 |
44 |
36 |
28 |
20 |
12 |
4 |
Queue |
7 |
7 |
8 |
6 |
5 |
4 |
3 |
1 |
DSCP |
59 |
51 |
43 |
35 |
27 |
19 |
11 |
3 |
Queue |
7 |
7 |
8 |
6 |
5 |
4 |
3 |
1 |
DSCP |
58 |
50 |
42 |
34 |
26 |
18 |
10 |
2 |
Queue |
7 |
7 |
8 |
6 |
5 |
4 |
3 |
1 |
DSCP |
57 |
49 |
41 |
33 |
25 |
17 |
9 |
1 |
Queue |
7 |
7 |
8 |
6 |
5 |
4 |
3 |
1 |
DSCP |
56 |
48 |
40 |
32 |
24 |
16 |
8 |
0 |
Queue |
7 |
7 |
7 |
8 |
7 |
7 |
1 |
2 |
To map DSCP to queues, follow these steps:
Procedure
Step 1 |
Click Quality of Service > General > DSCP to Queue. The DSCP to Queue page contains Ingress DSCP. It displays the DSCP value in the incoming packet and its associated class. |
Step 2 |
Select the Output Queue (traffic forwarding queue) to which the DSCP value is mapped. |
Step 3 |
Click Apply. The Running Configuration file is updated. Click Restore Defaults to restore the default settings. |
Bandwidth
Note |
This setting is only available in the Advanced Setting view. |
The Bandwidth page displays bandwidth information for each interface. To view the bandwidth information, complete the following steps:
Procedure
Step 1 |
Click Quality of Service > General > Bandwidth. The fields in this page are described in the Edit page below, except for the following fields:
|
||||||||||||||
Step 2 |
Select an interface, and click Edit. |
||||||||||||||
Step 3 |
Select the Port or LAG interface. |
||||||||||||||
Step 4 |
Enter the fields for the selected interface:
|
||||||||||||||
Step 5 |
Click Apply. The bandwidth settings are written to the Running Configuration file. |
Egress Shaping per Queue
Note |
This setting is only available in the Advanced Setting view. |
In addition to limiting the transmission rate per port, which is done in the Bandwidth page, the device can limit the transmission rate of selected egressing frames on a per-queue per-port basis. Egress rate limiting is performed by shaping the output load.
The device limits all frames except for management frames. Any frames that aren’t limited are ignored in the rate calculations, meaning that their size isn’t included in the limit total.
To configure the egress shaping per queue, complete the following steps:
Procedure
Step 1 |
Click Quality of Service > General > Egress Shaping per Queue. The Egress Shaping Per Queue page displays the rate limit (CIR) and burst size (CBS) for each queue. |
Step 2 |
Select an interface type (Port or LAG), and click Go. |
Step 3 |
Select a Port/LAG, and click Edit. This page enables shaping the egress for up to eight queues on each interface. |
Step 4 |
Select the Interface. |
Step 5 |
For each queue that is required, enter the following fields:
|
Step 6 |
Click Apply. The bandwidth settings are written to the Running Configuration file. |
VLAN Ingress Rate Limit
Note |
This setting is only available in the Advanced Setting view. |
Rate limiting per VLAN, performed in the VLAN Ingress Rate Limit page, enables traffic limiting on VLANs. When VLAN ingress rate limiting is configured, it limits aggregate traffic from all the ports on the device.
The following constraints apply to rate limiting per VLAN:
-
It has a lower precedence than any other traffic policing defined in the system. For example, if a packet is subject to QoS rate limits but is also subject to VLAN rate limiting, and the rate limits conflict, the QoS rate limits take precedence.
-
It’s applied at the device level and within the device at the packet processor level. If there’s more than one packet processor on the device, the configured VLAN rate limit value is applied to each of the packet processors, independently. Devices with up to 24 ports have a single packet processor, while devices of 48 ports or more have two packet processors.
Rate limiting is calculated separately for each packet processor in a unit.
To define the VLAN ingress rate limit, complete the following steps:
Procedure
Step 1 |
Click Quality of Service > General > VLAN Ingress Rate Limit. This page displays the VLAN Ingress Rate Limit Table. |
Step 2 |
Click Add. |
Step 3 |
Enter the parameters.
|
Step 4 |
Click Apply. The VLAN rate limit is added, and the Running Configuration file is updated. |
iSCSI
This setting is only available in the Advanced Setting view.
This page enables activating iSCSI optimization, which means setting up a mechanism for giving priority to iSCSI traffic over other types of traffic. If this feature is enabled on a device, iSCSI traffic on any interface will be assigned the defined priority, and iSCSI traffic won’t be subject to ACL or Policy rules set on interface.
iSCSI traffic is identified by the TCP port on which iSCSI targets listen to requests and optionally also by the IPv4 address on which iSCSI targets listen to requests. Two iSCSI IPv4 flows with well-known TCP ports 3260 and 860 are defined by default on device. iSCSI flow optimization is bi-directional, which means that it’s applied to streams in both directions – from and to targets.
To enable and configure the mechanism for prioritizing and, optionally, marking iSCSI traffic, complete the following steps:
Procedure
Step 1 |
Click Quality of Service > General > iSCSI. |
Step 2 |
Check Enable in the iSCSI Status field to enable processing iSCSI traffic on the device. |
Step 3 |
Enter the fields under Quality of Service Settings:
|
Step 4 |
Click Apply to save the settings. The iSCSI Flow Table displays the various iSCSI flows that have been defined.Two iSCSI flows, with well-known TCP ports 3260 and 860, are displayed. The Flow Type of these flows is Default. If you add a new flow, its Flow Type is Static. To add a new flow: |
Step 5 |
Select the TCP port and click Add and enter the following fields:
|
Step 6 |
Click Apply to save the settings. Click Restore Default Flows to restore the default flows. |
TCP Congestion Avoidance
Note |
This setting is only available in the Advanced Setting view. |
The TCP Congestion Avoidance page enables activating a TCP congestion avoidance algorithm. The algorithm breaks up or avoids TCP global synchronization in a congested node, where the congestion is due to various sources sending packets with the same byte count.
To configure TCP congestion avoidance, complete the following steps:
Procedure
Step 1 |
Click Quality of Service > General > TCP Congestion Avoidance. |
Step 2 |
Click Enable to enable TCP congestion avoidance, and click Apply. |