Given that there will always be points in the network where multiple traffic streams merge or where network links will change speed and capacity, it is important to move traffic on the basis of relative importance. Without CoS prioritization, less important traffic can consume network bandwidth and slow down or halt the delivery of more important traffic. For example, without CoS, most traffic received by a switch is forwarded with the same priority it had upon entering the switch. In many cases, such traffic is ‘‘normal’’ priority and competes for bandwidth with all other normal-priority traffic, regardless of its relative importance to your organization’s mission. CoS helps to keep the most important network traffic moving at an acceptable speed, regardless of current bandwidth usage. This means you can manage available bandwidth so that the switch transmits the most important traffic first.
Without an 802.1Q tagged VLAN environment, CoS can prioritize only the movement of outbound traffic through individual ProCurve switches in your network. Using 802.1Q tagged VLANs provides the maximum advantage by allowing CoS to set priorities that are supported by downstream devices. This means that CoS can support improved performance for present traffic levels as well as future traffic growth while optimizing the use of existing resources and delaying the need for further investments in equipment and services. That is, CoS enables you to:
|The upper 6 bits of the Type of Service (ToS) field (the DS field) of an IP packet.|
|downstream device||A device linked directly or indirectly to an outbound switch port. That is, the switch sends traffic to downstream devices.|
|inbound port||Any port on a switch through which traffic enters the switch.|
|outbound port||Any port on a switch through which traffic leaves the switch.|
|outbound port queue||For any port, a buffer that holds outbound traffic until it can leave the switch through that port. There is a "high priority" queue and a "normal priority" queue for each port in the switch . Traffic in a port's high priority queue leaves the switch before any traffic in the port's normal priority queue.|
|precedence bits||The upper three bits in the Type of Service (ToS) field of an IP packet.|
|upstream device||A device linked directly or indirectly to an inbound switch port. That is, the switch receives traffic from upstream devices.|
|802.1p priority||A traffic priority setting carried only in packets in 802.1Q tagged VLANs. This setting can be from 0 to 7.|
|802.1Q tagged VLAN||A virtual LAN (VLAN) that complies with the 802.1Q standard and is configured as "tagged". (For more on VLANs, see the Management and Configuration Guide you received with your HP ProCurve switch.)|
Configuring a CoS policy in the switch affects switch internal traffic priorities at the outbound port, and (if 802.1Q VLANs are configured in your network) the priority settings in traffic leaving the switch. This enables control over traffic movement within the switch and control over the priority settings in packets going to downstream devices and applications that can use those settings.
If an outbound packet is in an 802.1Q tagged VLAN environment (that is, if the packet is assigned to a tagged VLAN on the outbound port), then the packet carries an 802.1p priority setting that was configured in the switch. This priority setting can range from 0 to 7, and can be used by downstream devices having up to eight queues. Thus, while packets within a switch move only at high or normal priority, they still can carry the 802.1p priority that can be used by downstream devices having more than two priority levels. Also, if the packet enters the switch with an 802.1p priority setting, CoS can override this setting if configured to do so.
You can configure a CoS priority of 0 through 7 for an outbound packet. When the packet is then sent to a port, the CoS priority determines which outbound queue the packet uses.
|0 - 3||normal priority||Packets in this queue leave the port after the high-priority queue is emptied.|
|4 - 7||high priority||Packets in this queue leave the port first.|
If a packet is not in an 802.1Q tagged VLAN environment, the above settings control only to which outbound queue the packet goes, and no 802.1p priority is added to the packet. However, if the packet is in an 802.1Q tagged VLAN environment, then the above setting is also added to the packet as an 802.1p priority that can be used by downstream devices and applications, as shown in the Priority Mapping Table.
You can configure CoS prioritization on the basis of five criteria ranked as follows:
If more than one criteria is present in a packet, the highest ranked of the criteria is used to prioritize the packet; all lower-ranked criteria are ignored. For example, if CoS assigns:
Since Protocol Priority (third in precedence, as shown above) has precedence over VLAN priority (fourth in precedence, as shown above), IP packets on the ‘‘red’’ VLAN will be set to normal priority. The "Priority Criteria and Precedence" table provides a more detailed description of how this operates.
To configure CoS, use this procedure:
For more on how CoS operates with the above traffic types, see the "Priority Criteria and Precedence" table)
Note: If you use TopTools for Hubs & Switches to configure Quality of Service (QoS) policy in a network, it overrides any CoS settings configured through the console or the web browser interface in any individual HP ProCurve switch.
|CoS Options||Priority Configuration Steps|
|Device Priority||Click on the Device Priority button, then:
To add an IP address:
|Type of Service||Click on the Type of Service button. Then:
|Protocol||Click on the Protocol button. Then:
|VLAN Priority||Click on the VLAN Priority button. Then:
Copyright © 1999 by Hewlett-Packard Company