Administrator Guide

seq 5 permit any dscp 40 ecn 0
!
class-map match-any class_dscp_40
match ip access-group dscp_40_non_ecn set-color yellow
match ip access-group dscp_40_ecn
!
class-map match-any class_dscp_50
match ip access-group dscp_50_non_ecn set-color yellow
match ip access-group dscp_50_ecn
!
policy-map-input pmap_dscp_40_50
service-queue 2 class-map class_dscp_40
service-queue 3 class-map class_dscp_50
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 1/4
INTERFACE mode
Dell(conf-if-fo-1/4)# 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-1/4)# service-policy input l2p layer2
Applying DSCP and VLAN Match Criteria on a Service
Queue
You can congure Layer 3 class maps which contain both a Layer 3 Dierentiated Services Code Point (DSCP) and IP VLAN IDs as match
criteria to lter incoming packets on a service queue on the switch.
To congure a Layer 3 class map to classify trac according to both an IP VLAN ID and DSCP value, use the match ip vlan vlan-id
command in class-map input conguration mode. You can include the class map in a policy map, and apply the class and policy map to a
service queue using the service-queue command. In this way, the system applies the match criteria in a class map according to queue
priority (queue numbers closer to 0 have a lower priority).
To congure IP VLAN and DSCP match criteria in a Layer 3 class map, and apply the class and policy maps to a service queue:
1 Create a match-any or a match-all Layer 3 class map, depending on whether you want the packets to meet all or any of the match
criteria. By default, a Layer 3 class map is created if you do not enter the layer2 option with the class-map command. When you
create a class map, you enter the class-map conguration mode.
748
Quality of Service (QoS)