Verify both ends of a VLAN trunk
A trunk permits VLANs 10 and 20 on switch A and 10 and 30 on switch B. All are active where needed. Why does VLAN 20 fail end to end?
Verify both ends of a VLAN trunk
The trunk lab checks active VLANs and verifies which VLANs the uplink carries.
Work through the decision
A trunk permits VLANs 10 and 20 on switch A and 10 and 30 on switch B. All are active where needed. Why does VLAN 20 fail end to end?
Check your reasoning
The allowed lists intersect only at VLAN 10. Add VLAN 20 to B’s permitted set after checking the design, then verify VLAN 20 is active and in a forwarding state at both ends.
Interpret the evidence
- 802.1Q tag
- Carries the VLAN identifier in an Ethernet frame on a tagged trunk.
- Native VLAN
- By default Cisco 802.1Q trunks associate untagged ingress with their native VLAN. Match it at both ends.
- Allowed VLAN list
- Both ends must permit the required VLAN. Also verify it exists and is forwarding.
- Operational trunk mode
- A port must actually operate as a trunk for ordinary multi-VLAN transport. Inspect the operational mode on both ends.
Practice the guide skills
- Compare show interfaces trunk and show interfaces switchport on both endpoints. Intersect the allowed, active and forwarding sets for one VLAN.
- Identify the native VLAN on each end and explain how an untagged frame would be classified after a mismatch.
Official objectives for this lesson
Read the trunk’s forwarding sets
A shortened show interfaces trunk report from a practice switch lists three sets for Gi1/0/24.
VLANs allowed on trunk 10,20,30
VLANs allowed and active 10,20,30
VLANs forwarding and not pruned 10,30
VLAN 20 is permitted and active, yet it is absent from the final set. Check the spanning-tree instance and pruning state for that VLAN before editing the allowed list.
Lab · find the missing VLAN on a trunk
Two switches report operational 802.1Q trunks. Enter the following Python 3 fixture with the allowed, active and spanning-tree forwarding VLANs from each end. Predict whether VLAN 20 reaches the far end.
left = {"allowed": {10, 20, 30}, "active": {10, 20, 30},
"forwarding": {10, 20, 30}}
right = {"allowed": {10, 30}, "active": {10, 20, 30},
"forwarding": {10, 20}}
def usable(a, b):
return sorted(set.intersection(*a.values(), *b.values()))
print("before:", usable(left, right))
right["allowed"].add(20)
print("after allow:", usable(left, right))
right["forwarding"].add(30)
print("after STP forwards:", usable(left, right))
Check the result
before: [10] after allow: [10, 20] after STP forwards: [10, 20, 30]
Remove VLAN 20 from the active set on the left. It disappears despite the fixed allowed list. Check the allowed, active and forwarding sections of show interfaces trunk separately. The fixture assumes consistent native VLANs and operational trunks throughout.
Related lesson · Trace a tagged VLAN across two switches
Verify both ends of a VLAN trunk quiz
Answer 3 questions. Check each answer for an explanation.