Filters and QoS Configuration for ERS 5500Technical Configuration Guide v2.0 NN48500-559___________________________________________________________________________________________________________________________Nortel Confidential Information Copyright © 2008 Nortel Networks. All Rights Reserved.External Distribution 6212.5 Configuration Example 4 – L2 Classification Basedon MAC AddressIn this configuration example, we wish to set the service class for any MAC address from00:00:0A:00:00:00 to 00:00:0A:00:00:ff to a Service Class of Gold and all other traffic with aService Class of Bronze. This in effect will change the 802.1p value to 4, if the port is set fortagged, and also set the DSCP value to AF31 (0x1A).Figure 5: L2 Classification Based on MAC Address Example12.5.1 ERS5500 Configuration – Using Policies12.5.1.1 Configure the Interface Role CombinationERS5500 Step 1 – Create the Interface Role Combination and name is “vlan_110”ERS5500-24T(config)#qos if-group name vlan_110 class unrestrictedERS5500-24T(config)#qos if-assign port 1/3-4 name vlan_11012.5.1.2 Add new L2 elementERS5500: Step 1 – Add an L2 element for VLAN 110 and specify MAC address5500(config)#qos l2-element 1 src-mac 00:00:0a:00:00:00 src-mac-maskff:ff:ff:ff:ff:00 ethertype 0x80012.5.1.3 Configure ClassifierERS5500 Step 1 – The following steps add the L2 element created above to an L2classifier element5500(config)#qos classifier 1 set-id 1 name c1 element-type l2 element-id 112.5.1.4 Create PolicyCreate the policies with the classifiers created above. Please refer to table 3 in reference to thepolicy action.ERS5500 Step 1 – Add policy for L2 classifier created above and apply it to rolecombination vlan_110 with an in-profile action of service class Gold and non-match actionof service class bronze5500(config)# qos policy 1 name "pol_1" if-group "vlan_110" clfr-type classifier