802.1Q Trunking Lab
Switching

Overview
This lab demonstrates VLAN trunking using IEEE 802.1Q, enabling multiple VLANs to pass between switches over a single link.
Requirements
- Connect two switches
- Configure trunk ports on both switches
- Allow VLAN traffic across switches
Steps
- Select interfaces connecting the two switches
- Configure trunk mode using 802.1Q encapsulation
- Allow VLANs 10 and 20 on trunk links
- Save configuration on both switches
Solution
- Step 1: Configured switch ports as trunk using switchport mode trunk
- Step 2: Enabled 802.1Q encapsulation on trunk interfaces
- Step 3: Allowed VLANs 10 and 20 on trunk links
- Step 4: Verified trunk status using show interfaces trunk
- Step 5: Confirmed VLAN traffic is passing between switches
Verification
- Trunk link is up and operational
- Allowed VLANs 10 and 20 are visible on trunk
- Inter-switch VLAN communication is successful
- No native VLAN mismatch detected
Notes
- 802.1Q is the standard VLAN tagging protocol
- Trunk ports carry multiple VLANs simultaneously
- Native VLAN should match on both sides to avoid issues