About Classification
Classification is the separation of packets into traffic classes. You configure the device to take a specific action on the specified classified traffic, such as policing or marking down, or other actions.
You can create class maps to represent each traffic class by matching packet characteristics with the classification criteria in the following table:
Classification Criteria |
Description |
---|---|
CoS |
Class of service (CoS) field in the IEEE 802.1Q header. |
IP precedence |
Precedence value within the type of service (ToS) byte of the IP header. |
Differentiated Services Code Point (DSCP) |
DSCP value within the DiffServ field of the IP header. |
ACL |
IP, IPv6, or MAC ACL name. |
Packet length |
Size range of Layer 3 packet lengths. |
IP RTP |
Identify applications using Real-time Transport Protocol (RTP) by UDP port number range. |
MPLS experimental |
EXP field value. |
You can specify multiple match criteria, you can choose to not match on a particular criterion, or you can determine the traffic class by matching any or all criteria.
Note |
However, if you match on an ACL, no other match criteria, except the packet length, can be specified in a match-all class. In a match-any class, you can match on ACLs and any other match criteria. |
Traffic that fails to match any class in a QoS policy map is assigned to a default class of traffic called class-default. The class-default can be referenced in a QoS policy map to select this unmatched traffic.
You can reuse class maps when defining the QoS policies for different interfaces that process the same types of traffic.