Concept Guide

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
3 Specify your match criteria.
CLASS MAP mode
match mac
After you create a class-map, you are placed 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
Applying Layer 2 Match Criteria on a Layer 3 Interface
To process Layer 3 packets that contain a dot1p (IEEE 802.1p) VLAN Layer 2 header, congure VLAN tags on a Layer 3 port interface
which is congured with an IP address but has no VLAN associated with it. You can also congure a VLAN sub-interface on the port
interface and apply a policy map that classies packets using the dot1p VLAN ID.
To apply an input policy map with Layer 2 match criteria to a Layer 3 port interface, use the service-policy input policy-name
layer 2 command in Interface conguration mode.
To apply a Layer 2 policy on a Layer 3 interface:
1 Congure an interface with an IP address or a VLAN sub-interface
CONFIGURATION mode
Dell(conf)# interface fo 0/0
INTERFACE mode
Dell(conf-if-fo-0/0)# ip address 90.1.1.1/16
2 Congure a Layer 2 QoS policy with Layer 2 (Dot1p or source MAC-based) match criteria.
CONFIGURATION mode
Dell(conf)# policy-map-input l2p layer2
3 Apply the Layer 2 policy on a Layer 3 interface.
INTERFACE mode
Dell(conf-if-fo-0/0)# service-policy input l2p layer2
Quality of Service (QoS)
849