IEEE 802 1Q: Tagging and Trunking 101
Understanding VLAN Tagging and Trunking Basics
Introduction to VLAN Tagging
- Sunny introduces the topic of VLAN tagging and trunking basics, referencing the Igoe A Oh 2001 Q standard.
- The discussion begins with an explanation of how traffic is managed between switches using VLANs, emphasizing that each switch maintains its own local VLAN information.
Understanding Trunks and Ports
- A trunk link is defined as a connection that allows multiple VLAN traffic to traverse between switches, enabling communication for devices on the same VLAN across different switches.
- By default, a trunk can carry all VLAN traffic but can be configured to limit which specific VLANs are allowed through it.
- The term "trunk port" (or "tag port" in Cisco terminology) refers to ports configured to add a VLAN tag to Ethernet frames, indicating their respective VLAN.
Access Ports vs. Trunk Ports
- An access port (or untagged port) is designed for single-VLAN traffic and does not expect any tags; it only carries traffic for one specific VLAN.
- To facilitate communication between computers on different switches within the same VLAN, trunks must be established by configuring trunk ports.
Frame Transmission Process
- When Computer A sends a frame without any inherent VLAN information, it relies on switch configurations to identify its source and destination based on membership in a specific VLAN.
- Switch 1 recognizes that Computer A belongs to VLAN 10 and prepares the frame for transmission over the trunk link by inserting a corresponding VLAN tag.
Tagging Process Explained
- The tagging process involves adding four fields into the Ethernet frame: identification of the frame type, quality of service data, a reserved bit set to zero, and the actual VLAN identifier ranging from 1 to 4094.
- Once tagged, this modified frame becomes known as an IEEE 802.1Q frame; tagging or encapsulation refers specifically to this addition of information into the original Ethernet frame.
Conclusion and Future Topics
- The video concludes with an analogy comparing trunks to highways where each lane represents different types of traffic (VLAN), highlighting how frames are forwarded based on their tags.