126Configuring ambiguous QinQ terminationTo configure ambiguous QinQ termination on a Layer 3 Ethernet/aggregate subinterface or VLANinterface:Step Command Remarks1. Enter system view. system-view N/A2. Enter interface view.• Enter Layer 3 Ethernet interfaceview:interface interface-typeinterface-number.subnumber• Enter Layer 3 aggregateinterface view:interface route-aggregationinterface-number.subnumber• Enter VLAN interface view:interface vlan-interfaceinterface-numberUse one of the commands.3. Enable QinQ termination onthe subinterface or VLANinterface, and configure thesubinterface or VLAN interfaceto terminate the QinQ packetswith the specified inner VLANID.second-dot1q { any | vlan-id-list }The outer VLAN ID of the QinQpackets that can be terminatedby the current subinterface orVLAN interface is the interfacenumber, and is notconfigurable.NOTE:After you enable QinQ termination on a VLAN interface, Layer 2 Ethernet interfaces in the correspondingVLAN process only QinQ packets destined for the VLAN interface, and drop Dot1q andnon-VLAN-tagged packets.VLAN termination configuration examplesNOTE:Only the SPE cards support VLAN termination.Unambiguous QinQ termination configuration exampleNetwork requirementsAs shown in Figure 49, Host A connects to Switch A and belongs to VLAN 11. Host B connects to SwitchC, which supports only single VLAN-tagged packets. With QinQ enabled, Switch B adds an outer VLANtag with VLAN ID 100 to Dot1q packets carrying inner VLAN ID 11 before forwarding them. Host Aneeds to be able to communicate with Host B.