5-10
Quality of Service: Managing Bandwidth More Effectively
QoS Packet Classification
Table 5-1. Globally-Configured Packet Classification: Search Order and
Precedence
Note that on the switches covered in this guide, if the switch is configured
with multiple global classifiers that match the same packet, the switch only
applies the QoS marking configured for the QoS classifier with the highest
precedence. In this case, the QoS configuration for another, lower-precedence
classifier that matches is ignored.
For example, if QoS assigns a high priority to packets belonging to VLAN 100
and normal priority to all IP protocol packets, because the IP protocol priority
(4) has precedence over the VLAN priority (5), IP protocol packets on VLAN
100 are set to normal priority.
Classifier-Based Match Criteria
In classifier-based packet classification, match criteria provide a way to
select the packets on which you want to execute QoS actions, such as rate-
limiting or 802.1p prioritization.
Match criteria are configured by creating a class of IPv4 or IPv6 traffic, which
contains one or more match or ignore statements. A traffic class may be used
by any classifier-based software feature, such as QoS or port mirroring.
By using classifier-based QoS, you can configure multiple match criteria that
search multiple fields in packet headers to select the exact traffic you want to
rate-limit or prioritize for a port or VLAN interface. A classifier-based QoS
policy is especially useful when you want to manage different types of traffic
in the same way (for example, to prioritize both IP subnet and voice traffic).
Search
Order
Precedence Global QoS Classifier
1
1 (highest) UDP/TCP application type (port)
22
Device priority (destination or source IP address)
33
IP type of service: precedence and DSCP bit sets (IP packets only)
44
IP protocol (IP, IPX, ARP, AppleTalk, SNA, and NetBeui)
55
VLAN ID
66
Incoming source-port on the switch
Default 7 (lowest) The incoming 802.1p priority (present in tagged VLAN
environments) is preserved if no global QoS classifier with a
higher precedence matches.