Deployment Guide
class-map match-any
2 Create a match-all class map.
CONFIGURATION mode
class-map match-all
3 Specify your match criteria.
CLASS MAP mode
match mac
After you create a class-map, the system places you in CLASS MAP mode.
Match-any class maps allow up to ve access-lists. Match-all class-maps allow only one. You can match against only one VLAN ID.
4 Link the class-map to a queue.
POLICY MAP mode
service-queue
Determining the Order in Which ACLs are Used to Classify Trac
When you link class-maps to queues using the service-queue command, the system matches the class-maps according to queue
priority (queue numbers closer to 0 have lower priorities).
For example, as described in the previous example, class-map cmap2 is matched against ingress packets before cmap1.
ACLs acl1 and acl2 have overlapping rules because the address range 20.1.1.0/24 is within 20.0.0.0/8. Therefore (without the keyword
order), packets within the range 20.1.1.0/24 match positive against cmap1 and are buered in queue 4, though you intended for these
packets to match positive against
cmap2 and be buered in queue 1.
In cases such as these, where class-maps with overlapping ACL rules are applied to dierent queues, use the keyword order. The Dell
Networking OS writes to the CAM ACL rules with lower order numbers (order numbers closer to 0) before rules with higher order numbers
so that packets are matched as you intended.
• Specify the order in which you want to apply ACL rules using the keyword order.
order
The order can range from 0 to 254.
By default, all ACL rules have an order of 255.
Setting DSCP Values for Egress Packets Based on Flow
Match-any Layer 3 ows may have several match criteria. All ows that match at least one of the match criteria are mapped to the same
queue because they are in the same class map.
Setting a DSCP value from QOS-POLICY-IN mode (refer to Setting a DSCP Value for Egress Packets) assigns the same DSCP value to all
of the matching ows in the class-map.
The ow-based DSCP marking feature allows you to assign dierent DSCP to each match criteria.
• Create matching ows within a class map that have dierent DSCP values.
CLASS MAP mode
match set-ip-dscp
The values you set from CLASS-MAP mode override the value you set in the QoS input policy DSCP value. Packets matching the rule
are marked with the specied value.
Quality of Service (QoS)
651