{"id":25355,"date":"2026-11-27T15:54:50","date_gmt":"2026-11-27T07:54:50","guid":{"rendered":"https:\/\/cciedump.spoto.net\/blog\/what-is-vlan-stacking_25355.html"},"modified":"2026-11-27T15:54:50","modified_gmt":"2026-11-27T07:54:50","slug":"what-is-vlan-stacking","status":"publish","type":"post","link":"https:\/\/cciedump.spoto.net\/blog\/what-is-vlan-stacking_25355.html","title":{"rendered":"What Is VLAN Stacking?"},"content":{"rendered":"<p><strong>VLAN stacking<\/strong>\u2014formally standardized as <strong>Provider Bridging (IEEE 802.1ad)<\/strong> and widely known as <strong>QinQ<\/strong> or <strong>Q-in-Q<\/strong>\u2014is a Layer 2 Ethernet encapsulation technique that inserts a second 4-byte VLAN header into an already tagged IEEE 802.1Q frame. By wrapping customer VLAN traffic inside an outer service provider VLAN header, network operators can transport multiple independent customer networks across a shared Ethernet backbone without VLAN ID collisions, topological coordination, or massive routing overhead.<\/p>\n<p>Whether you operate a Metro Ethernet network, manage multi-tenant data center pods, or hand off Layer 2 circuits to cloud providers, understanding how double-tagged frames behave on the wire is critical. Below is a complete breakdown of how VLAN stacking works, its IEEE standards lineage, how it compares to overlay protocols, security implications, switch CLI templates, MTU math, and hardware selection.<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_17 counter-hierarchy counter-decimal ez-toc-light-blue\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" style=\"display: none;\"><i class=\"ez-toc-glyphicon ez-toc-icon-toggle\"><\/i><\/a><\/span><\/div>\n<nav><ul class=\"ez-toc-list ez-toc-list-level-1\"><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/cciedump.spoto.net\/blog\/what-is-vlan-stacking_25355.html\/#How_VLAN_Stacking_8021ad_QinQ_Works_and_Core_Use_Cases\" title=\"How VLAN Stacking (802.1ad QinQ) Works and Core Use Cases\">How VLAN Stacking (802.1ad QinQ) Works and Core Use Cases<\/a><ul class=\"ez-toc-list-level-3\"><li class=\"ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/cciedump.spoto.net\/blog\/what-is-vlan-stacking_25355.html\/#1_The_Double-Tagged_Frame_Structure_S-VLAN_vs_C-VLAN\" title=\"1. The Double-Tagged Frame Structure (S-VLAN vs. C-VLAN)\">1. The Double-Tagged Frame Structure (S-VLAN vs. C-VLAN)<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/cciedump.spoto.net\/blog\/what-is-vlan-stacking_25355.html\/#2_End-to-End_Packet_Forwarding_Progression\" title=\"2. End-to-End Packet Forwarding Progression\">2. End-to-End Packet Forwarding Progression<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/cciedump.spoto.net\/blog\/what-is-vlan-stacking_25355.html\/#3_Primary_Deployment_Scenarios\" title=\"3. Primary Deployment Scenarios\">3. Primary Deployment Scenarios<\/a><\/li><\/ul><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/cciedump.spoto.net\/blog\/what-is-vlan-stacking_25355.html\/#IEEE_8021ad_Provider_Bridges_Specification_and_Standards_Reference\" title=\"IEEE 802.1ad Provider Bridges Specification and Standards Reference\">IEEE 802.1ad Provider Bridges Specification and Standards Reference<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/cciedump.spoto.net\/blog\/what-is-vlan-stacking_25355.html\/#VLAN_Stacking_vs_VLAN_Translation_VXLAN_and_MPLS\" title=\"VLAN Stacking vs. VLAN Translation, VXLAN, and MPLS\">VLAN Stacking vs. VLAN Translation, VXLAN, and MPLS<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/cciedump.spoto.net\/blog\/what-is-vlan-stacking_25355.html\/#Legitimate_VLAN_Stacking_vs_VLAN_Hopping_Attacks_Security_FAQ\" title=\"Legitimate VLAN Stacking vs. VLAN Hopping Attacks: Security FAQ\">Legitimate VLAN Stacking vs. VLAN Hopping Attacks: Security FAQ<\/a><ul class=\"ez-toc-list-level-3\"><li class=\"ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/cciedump.spoto.net\/blog\/what-is-vlan-stacking_25355.html\/#How_does_legitimate_8021ad_VLAN_stacking_differ_from_a_double-tagging_VLAN_hopping_attack\" title=\"How does legitimate 802.1ad VLAN stacking differ from a double-tagging VLAN hopping attack?\">How does legitimate 802.1ad VLAN stacking differ from a double-tagging VLAN hopping attack?<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/cciedump.spoto.net\/blog\/what-is-vlan-stacking_25355.html\/#Is_enabling_VLAN_stacking_a_security_risk_on_enterprise_or_ISP_switches\" title=\"Is enabling VLAN stacking a security risk on enterprise or ISP switches?\">Is enabling VLAN stacking a security risk on enterprise or ISP switches?<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/cciedump.spoto.net\/blog\/what-is-vlan-stacking_25355.html\/#What_port_security_controls_prevent_unauthorized_double_tagging\" title=\"What port security controls prevent unauthorized double tagging?\">What port security controls prevent unauthorized double tagging?<\/a><\/li><\/ul><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/cciedump.spoto.net\/blog\/what-is-vlan-stacking_25355.html\/#CLI_Configuration_Templates_for_VLAN_Stacking_and_L2PT\" title=\"CLI Configuration Templates for VLAN Stacking and L2PT\">CLI Configuration Templates for VLAN Stacking and L2PT<\/a><ul class=\"ez-toc-list-level-3\"><li class=\"ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/cciedump.spoto.net\/blog\/what-is-vlan-stacking_25355.html\/#Cisco_IOS_XE_Arista_EOS_Port-Based_QinQ_L2PT_Template\" title=\"Cisco IOS XE \/ Arista EOS Port-Based QinQ &amp; L2PT Template\">Cisco IOS XE \/ Arista EOS Port-Based QinQ &amp; L2PT Template<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/cciedump.spoto.net\/blog\/what-is-vlan-stacking_25355.html\/#Juniper_Junos_OS_ELS_QFX_EX_Series_QinQ_Template\" title=\"Juniper Junos OS (ELS \/ QFX &amp; EX Series) QinQ Template\">Juniper Junos OS (ELS \/ QFX &amp; EX Series) QinQ Template<\/a><\/li><\/ul><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/cciedump.spoto.net\/blog\/what-is-vlan-stacking_25355.html\/#Calculating_MTU_Overhead_and_Troubleshooting_QinQ_Deployments\" title=\"Calculating MTU Overhead and Troubleshooting QinQ Deployments\">Calculating MTU Overhead and Troubleshooting QinQ Deployments<\/a><ul class=\"ez-toc-list-level-3\"><li class=\"ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/cciedump.spoto.net\/blog\/what-is-vlan-stacking_25355.html\/#Step_1_Calculate_System_and_Interface_MTU_Adjustments\" title=\"Step 1: Calculate System and Interface MTU Adjustments\">Step 1: Calculate System and Interface MTU Adjustments<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-16\" href=\"https:\/\/cciedump.spoto.net\/blog\/what-is-vlan-stacking_25355.html\/#Step_2_Resolve_Multi-Vendor_TPID_EtherType_0x88a8_vs_0x8100_Mismatches\" title=\"Step 2: Resolve Multi-Vendor TPID EtherType (0x88a8 vs. 0x8100) Mismatches\">Step 2: Resolve Multi-Vendor TPID EtherType (0x88a8 vs. 0x8100) Mismatches<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-17\" href=\"https:\/\/cciedump.spoto.net\/blog\/what-is-vlan-stacking_25355.html\/#Step_3_Audit_Native_VLAN_Stripping_and_Err-Disabled_Ports\" title=\"Step 3: Audit Native VLAN Stripping and Err-Disabled Ports\">Step 3: Audit Native VLAN Stripping and Err-Disabled Ports<\/a><\/li><\/ul><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-18\" href=\"https:\/\/cciedump.spoto.net\/blog\/what-is-vlan-stacking_25355.html\/#Managed_Switches_Supporting_Hardware-Offloaded_VLAN_Stacking\" title=\"Managed Switches Supporting Hardware-Offloaded VLAN Stacking\">Managed Switches Supporting Hardware-Offloaded VLAN Stacking<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-19\" href=\"https:\/\/cciedump.spoto.net\/blog\/what-is-vlan-stacking_25355.html\/#Conclusion\" title=\"Conclusion\">Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"How_VLAN_Stacking_8021ad_QinQ_Works_and_Core_Use_Cases\"><\/span>How VLAN Stacking (802.1ad QinQ) Works and Core Use Cases<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Standard IEEE 802.1Q trunking places a single 12-bit VLAN Identifier (VID) inside an Ethernet frame, limiting an entire switched domain to 4,094 usable VLANs (<code>2^12 = 4,096<\/code>, with IDs <code>0<\/code> and <code>4095<\/code> reserved). Worse, standard trunking assumes a flat administrative namespace: if Customer A and Customer B both use VLAN 10 internally, a shared 802.1Q core cannot carry both without merging their broadcast domains. VLAN stacking eliminates both constraints through hierarchical two-tier tagging.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"1_The_Double-Tagged_Frame_Structure_S-VLAN_vs_C-VLAN\"><\/span>1. The Double-Tagged Frame Structure (S-VLAN vs. C-VLAN)<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>In a stacked Ethernet frame, two 4-byte VLAN tags sit back-to-back immediately after the 6-byte Source MAC address and before the payload EtherType:<\/p>\n<ul>\n<li><strong>Outer Tag \u2014 Service VLAN (S-VLAN \/ S-Tag):<\/strong> Inserted closest to the Source MAC header by the provider network. Under IEEE 802.1ad, it uses a 2-byte Tag Protocol Identifier (TPID) of <code>0x88a8<\/code> followed by 2 bytes of Tag Control Information (3-bit Priority Code Point, 1-bit Drop Eligible Indicator, and the 12-bit S-VID).<\/li>\n<li><strong>Inner Tag \u2014 Customer VLAN (C-VLAN \/ C-Tag):<\/strong> Preserved directly behind the S-Tag. It retains the standard 802.1Q TPID of <code>0x8100<\/code> and the customer&#8217;s original 12-bit C-VID and QoS priority bits.<\/li>\n<\/ul>\n<p>Combining a 12-bit S-VID with a 12-bit C-VID expands the addressable namespace from 4,094 segments to nearly 16.76 million (<code>4,094 \u00d7 4,094<\/code>) unique S-VLAN\/C-VLAN combinations.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"2_End-to-End_Packet_Forwarding_Progression\"><\/span>2. End-to-End Packet Forwarding Progression<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Traffic traverses a QinQ-enabled network in four sequential stages:<\/p>\n<ol>\n<li><strong>Customer Ingress at the UNI:<\/strong> A Customer Edge (CE) switch forwards single-tagged 802.1Q frames (for example, C-VLANs 10, 20, and 30) into a customer-facing <strong>User-Network Interface (UNI)<\/strong> on the Provider Edge (PE) switch.<\/li>\n<li><strong>Outer Tag Push (Encapsulation):<\/strong> Regardless of the incoming C-VLAN ID, the PE switch pushes an assigned outer S-VLAN tag (for example, S-VLAN 200) onto the front of the frame without modifying the inner C-VLAN header. (In <em>Selective QinQ<\/em>, the PE switch inspects the incoming C-VLAN first and maps specific C-VLAN ranges to different S-VLANs.)<\/li>\n<li><strong>Core Transit Across NNIs:<\/strong> Across internal <strong>Network-to-Network Interfaces (NNIs)<\/strong>, provider core switches inspect and learn MAC addresses solely against the outer S-VLAN 200 header. The inner C-VLAN rides transparently as payload, isolating overlapping VLAN IDs across tenants.<\/li>\n<li><strong>Outer Tag Pop (Decapsulation):<\/strong> When the frame reaches the destination PE switch serving the remote customer site, the egress UNI strips S-VLAN 200 and delivers the original single-tagged C-VLAN frame to the remote CE switch.<\/li>\n<\/ol>\n<h3><span class=\"ez-toc-section\" id=\"3_Primary_Deployment_Scenarios\"><\/span>3. Primary Deployment Scenarios<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li><strong>Metro Ethernet &amp; Layer 2 VPNs:<\/strong> Service providers deliver transparent point-to-point (E-Line) or multipoint (E-LAN) Ethernet circuits across metropolitan fiber rings using a single S-VLAN per subscriber.<\/li>\n<li><strong>Multi-Tenant Data Centers &amp; Lab Pods:<\/strong> Operators isolate overlapping tenant or lab pod VLANs across shared leaf\/aggregation switches without re-architecting IP underlays.<\/li>\n<li><strong>Broadband Subscriber Aggregation:<\/strong> Fiber access networks (GPON\/XGS-PON) assign an inner C-VLAN per subscriber residential gateway and an outer S-VLAN per Optical Line Terminal (OLT) heading toward a Broadband Network Gateway (BNG).<\/li>\n<li><strong>Cloud Direct Interconnects:<\/strong> Carrier-neutral colocation fabrics hand off multi-tenant Layer 2 connections to hyperscale cloud routers using outer S-Tags to identify the partner circuit and inner C-Tags to separate virtual private clouds.<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"IEEE_8021ad_Provider_Bridges_Specification_and_Standards_Reference\"><\/span>IEEE 802.1ad Provider Bridges Specification and Standards Reference<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>While engineers casually use the terms <em>QinQ<\/em>, <em>VLAN stacking<\/em>, and <em>802.1ad<\/em> interchangeably, the formal protocol behaviors, bridge architectures, and control-plane addresses are strictly governed by IEEE standards documentation.<\/p>\n<ul>\n<li><strong>Original Amendment Identifier:<\/strong> <em>IEEE Std 802.1ad-2005<\/em> (<em>IEEE Standard for Local and Metropolitan Area Networks\u2014Virtual Bridged Local Area Networks\u2014Amendment 4: Provider Bridges<\/em>), approved December 8, 2005, and published May 26, 2006.<\/li>\n<li><strong>Consolidation History:<\/strong> IEEE 802.1ad ceased to exist as a standalone document when it was formally rolled into the base <em>IEEE Std 802.1Q-2011<\/em> specification.<\/li>\n<li><strong>Active Governing Standard:<\/strong> All normative Provider Bridging specifications reside within <strong>IEEE Std 802.1Q-2022<\/strong> (<em>Bridges and Bridged Networks<\/em>), available through the IEEE Standards Association (IEEE SA).<\/li>\n<li><strong>Normative Bridge Components:<\/strong> The standard defines two distinct relay entities\u2014<strong>C-VLAN components<\/strong> (which recognize <code>0x8100<\/code> tags) and <strong>S-VLAN components<\/strong> (which recognize <code>0x88a8<\/code> tags). A <strong>Provider Edge Bridge (PEB)<\/strong> instantiates both components at subscriber edges, whereas a <strong>Provider Core Bridge (PCB)<\/strong> implements only S-VLAN components for streamlined transit switching.<\/li>\n<li><strong>Control-Plane MAC Separation (<code>01-80-C2-00-00-08<\/code>):<\/strong> Standard customer Spanning Tree Protocol (STP) BPDUs use destination MAC <code>01-80-C2-00-00-00<\/code>. IEEE 802.1ad assigns a dedicated <strong>Provider Bridge Group Address (<code>01-80-C2-00-00-08<\/code>)<\/strong> for provider-domain STP. Because S-VLAN bridge components only intercept <code>01-80-C2-00-00-08<\/code>, customer STP frames using <code>01-80-C2-00-00-00<\/code> pass transparently across a standards-compliant provider core without merging topologies.<\/li>\n<li><strong>Complementary Carrier Specifications:<\/strong> Provider Bridging serves as the underlying data-plane transport for <strong>MEF (Metro Ethernet Forum)<\/strong> Carrier Ethernet service definitions (E-Line, E-LAN, E-Tree, and E-Access) and precedes <em>IEEE 802.1ah<\/em> (Provider Backbone Bridges \/ MAC-in-MAC, also merged into IEEE 802.1Q).<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"VLAN_Stacking_vs_VLAN_Translation_VXLAN_and_MPLS\"><\/span>VLAN Stacking vs. VLAN Translation, VXLAN, and MPLS<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Understanding the IEEE specification clarifies what VLAN stacking does at Layer 2, but network architects must frequently weigh it against alternative multi-tenant segmentation technologies\u2014ranging from lightweight 1:1 VLAN translation to full Layer 3 or label-switched overlays.<\/p>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: left;\">Evaluation Criteria<\/th>\n<th style=\"text-align: left;\">802.1ad VLAN Stacking (QinQ)<\/th>\n<th style=\"text-align: left;\">1:1 VLAN Translation (Mapping)<\/th>\n<th style=\"text-align: left;\">VXLAN (with BGP EVPN)<\/th>\n<th style=\"text-align: left;\">MPLS L2VPN (EoMPLS \/ VPLS)<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: left;\"><strong>Transport Underlay<\/strong><\/td>\n<td style=\"text-align: left;\">Pure Layer 2 Ethernet<\/td>\n<td style=\"text-align: left;\">Pure Layer 2 Ethernet<\/td>\n<td style=\"text-align: left;\">Layer 2 over Layer 3 UDP\/IP<\/td>\n<td style=\"text-align: left;\">Layer 2 over MPLS label-switched core<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>Max Addressable Segments<\/strong><\/td>\n<td style=\"text-align: left;\">~16.7M combinations (<code>4,094<\/code> S-Tags \u00d7 <code>4,094<\/code> C-Tags)<\/td>\n<td style=\"text-align: left;\"><code>4,094<\/code> total active VLANs per trunk<\/td>\n<td style=\"text-align: left;\">~16.7M independent segments (24-bit VNI)<\/td>\n<td style=\"text-align: left;\">Virtually unlimited (20-bit labels per hop)<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>Header Overhead Added<\/strong><\/td>\n<td style=\"text-align: left;\"><code>+4 bytes<\/code> over 802.1Q (<code>8 bytes<\/code> total tags)<\/td>\n<td style=\"text-align: left;\"><code>0 bytes<\/code> (rewrites existing 4-byte VID)<\/td>\n<td style=\"text-align: left;\"><code>+50 bytes<\/code> (<code>+54 bytes<\/code> with outer VLAN tag)<\/td>\n<td style=\"text-align: left;\"><code>+8 bytes<\/code> (transport + VC labels, plus L2 header)<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>MAC Address Learning<\/strong><\/td>\n<td style=\"text-align: left;\">Data-plane flood-and-learn per S-VLAN<\/td>\n<td style=\"text-align: left;\">Data-plane flood-and-learn per translated VLAN<\/td>\n<td style=\"text-align: left;\">Control-plane learning via MP-BGP EVPN<\/td>\n<td style=\"text-align: left;\">Data-plane (VPLS) or point-to-point signaling (EoMPLS)<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>Multi-Pathing &amp; Resiliency<\/strong><\/td>\n<td style=\"text-align: left;\">LACP, MSTP, or ITU-T G.8032 ERPS rings<\/td>\n<td style=\"text-align: left;\">LACP, MSTP, or ERPS rings<\/td>\n<td style=\"text-align: left;\">Full Layer 3 Equal-Cost Multi-Pathing (ECMP)<\/td>\n<td style=\"text-align: left;\">MPLS Traffic Engineering (TE), FRR, and ECMP<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>Customer MAC Isolation in Core<\/strong><\/td>\n<td style=\"text-align: left;\">No (PE\/core switches still learn customer MACs per S-VLAN)<\/td>\n<td style=\"text-align: left;\">No (core learns all customer MACs directly)<\/td>\n<td style=\"text-align: left;\">Yes (underlay routers only see VTEP IP addresses)<\/td>\n<td style=\"text-align: left;\">Yes (P routers switch solely on MPLS labels)<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>Hardware &amp; Licensing Cost<\/strong><\/td>\n<td style=\"text-align: left;\">Low (supported on affordable L2\/L3 switches)<\/td>\n<td style=\"text-align: left;\">Low-to-moderate (limited by ASIC mapping TCAM)<\/td>\n<td style=\"text-align: left;\">Moderate-to-high (requires VTEP ASICs &amp; BGP EVPN licenses)<\/td>\n<td style=\"text-align: left;\">High (requires MPLS-capable silicon &amp; carrier OS)<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>Best Fit Scenario<\/strong><\/td>\n<td style=\"text-align: left;\">Metro access rings, campus multi-tenancy, cloud handoffs<\/td>\n<td style=\"text-align: left;\">Merging two networks with minor VLAN ID overlaps<\/td>\n<td style=\"text-align: left;\">Large-scale spine-leaf data centers &amp; campus fabrics<\/td>\n<td style=\"text-align: left;\">Wide-area carrier backbones with strict SLA traffic engineering<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>Architectural Takeaway:<\/strong> Choose <strong>VLAN stacking<\/strong> when you want minimal byte overhead (<code>+4 bytes<\/code>), deterministic low latency, and zero IP\/BGP overlay complexity across bounded Layer 2 domains. Step up to <strong>VXLAN EVPN<\/strong> or <strong>MPLS<\/strong> when core switches face MAC-table exhaustion or when you need active-active Layer 3 ECMP routing across large spine-leaf or WAN topologies.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Legitimate_VLAN_Stacking_vs_VLAN_Hopping_Attacks_Security_FAQ\"><\/span>Legitimate VLAN Stacking vs. VLAN Hopping Attacks: Security FAQ<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Because both legitimate QinQ and classic Layer 2 exploits involve Ethernet frames carrying two VLAN headers, security teams often question whether enabling double tagging exposes switches to unauthorized VLAN traversal.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"How_does_legitimate_8021ad_VLAN_stacking_differ_from_a_double-tagging_VLAN_hopping_attack\"><\/span>How does legitimate 802.1ad VLAN stacking differ from a double-tagging VLAN hopping attack?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>The difference lies in <strong>which device inserts the outer tag<\/strong> and <strong>how the ingress switch port is configured<\/strong>:<br \/>\n* <strong>Legitimate VLAN Stacking:<\/strong> An authorized Provider Edge switch port configured in <code>dot1q-tunnel<\/code> (UNI) mode wraps every incoming customer frame inside a provider-controlled outer S-VLAN tag. Even if a user transmits maliciously double-tagged frames into that UNI, the switch pushes a third tag (the S-VLAN) on the outside, keeping the traffic strictly confined to that tenant&#8217;s S-VLAN tunnel.<br \/>\n* <strong>Malicious VLAN Hopping Exploit:<\/strong> An attacker connected to a misconfigured <strong>standard 802.1Q access port<\/strong> crafts a frame with two <code>0x8100<\/code> tags\u2014setting the outer tag to match the uplink trunk&#8217;s untagged <strong>native VLAN<\/strong> and the inner tag to a restricted target VLAN. When the first switch forwards the frame out its trunk port, it strips the outer tag because it matches the untagged native VLAN. The downstream switch then reads the exposed inner tag and delivers the frame one-way into the target VLAN.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Is_enabling_VLAN_stacking_a_security_risk_on_enterprise_or_ISP_switches\"><\/span>Is enabling VLAN stacking a security risk on enterprise or ISP switches?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>VLAN stacking itself is secure when isolated properly, but three operational misconfigurations can create vulnerabilities:<br \/>\n1. <strong>Native VLAN Overlap:<\/strong> Assigning an active S-VLAN ID as the untagged native VLAN on an NNI trunk causes premature outer-tag stripping, breaking tenant isolation.<br \/>\n2. <strong>Control-Plane Protocol Injection:<\/strong> Without protocol tunneling or filtering on UNI ports, customer switches sending STP BPDUs, LLDP, or CDP frames can interfere with provider bridge topologies.<br \/>\n3. <strong>MAC Table Flooding:<\/strong> Because provider bridges learn customer source MAC addresses inside the S-VLAN forwarding table, a single compromised customer site generating thousands of bogus MAC addresses can exhaust switch CAM tables across the S-VLAN.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"What_port_security_controls_prevent_unauthorized_double_tagging\"><\/span>What port security controls prevent unauthorized double tagging?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li><strong>Eliminate Active Native VLANs on Trunks:<\/strong> Set the native VLAN on all 802.1Q\/NNI trunks to a dedicated, unused parking VLAN, or configure switches globally to tag native VLAN traffic (<code>vlan dot1q tag native<\/code>).<\/li>\n<li><strong>Disable Trunk Negotiation on User Ports:<\/strong> Apply <code>switchport nonegotiate<\/code> on all access and <code>dot1q-tunnel<\/code> ports to block Dynamic Trunking Protocol (DTP) spoofing.<\/li>\n<li><strong>Enforce Per-Port MAC Learning Limits:<\/strong> Cap the maximum MAC entries learned on each customer UNI port so one tenant cannot exhaust hardware forwarding tables.<\/li>\n<li><strong>Isolate Layer 2 Control Frames:<\/strong> Disable provider discovery protocols (<code>no cdp enable<\/code> \/ <code>no lldp transmit<\/code>) on customer-facing ports and explicitly tunnel or drop customer control frames.<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"CLI_Configuration_Templates_for_VLAN_Stacking_and_L2PT\"><\/span>CLI Configuration Templates for VLAN Stacking and L2PT<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Applying the architecture and port-hardening rules covered above requires configuring two distinct port roles: the customer-facing <strong>UNI<\/strong> (which pushes\/pops the S-Tag and tunnels Layer 2 control protocols like STP and LLDP) and the core-facing <strong>NNI<\/strong> trunk.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Cisco_IOS_XE_Arista_EOS_Port-Based_QinQ_L2PT_Template\"><\/span>Cisco IOS XE \/ Arista EOS Port-Based QinQ &amp; L2PT Template<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<pre><code class=\"language-ios\">! 1. Global preparation: tag native VLANs and define the outer S-VLAN\nvlan dot1q tag native\n!\nvlan 200\n name Customer_A_SVLAN\n!\n! 2. Customer-facing UNI port (encapsulates all C-VLANs into S-VLAN 200)\ninterface GigabitEthernet1\/0\/1\n description UNI_to_Customer_A_CE_Switch\n switchport access vlan 200\n switchport mode dot1q-tunnel\n switchport nonegotiate\n no cdp enable\n l2protocol-tunnel stp\n l2protocol-tunnel lldp\n l2protocol-tunnel cdp\n l2protocol-tunnel lacp\n spanning-tree bpdufilter enable\n!\n! 3. Optional: Selective QinQ UNI (maps C-VLANs 10,20 -&gt; S-VLAN 210 on Catalyst 9500)\ninterface GigabitEthernet1\/0\/2\n description Selective_QinQ_UNI_Customer_B\n switchport mode trunk\n switchport nonegotiate\n switchport vlan mapping 10,20 dot1q-tunnel 210\n switchport trunk allowed vlan 210\n!\n! 4. Provider-facing NNI trunk port (adjust MTU and set 802.1ad 0x88a8 TPID if required)\ninterface TenGigabitEthernet1\/1\/1\n description NNI_Uplink_to_Provider_Core\n mtu 9216\n switchport mode trunk\n switchport dot1q ethertype 0x88a8\n switchport trunk allowed vlan 200,210\n<\/code><\/pre>\n<h3><span class=\"ez-toc-section\" id=\"Juniper_Junos_OS_ELS_QFX_EX_Series_QinQ_Template\"><\/span>Juniper Junos OS (ELS \/ QFX &amp; EX Series) QinQ Template<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<pre><code class=\"language-junos\"># 1. Configure customer-facing UNI to push S-VLAN 200 (TPID 0x88a8) on ingress and pop on egress\nset interfaces xe-0\/0\/1 description &quot;UNI_to_Customer_A&quot;\nset interfaces xe-0\/0\/1 flexible-vlan-tagging\nset interfaces xe-0\/0\/1 mtu 9216\nset interfaces xe-0\/0\/1 encapsulation extended-vlan-bridge\nset interfaces xe-0\/0\/1 unit 200 vlan-id-list 1-4094\nset interfaces xe-0\/0\/1 unit 200 input-vlan-map push\nset interfaces xe-0\/0\/1 unit 200 input-vlan-map tag-protocol-id 0x88a8\nset interfaces xe-0\/0\/1 unit 200 input-vlan-map vlan-id 200\nset interfaces xe-0\/0\/1 unit 200 output-vlan-map pop\n\n# 2. Configure provider-facing NNI uplink expecting 0x88a8 outer tags\nset interfaces xe-0\/0\/48 description &quot;NNI_to_Provider_Core&quot;\nset interfaces xe-0\/0\/48 flexible-vlan-tagging\nset interfaces xe-0\/0\/48 mtu 9216\nset interfaces xe-0\/0\/48 ether-options ethernet-switch-profile tag-protocol-id 0x88a8\nset interfaces xe-0\/0\/48 unit 200 vlan-id 200\n\n# 3. Bind logical interfaces into the S-VLAN bridge domain and tunnel L2 protocols\nset vlans Customer_A_SVLAN interface xe-0\/0\/1.200\nset vlans Customer_A_SVLAN interface xe-0\/0\/48.200\nset protocols layer2-control mac-rewrite interface xe-0\/0\/1 protocol stp\nset protocols layer2-control mac-rewrite interface xe-0\/0\/1 protocol lldp\n<\/code><\/pre>\n<h2><span class=\"ez-toc-section\" id=\"Calculating_MTU_Overhead_and_Troubleshooting_QinQ_Deployments\"><\/span>Calculating MTU Overhead and Troubleshooting QinQ Deployments<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Even when CLI syntax is valid, newly provisioned QinQ circuits frequently pass small ICMP pings while silently dropping full-sized TCP transfers, or fail completely across multi-vendor boundaries. Follow this sequential diagnostic workflow to prevent and resolve operational failures.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Step_1_Calculate_System_and_Interface_MTU_Adjustments\"><\/span>Step 1: Calculate System and Interface MTU Adjustments<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Adding an outer S-VLAN tag increases total Ethernet frame length beyond standard defaults:<br \/>\n* <strong>Untagged Ethernet Frame:<\/strong> <code>1,500<\/code> bytes IP payload + <code>14<\/code> bytes MAC\/EtherType + <code>4<\/code> bytes FCS = <strong><code>1,518<\/code> bytes<\/strong>.<br \/>\n* <strong>Single-Tagged 802.1Q Frame:<\/strong> + <code>4<\/code> bytes C-Tag = <strong><code>1,522<\/code> bytes<\/strong> (accommodated natively on modern switches without raising the <code>1,500<\/code>-byte IP MTU).<br \/>\n* <strong>Double-Tagged QinQ Frame:<\/strong> + <code>4<\/code> bytes S-Tag (<code>8<\/code> bytes total VLAN tags) = <strong><code>1,526<\/code> bytes<\/strong> on the wire.<\/p>\n<p>Because transit switches treat the inner 4-byte C-Tag as part of the encapsulated payload, an unadjusted NNI port with a <code>1,500<\/code>-byte MTU drops full-size customer packets as <code>giants<\/code> or <code>oversized<\/code> frames.<br \/>\n* <strong>Minimum Fix:<\/strong> Increase system or NNI interface payload MTU to at least <strong><code>1,504<\/code> bytes<\/strong> on Cisco\/Arista platforms (which measure L3 payload), or at least <strong><code>1,522<\/code> bytes<\/strong> (<code>1514<\/code> L2 header\/payload + <code>8<\/code> bytes of VLAN tags, excluding FCS) on Junos platforms that include L2 framing in physical interface MTU.<br \/>\n* <strong>Production Best Practice:<\/strong> Standardize all NNI core trunks to <strong><code>1,508<\/code> bytes<\/strong> (if constrained by third-party carrier circuits) or <strong><code>9,216<\/code> bytes<\/strong> (jumbo frames) across internal infrastructure to leave room for future MPLS or VXLAN encapsulation. Test end-to-end with unfragmented pings (<code>ping &lt;ip&gt; size 1500 df-bit<\/code>).<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Step_2_Resolve_Multi-Vendor_TPID_EtherType_0x88a8_vs_0x8100_Mismatches\"><\/span>Step 2: Resolve Multi-Vendor TPID EtherType (<code>0x88a8<\/code> vs. <code>0x8100<\/code>) Mismatches<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Outer TPID disagreement is the single most common reason a QinQ trunk fails between two different switch vendors:<br \/>\n* <strong>The Conflict:<\/strong> Standards-strict platforms (such as Linux bridges, MikroTik <code>802.1ad<\/code> bridges, and carrier MEF switches) default to outer TPID <strong><code>0x88a8<\/code><\/strong>, whereas classic Cisco <code>dot1q-tunnel<\/code> implementations default to outer TPID <strong><code>0x8100<\/code><\/strong> (802.1Q-in-802.1Q), and some legacy metro platforms use <strong><code>0x9100<\/code><\/strong>.<br \/>\n* <strong>Symptom:<\/strong> Input discard counters climb steadily on the NNI link, and <code>show mac address-table vlan &lt;svlan&gt;<\/code> shows MAC addresses learned locally from the UNI but zero MAC addresses learned from the remote peer.<br \/>\n* <strong>Fix:<\/strong> Inspect ingress frames via packet capture and explicitly align the outer EtherType on both ends of the NNI link (for example, <code>switchport dot1q ethertype 0x88a8<\/code> on Cisco IOS XE or <code>tag-protocol-id 0x88a8<\/code> on Junos). When mirroring traffic on Cisco Catalyst switches for Wireshark analysis, include <code>encapsulation replicate<\/code> on the SPAN destination session so the switch does not strip VLAN tags from captured packets.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Step_3_Audit_Native_VLAN_Stripping_and_Err-Disabled_Ports\"><\/span>Step 3: Audit Native VLAN Stripping and Err-Disabled Ports<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li><strong>Native VLAN Mismatch:<\/strong> Confirm <code>show interfaces trunk<\/code> does not list your S-VLAN as the native VLAN on any intermediate hop.<\/li>\n<li><strong>L2PT Thresholds &amp; BPDU Guard:<\/strong> If a customer UNI port immediately enters an <code>err-disabled<\/code> state upon connecting a downstream switch, verify that Spanning Tree <strong>BPDU Guard<\/strong> is disabled on that UNI port (<code>spanning-tree bpduguard disable<\/code>) so <code>l2protocol-tunnel stp<\/code> can encapsulate customer BPDUs instead of shutting down the interface.<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"Managed_Switches_Supporting_Hardware-Offloaded_VLAN_Stacking\"><\/span>Managed Switches Supporting Hardware-Offloaded VLAN Stacking<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>To forward double-tagged frames at line rate without punting packets to the management CPU, switch ASICs must support hardware-accelerated tag pushing, popping, and TPID matching. Below are proven enterprise, data center, and metro switch families capable of wire-speed VLAN stacking:<\/p>\n<ol>\n<li><strong>Cisco Catalyst 9300 and Catalyst 9500 Series:<\/strong> Built on Cisco UADP and Silicon One ASICs running IOS XE, these campus and aggregation switches support line-rate port-based <code>dot1q-tunnel<\/code>, L2PT, and Selective QinQ. Standard Catalyst 9500 models support up to 512 system-wide VLAN mapping entries, while Catalyst 9500 High Performance models scale to 1,000 entries (verify specific C9500X release notes for Selective QinQ feature parity).<\/li>\n<li><strong>Juniper Networks EX and QFX Series (HPE Juniper Networking):<\/strong> Switches such as the EX4400, QFX5120, QFX5200, and QFX10000 execute flexible <code>push<\/code>, <code>pop<\/code>, and <code>swap<\/code> VLAN tag operations directly in Packet Forwarding Engine (PFE) silicon under Junos OS, making them industry mainstays for colocation cross-connects and Metro Ethernet aggregation.<\/li>\n<li><strong>Arista 7050X and 7280R Series:<\/strong> High-density merchant-silicon switches running Arista EOS provide wire-speed <code>dot1q-tunnel<\/code> encapsulation, user-configurable outer TPIDs (<code>0x8100<\/code>, <code>0x88a8<\/code>, <code>0x9100<\/code>), and\u2014on the 7280R series\u2014deep packet buffers ideal for WAN and cloud provider handoffs.<\/li>\n<li><strong>HPE \/ H3C Campus &amp; Core Series (e.g., H3C S7500X, HPE 5500 SI):<\/strong> Widely deployed in metro and large enterprise cores, these platforms deliver hardware-accelerated IEEE 802.1ad QinQ, Selective QinQ, VLAN mapping, high MAC capacity (up to 288K entries on S7500X), and sub-50ms Resilient Ring Protection Protocol (RRPP).<\/li>\n<li><strong>MikroTik CRS3xx and CRS5xx Series:<\/strong> Powered by Marvell Prestera switch chips running RouterOS v7, these cost-effective 10G\/25G\/100G switches support IEEE 802.1ad provider bridges (<code>ether-type=0x88a8<\/code>) and <code>tag-stacking<\/code> with full ASIC hardware offloading. They excel at straightforward port-based S-VLAN encapsulation, though operators requiring granular per-C-VLAN selective rewriting should opt for higher-tier carrier ASICs.<\/li>\n<li><strong>FS S5300 Metro Aggregation Series (e.g., S5300-12S):<\/strong> Purpose-built for budget-conscious ISP access and enterprise edge deployments, offering 10GbE SFP+ connectivity with native IEEE 802.1ad QinQ, Selective QinQ, 1:1 and N:1 VLAN switching, and ITU-T G.8032 Ethernet Ring Protection Switching (ERPS).<\/li>\n<\/ol>\n<h2><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span>Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>VLAN stacking remains one of the most efficient, low-overhead mechanisms in networking for scaling Ethernet beyond the 4,094-VLAN ceiling and isolating multi-tenant Layer 2 traffic. By encapsulating customer C-VLANs (<code>0x8100<\/code>) inside provider S-VLANs (<code>0x88a8<\/code>) under the rules standardized in IEEE 802.1Q\/802.1ad, operators gain transparent Layer 2 transport without deploying complex routing overlays. Success in production comes down to disciplined execution: hardening native VLAN and control-plane settings on UNI ports, matching TPID EtherTypes across multi-vendor NNI links, raising transit MTU limits to accommodate the extra 4-byte tag, and selecting switches that offload tag manipulation directly in silicon.<\/p>\n<div class='sfsi_Sicons' style='width: 100%; display: inline-block; vertical-align: middle; text-align:left'><div style='margin:0px 8px 0px 0px; line-height: 24px'><span>Please follow and like us:<\/span><\/div><div class='sfsi_socialwpr'><div class='sf_fb_share sf_icon' style='text-align:left;vertical-align: middle;'><a href='https:\/\/www.facebook.com\/sharer\/sharer.php?u=https%3A%2F%2Fcciedump.spoto.net%2Fblog%2Fwhat-is-vlan-stacking_25355.html' style='display:inline-block;'  > <img class='sfsi_wicon'  data-pin-nopin='true' width='auto' height='auto' alt='fb-share-icon' title='Facebook Share' src='https:\/\/cciedump.spoto.net\/blog\/wp-content\/plugins\/ultimate-social-media-icons\/images\/visit_icons\/fbshare_bck.png'  \/><\/a><\/div><div class='sf_twiter sf_icon' style='display: inline-block;vertical-align: middle;width: auto;margin-left: 7px;'>\r\n\t\t\t\t\t\t<a target='_blank' href='https:\/\/twitter.com\/intent\/tweet?text=What+Is+VLAN+Stacking%3F+https:\/\/cciedump.spoto.net\/blog\/what-is-vlan-stacking_25355.html'style='display:inline-block' >\r\n\t\t\t\t\t\t\t<img data-pin-nopin= true width='auto' class='sfsi_wicon' src='https:\/\/cciedump.spoto.net\/blog\/wp-content\/plugins\/ultimate-social-media-icons\/images\/visit_icons\/en_US_Tweet.svg' alt='Tweet' title='Tweet' >\r\n\t\t\t\t\t\t<\/a>\r\n\t\t\t\t\t<\/div><div class='sf_pinit sf_icon' style='text-align:left;vertical-align: middle;float:left;line-height: 33px;width:auto;margin: 0 -2px;'><a href='#'  onclick='sfsi_pinterest_modal_images(event,\"https:\/\/cciedump.spoto.net\/blog\/what-is-vlan-stacking_25355.html\",\"What Is VLAN Stacking?\")' style='display:inline-block;'  > <img class='sfsi_wicon'  data-pin-nopin='true' width='auto' height='auto' alt='fb-share-icon' title='Pin Share' src='https:\/\/cciedump.spoto.net\/blog\/wp-content\/plugins\/ultimate-social-media-icons\/images\/share_icons\/Pinterest_Save\/en_US_save.svg'  \/><\/a><\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>VLAN stacking\u2014formally standardized as Provider Bridging (IEEE 802.1ad) and widely known as QinQ or Q-in-Q\u2014is a Layer 2 Ethernet encapsulation technique that inserts a second 4-byte VLAN header into an already tagged IEEE 802.1Q frame. By wrapping customer VLAN traffic inside an outer service provider VLAN header, network operators can transport multiple independent customer networks&#8230; &raquo; <a class=\"read-more-link\" href=\"https:\/\/cciedump.spoto.net\/blog\/what-is-vlan-stacking_25355.html\">read more<\/a><\/p>\n","protected":false},"author":3,"featured_media":25354,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1285],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v18.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>What Is VLAN Stacking? - SPOTO Official Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/cciedump.spoto.net\/blog\/what-is-vlan-stacking_25355.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What Is VLAN Stacking? - SPOTO Official Blog\" \/>\n<meta property=\"og:description\" content=\"VLAN stacking\u2014formally standardized as Provider Bridging (IEEE 802.1ad) and widely known as QinQ or Q-in-Q\u2014is a Layer 2 Ethernet encapsulation technique that inserts a second 4-byte VLAN header into an already tagged IEEE 802.1Q frame. By wrapping customer VLAN traffic inside an outer service provider VLAN header, network operators can transport multiple independent customer networks... &raquo; read more\" \/>\n<meta property=\"og:url\" content=\"https:\/\/cciedump.spoto.net\/blog\/what-is-vlan-stacking_25355.html\" \/>\n<meta property=\"og:site_name\" content=\"SPOTO Official Blog\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-27T07:54:50+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"SPOTO \u7f16\u8f91\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"15 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/#\/schema\/person\/25594d4796697ccb1ef63d55c269c638\",\"name\":\"SPOTO Club\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/cciedump.spoto.net\/blog\/wp-content\/uploads\/2020\/03\/spoto-facemask-96x96.jpg\",\"contentUrl\":\"https:\/\/cciedump.spoto.net\/blog\/wp-content\/uploads\/2020\/03\/spoto-facemask-96x96.jpg\",\"caption\":\"SPOTO Club\"},\"logo\":{\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/#personlogo\"},\"description\":\"SPOTO is an excellent leader in IT certification training for 20+ years. We offer 100% real Cisco CCNA, CCNP exam dumps, CCIE Lab study materials, PMP, CISA, CISM, AWS, Palo Alto, and other IT exam dumps. We have helped thousands of candidates around the world to pass their IT exams on the first try! As the first-class online IT training organization in China, SPOTO cooperates with many giant Internet companies in China like Tencent, Baidu, and Alibaba. What\u2019s more, we have won lots of awards in IT education training such as \u201cTop Ten Influential Brands In Online Education Industry\u201d given by Baidu, \u201cOfficial IT Online Training Organization\u201d awarded by Tencent Class, etc. Join us: https:\/\/cciedump.spoto.net\/ Contact us: E-mail: support@spoto.net Phone \/ WhatsApp: +86 18344981205\",\"sameAs\":[\"https:\/\/cciedump.spoto.net\/\"]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/#website\",\"url\":\"https:\/\/cciedump.spoto.net\/blog\/\",\"name\":\"SPOTO Official Blog\",\"description\":\"Focus on Online IT Training for 20+ Years\",\"publisher\":{\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/#\/schema\/person\/25594d4796697ccb1ef63d55c269c638\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/cciedump.spoto.net\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/what-is-vlan-stacking_25355.html#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/cciedump.spoto.net\/blog\/wp-content\/uploads\/2026\/11\/what-is-vlan-stacking.png\",\"contentUrl\":\"https:\/\/cciedump.spoto.net\/blog\/wp-content\/uploads\/2026\/11\/what-is-vlan-stacking.png\",\"width\":1024,\"height\":768,\"caption\":\"What Is VLAN Stacking?\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/what-is-vlan-stacking_25355.html#webpage\",\"url\":\"https:\/\/cciedump.spoto.net\/blog\/what-is-vlan-stacking_25355.html\",\"name\":\"What Is VLAN Stacking? - SPOTO Official Blog\",\"isPartOf\":{\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/what-is-vlan-stacking_25355.html#primaryimage\"},\"datePublished\":\"2026-11-27T07:54:50+00:00\",\"dateModified\":\"2026-11-27T07:54:50+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/what-is-vlan-stacking_25355.html#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/cciedump.spoto.net\/blog\/what-is-vlan-stacking_25355.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/what-is-vlan-stacking_25355.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/cciedump.spoto.net\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"What Is VLAN Stacking?\"}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/what-is-vlan-stacking_25355.html#article\",\"isPartOf\":{\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/what-is-vlan-stacking_25355.html#webpage\"},\"author\":{\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/#\/schema\/person\/4edd6074d9632c14eda17a2205a88dd1\"},\"headline\":\"What Is VLAN Stacking?\",\"datePublished\":\"2026-11-27T07:54:50+00:00\",\"dateModified\":\"2026-11-27T07:54:50+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/what-is-vlan-stacking_25355.html#webpage\"},\"wordCount\":2521,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/#\/schema\/person\/25594d4796697ccb1ef63d55c269c638\"},\"image\":{\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/what-is-vlan-stacking_25355.html#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cciedump.spoto.net\/blog\/wp-content\/uploads\/2026\/11\/what-is-vlan-stacking.png\",\"articleSection\":[\"Routing &amp; Switching\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/cciedump.spoto.net\/blog\/what-is-vlan-stacking_25355.html#respond\"]}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/#\/schema\/person\/4edd6074d9632c14eda17a2205a88dd1\",\"name\":\"SPOTO \u7f16\u8f91\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/cciedump.spoto.net\/blog\/wp-content\/litespeed\/avatar\/f525ded90e4ff384a19ebdbe47c80d22.jpg?ver=1795165000\",\"contentUrl\":\"https:\/\/cciedump.spoto.net\/blog\/wp-content\/litespeed\/avatar\/f525ded90e4ff384a19ebdbe47c80d22.jpg?ver=1795165000\",\"caption\":\"SPOTO \u7f16\u8f91\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What Is VLAN Stacking? - SPOTO Official Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/cciedump.spoto.net\/blog\/what-is-vlan-stacking_25355.html","og_locale":"en_US","og_type":"article","og_title":"What Is VLAN Stacking? - SPOTO Official Blog","og_description":"VLAN stacking\u2014formally standardized as Provider Bridging (IEEE 802.1ad) and widely known as QinQ or Q-in-Q\u2014is a Layer 2 Ethernet encapsulation technique that inserts a second 4-byte VLAN header into an already tagged IEEE 802.1Q frame. By wrapping customer VLAN traffic inside an outer service provider VLAN header, network operators can transport multiple independent customer networks... &raquo; read more","og_url":"https:\/\/cciedump.spoto.net\/blog\/what-is-vlan-stacking_25355.html","og_site_name":"SPOTO Official Blog","article_published_time":"2026-11-27T07:54:50+00:00","twitter_card":"summary_large_image","twitter_misc":{"Written by":"SPOTO \u7f16\u8f91","Est. reading time":"15 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":["Person","Organization"],"@id":"https:\/\/cciedump.spoto.net\/blog\/#\/schema\/person\/25594d4796697ccb1ef63d55c269c638","name":"SPOTO Club","image":{"@type":"ImageObject","@id":"https:\/\/cciedump.spoto.net\/blog\/#personlogo","inLanguage":"en-US","url":"https:\/\/cciedump.spoto.net\/blog\/wp-content\/uploads\/2020\/03\/spoto-facemask-96x96.jpg","contentUrl":"https:\/\/cciedump.spoto.net\/blog\/wp-content\/uploads\/2020\/03\/spoto-facemask-96x96.jpg","caption":"SPOTO Club"},"logo":{"@id":"https:\/\/cciedump.spoto.net\/blog\/#personlogo"},"description":"SPOTO is an excellent leader in IT certification training for 20+ years. We offer 100% real Cisco CCNA, CCNP exam dumps, CCIE Lab study materials, PMP, CISA, CISM, AWS, Palo Alto, and other IT exam dumps. We have helped thousands of candidates around the world to pass their IT exams on the first try! As the first-class online IT training organization in China, SPOTO cooperates with many giant Internet companies in China like Tencent, Baidu, and Alibaba. What\u2019s more, we have won lots of awards in IT education training such as \u201cTop Ten Influential Brands In Online Education Industry\u201d given by Baidu, \u201cOfficial IT Online Training Organization\u201d awarded by Tencent Class, etc. Join us: https:\/\/cciedump.spoto.net\/ Contact us: E-mail: support@spoto.net Phone \/ WhatsApp: +86 18344981205","sameAs":["https:\/\/cciedump.spoto.net\/"]},{"@type":"WebSite","@id":"https:\/\/cciedump.spoto.net\/blog\/#website","url":"https:\/\/cciedump.spoto.net\/blog\/","name":"SPOTO Official Blog","description":"Focus on Online IT Training for 20+ Years","publisher":{"@id":"https:\/\/cciedump.spoto.net\/blog\/#\/schema\/person\/25594d4796697ccb1ef63d55c269c638"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/cciedump.spoto.net\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"ImageObject","@id":"https:\/\/cciedump.spoto.net\/blog\/what-is-vlan-stacking_25355.html#primaryimage","inLanguage":"en-US","url":"https:\/\/cciedump.spoto.net\/blog\/wp-content\/uploads\/2026\/11\/what-is-vlan-stacking.png","contentUrl":"https:\/\/cciedump.spoto.net\/blog\/wp-content\/uploads\/2026\/11\/what-is-vlan-stacking.png","width":1024,"height":768,"caption":"What Is VLAN Stacking?"},{"@type":"WebPage","@id":"https:\/\/cciedump.spoto.net\/blog\/what-is-vlan-stacking_25355.html#webpage","url":"https:\/\/cciedump.spoto.net\/blog\/what-is-vlan-stacking_25355.html","name":"What Is VLAN Stacking? - SPOTO Official Blog","isPartOf":{"@id":"https:\/\/cciedump.spoto.net\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/cciedump.spoto.net\/blog\/what-is-vlan-stacking_25355.html#primaryimage"},"datePublished":"2026-11-27T07:54:50+00:00","dateModified":"2026-11-27T07:54:50+00:00","breadcrumb":{"@id":"https:\/\/cciedump.spoto.net\/blog\/what-is-vlan-stacking_25355.html#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/cciedump.spoto.net\/blog\/what-is-vlan-stacking_25355.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/cciedump.spoto.net\/blog\/what-is-vlan-stacking_25355.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/cciedump.spoto.net\/blog"},{"@type":"ListItem","position":2,"name":"What Is VLAN Stacking?"}]},{"@type":"Article","@id":"https:\/\/cciedump.spoto.net\/blog\/what-is-vlan-stacking_25355.html#article","isPartOf":{"@id":"https:\/\/cciedump.spoto.net\/blog\/what-is-vlan-stacking_25355.html#webpage"},"author":{"@id":"https:\/\/cciedump.spoto.net\/blog\/#\/schema\/person\/4edd6074d9632c14eda17a2205a88dd1"},"headline":"What Is VLAN Stacking?","datePublished":"2026-11-27T07:54:50+00:00","dateModified":"2026-11-27T07:54:50+00:00","mainEntityOfPage":{"@id":"https:\/\/cciedump.spoto.net\/blog\/what-is-vlan-stacking_25355.html#webpage"},"wordCount":2521,"commentCount":0,"publisher":{"@id":"https:\/\/cciedump.spoto.net\/blog\/#\/schema\/person\/25594d4796697ccb1ef63d55c269c638"},"image":{"@id":"https:\/\/cciedump.spoto.net\/blog\/what-is-vlan-stacking_25355.html#primaryimage"},"thumbnailUrl":"https:\/\/cciedump.spoto.net\/blog\/wp-content\/uploads\/2026\/11\/what-is-vlan-stacking.png","articleSection":["Routing &amp; Switching"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/cciedump.spoto.net\/blog\/what-is-vlan-stacking_25355.html#respond"]}]},{"@type":"Person","@id":"https:\/\/cciedump.spoto.net\/blog\/#\/schema\/person\/4edd6074d9632c14eda17a2205a88dd1","name":"SPOTO \u7f16\u8f91","image":{"@type":"ImageObject","@id":"https:\/\/cciedump.spoto.net\/blog\/#personlogo","inLanguage":"en-US","url":"https:\/\/cciedump.spoto.net\/blog\/wp-content\/litespeed\/avatar\/f525ded90e4ff384a19ebdbe47c80d22.jpg?ver=1795165000","contentUrl":"https:\/\/cciedump.spoto.net\/blog\/wp-content\/litespeed\/avatar\/f525ded90e4ff384a19ebdbe47c80d22.jpg?ver=1795165000","caption":"SPOTO \u7f16\u8f91"}}]}},"_links":{"self":[{"href":"https:\/\/cciedump.spoto.net\/blog\/wp-json\/wp\/v2\/posts\/25355"}],"collection":[{"href":"https:\/\/cciedump.spoto.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cciedump.spoto.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cciedump.spoto.net\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/cciedump.spoto.net\/blog\/wp-json\/wp\/v2\/comments?post=25355"}],"version-history":[{"count":0,"href":"https:\/\/cciedump.spoto.net\/blog\/wp-json\/wp\/v2\/posts\/25355\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cciedump.spoto.net\/blog\/wp-json\/wp\/v2\/media\/25354"}],"wp:attachment":[{"href":"https:\/\/cciedump.spoto.net\/blog\/wp-json\/wp\/v2\/media?parent=25355"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cciedump.spoto.net\/blog\/wp-json\/wp\/v2\/categories?post=25355"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cciedump.spoto.net\/blog\/wp-json\/wp\/v2\/tags?post=25355"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}