Connectivity Guide

Table Of Contents
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
[seq sequence number] match {ip | ipv6 | ip-any}
After you create a class-map, Dell EMC Networking OS places you in CLASS MAP mode.
Match-any class maps allow up to five ACLs. Match-all class-maps allow only one ACL.
NOTE: Within a class-map, the match rules are installed in the sequence number order.
4. Link the class-map to a queue.
POLICY MAP mode
service-queue
DellEMC(conf)#ip access-list standard acl1
DellEMC(config-std-nacl)#permit 20.0.0.0/8
DellEMC(config-std-nacl)#exit
DellEMC(conf)#ip access-list standard acl2
DellEMC(config-std-nacl)#permit 20.1.1.0/24 order 0
DellEMC(config-std-nacl)#exit
DellEMC(conf)#class-map match-all cmap1
DellEMC(conf-class-map)#match ip access-group acl1
DellEMC(conf-class-map)#exit
DellEMC(conf)#class-map match-all cmap2
DellEMC(conf-class-map)#match ip access-group acl2
DellEMC(conf-class-map)#exit
DellEMC(conf)#policy-map-input pmap
DellEMC(conf-policy-map-in)#service-queue 3 class-map cmap1
DellEMC(conf-policy-map-in)#service-queue 1 class-map cmap2
DellEMC(conf-policy-map-in)#exit
DellEMC(conf)#interface tengigabitethernet 1/1
DellEMC(conf-if-te-1/1)#service-policy input pmap
Examples of Creating a Layer 3 IPv6 Class Map
The following example matches the IPv6 traffic with a DSCP value of 40:
DellEMC(conf)# class-map match-all test
DellEMC(conf-class-map)# match ipv6 dscp 40
The following example matches the IPv4 and IPv6 traffic with a precedence value of 3:
DellEMC(conf)# class-map match-any test1
DellEMC(conf-class-map)#match ip-any precedence 3
Creating a Layer 2 Class Map
All class maps are Layer 3 by default; however, you can create a Layer 2 class map by specifying the layer2 option with the
class-map command.
A Layer 2 class map differentiates traffic according to 802.1p value and/or VLAN and/or characteristics defined in a MAC ACL..
Use Step 1 or Step 2 to start creating a Layer 2 class map.
1. Create a match-any class map.
CONFIGURATION mode
class-map match-any
2. Create a match-all class map.
CONFIGURATION mode
class-map match-all
684
Quality of Service (QoS)