# FrameAssembly v3.2.2 — Complete Code Examples Anthology (llms-examples.txt) > Self-contained collection of 169 compiler-verified FrameAssembly v3.2.2 (`.frasm`, `text/vnd.frameassembly`, MIT License) packet capture examples across all 81 native Layer 2–7 protocols, dual-stack `flow(a, b)` templates, `transport tcp|udp` overrides, nanosecond `.pcapng` captures, and Scapy / Wireshark / `frameassembly reverse` migrations. > Companion specification & 81-protocol modifier reference: https://frameassembly-lang.dev/llms-full.txt --- # Layer 2 Switching, VLAN, QinQ, 802.1X & MPLS Examples > **FrameAssembly v3.2.2** · Anthology 01 (Layer 2 · 14 Recipes) · MIT License · Canonical URL: https://frameassembly-lang.dev/docs/examples/l2-switching-vlans-nac Rootless Ethernet II switching captures with MAC-only endpoints, 802.1Q VLAN trunks, 802.1ad QinQ double tags, IEEE slow-protocol multicast MACs, 802.1X EAPOL onboarding, and MPLS shim labels. ## Key Wire & Syntax Takeaways - Pure Layer 2 protocols (`arp`, `vlan`, `qinq`, `lldp`, `stp`, `lacp`, `eapol`, `mpls`) support MAC-only `host` blocks without IP addresses. - IEEE group destination MACs (`01:80:c2:00:00:00`, `01:80:c2:00:00:02`, `01:80:c2:00:00:03`, `01:80:c2:00:00:0e`) and broadcast ARP `ff:ff:ff:ff:ff:ff` populate automatically. - `vlan `, `qinq innervlan `, and `mpls