Operation Manual – QinQH3C S7500 Series Ethernet Switches Chapter 2 Selective QinQ Configuration2-1Chapter 2 Selective QinQ Configuration2.1 Selective QinQ Overview2.1.1 Selective QinQ ImplementationOn an S7500 Ethernet switch, QinQ can be implemented in the following ways.1) Enabling QinQ on portsIn such implementation, QinQ is enabled on ports and a received packet is tagged withthe default VLAN tag of the receiving port no matter whether or not the packet alreadycarries a VLAN tag. If the packet already carries a VLAN tag, the packet becomes adouble-tagged packet. Otherwise, the packet becomes a packet carrying the defaultVLAN tag of its receiving port.2) Enabling QinQ on ports and in VLANsIn such implementation, packets transmitted through the same port are tagged withdifferent outer VLAN tags according to the inner VLAN tags they carry. This is achievedby using the corresponding commands.Note:You can implement traffic-based selective QinQ on an S7500 switch by using ACLs andQoS techniques. Refer to the QoS part of this manual for related commands andoperations.2.2 Selective QinQ Configuration2.2.1 Configuration Prerequisitesz QinQ is enabled on specific ports.z The VLANs whose packets are permitted on specific ports are configured.2.2.2 Configuring Selective QinQFollow these steps to configure selective QinQ: