!ip access-list standard dscp_40_ecnseq 5 permit any dscp 40 ecn 1seq 10 permit any dscp 40 ecn 2seq 15 permit any dscp 40 ecn 3!ip access-list standard dscp_50_non_ecnseq 5 permit any dscp 50 ecn 0!ip access-list standard dscp_40_non_ecnseq 5 permit any dscp 40 ecn 0!class-map match-any class_dscp_40match ip access-group dscp_40_non_ecn set-color yellowmatch ip access-group dscp_40_ecn!class-map match-any class_dscp_50match ip access-group dscp_50_non_ecn set-color yellowmatch ip access-group dscp_50_ecn!policy-map-input pmap_dscp_40_50service-queue 2 class-map class_dscp_40service-queue 3 class-map class_dscp_50Applying Layer 2 Match Criteria on a Layer 3 InterfaceTo process Layer 3 packets that contain a dot1p (IEEE 802.1p) VLAN Layer 2 header, configure VLAN tagson a Layer 3 port interface which is configured with an IP address but has no VLAN associated with it. Youcan also configure a VLAN sub-interface on the port interface and apply a policy map that classifiespackets 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 configuration mode.To apply a Layer 2 policy on a Layer 3 interface:1. Configure an interface with an IP address or a VLAN sub-interfaceCONFIGURATION modeDell(conf)# interface fo 1/4INTERFACE modeDell(conf-if-fo-1/4)# ip address 90.1.1.1/162. Configure a Layer 2 QoS policy with Layer 2 (Dot1p or source MAC-based) match criteria.CONFIGURATION modeDell(conf)# policy-map-input l2p layer23. Apply the Layer 2 policy on a Layer 3 interface.INTERFACE modeDell(conf-if-fo-1/4)# service-policy input l2p layer2738 Quality of Service (QoS)