Dell MXL 10/40GbE Switch User Manual


  Open as PDF
of 1094
 
To apply a Layer 2 policy on Layer 3 interfaces, perform the following:
1. Configure 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. Configure the Layer 2 policy with Layer 2 (Dot1p or source MAC-based) classification 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 configure a classifier map, which contains both the Differentiated Services Code Point (DSCP)
and MAC VLAN IDs as parameters, for filtering packets that are received before they are forwarded or
dropped. You can now specify both DSCP-IP packet classification (Layer 3 headers) and Dot1p—(IEEE
802.1p) Packet classification (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 configure only the dot1p value as the filter criterion in Layer 2
class maps and the DSCP value as the filter 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 configure 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 configure a Layer 3 class map to differentiate traffic
according to the IP VLAN value and the DSCP value. You can use the match ip vlan vlan-id
command in Class Map Input Configuration 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 configuration mode.
CONFIGURATION mode
Dell (conf)#class-map match-all pp_classmap
2. Use a DSCP value as a match criterion.
Quality of Service (QoS)
749