187Step Command Remarks2. Create a class and enter classview.traffic classifier classifier-name [ operator{ and | or } ]By default, the operatorof a class is AND.3. Specify the inner VLAN IDs ofmatching frames. if-match customer-vlan-id vlan-id-list N/A4. Return to system view. quit N/A5. Create a traffic behavior andenter traffic behavior view. traffic behavior behavior-name N/A6. Specify an outer VLAN ID. nest top-most vlan-id vlan-id N/A7. Return to system view. quit N/A8. Create a QoS policy andenter QoS policy view. qos policy policy-name N/A9. Associate the traffic class withthe traffic behavior definedearlier.classifier classifier-name behaviorbehavior-name N/A10. Return to system view. quit N/A11. Enter Ethernet interface viewor port group view of thecustomer network-side port.• Enter Ethernet interface view:interface interface-type interface-number• Enter port group view:port-group manual port-group-nameUse either command.12. Enable basic QinQ. qinq enable N/A13. Apply the QoS policy to theincoming traffic. qos apply policy policy-name inbound N/ANOTE:Selective QinQ has higher priority than basic QinQ. A received frame is tagged with an outer VLAN IDbased on basic QinQ only after it fails to match the match criteria defined in the traffic class.Configuring an inner-outer VLAN 802.1p priority mappingThrough QoS policies, the Switch Series achieves the following inner-outer VLAN 802.1p prioritymapping modes:• Marking the 802.1p priorities in outer VLAN tags according to the inner VLAN IDs or the 802.1ppriorities in the inner VLAN tags.• Copying the 802.1p priority in the inner VLAN tags to the outer VLAN tags.On the S3600V2 Switch Series, if you have not used either of the two methods previously mentioned tomark the 802.1p priority of the outer VLAN tag, a basic QinQ-enabled or selective QinQ-enabled portwhich is configured to trust packet priority copies the 802.1p priority in the inner VLAN tag to the outerVLAN tag when tagging a packet. A basic QinQ-enabled or selective QinQ-enabled port which isconfigured to trust port priority uses the priority of the receiving port (0 by default) as the 802.1p priorityin the outer VLAN tag. For more information about priority trust mode, see ACL and QoS ConfigurationGuide.To mark the 802.1p priorities in outer VLAN tags according to the inner VLAN IDs or the 802.1p prioritiesin the inner VLAN tags: