Administrator Guide

To apply a Layer 2 policy on Layer 3 interfaces, perform the following:
1. Congure an interface with an IP address or a VLAN subinterface
CONFIGURATION mode
Dell(conf)# int fo 0/0
INTERFACE mode
Dell(conf-if-fo-0/0)# ip address 90.1.1.1/16
2. Congure the Layer 2 policy with Layer 2 (Dot1p or source MAC-based) classication rules.
CONFIGURATION mode
Dell(conf)# policy-map-input l2p layer2
3. Apply the Layer 2 policy on the Layer 3 interface.
INTERFACE mode
Dell(conf-if-fo-0/0)# service-policy input l2p layer2
Classifying Packets Based on a Combination of DSCP Code Points and VLAN IDs
You can congure a classier map, which contains both the Dierentiated Services Code Point (DSCP) and MAC VLAN IDs as
parameters, for ltering packets that are received before they are forwarded or dropped. You can now specify both DSCP-IP packet
classication (Layer 3 headers) and Dot1p—(IEEE 802.1p) Packet classication (Layer 2 headers) as match criteria in a Layer 3 class
map.
The type of the class map is determined during the creation of a class map. In releases of Dell Networking OS earlier than Release
9.2(0.0), you can congure only the dot1p value as the lter criterion in Layer 2 class maps and the DSCP value as the lter
parameter in Layer 3 class maps. It was also possible to classify packets using both the Layer 2 attribute, dot1p value or MAC VLAN,
in a Layer 2 class map and the Layer 3 attribute, DSCP value, in a Layer 3 class map. However, it was not possible to congure both
dot1p or MAC VLAN, and DSCP values in the same Layer 2 or Layer 3 class map.
All class maps are Layer 3 by default. You can now congure a Layer 3 class map to dierentiate trac according to the IP VLAN
value and the DSCP value. You can use the match ip vlan vlan-id command in Class Map Input Conguration mode to
specify a match criterion for a class map based on a VLAN ID. You can attach this class map with a policy map, and associate the
policy map with a service queue. When you link class maps to queues using the service-queue command, Dell Networking OS
matches the class-maps according to queue priority (queue numbers closer to 0 have lower priorities).
To create IP VLAN and DSCP values as match criteria in a Layer 3 class map, and to associate the class map with a policy map that
is linked to a service queue, perform the following:
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 to be a member of the class. 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.
CONFIGURATION mode
Dell (conf)#class-map match-all pp_classmap
2. Use a DSCP value as a match criterion.
CLASS-MAP mode
Dell (conf-class-map)#match ip dscp 5
3. Congure a match criterion for a class map based on the VLAN ID.
CLASS-MAP mode
Dell (conf-class-map)#match ip vlan 5
4. Create a QoS input policy on the device.
Quality of Service (QoS)
649