VLAN Works Locally but Fails Across the Second Switch
intermediateDepartment VLAN Lab
One access switch · four isolated broadcast domains · port map follows the supplied lab
Symptom
PC1 on SW1 and PC2 on SW2 are both meant to be in VLAN 10. Each access port is correct, but the PCs cannot ping across the inter-switch link.
Investigation path
1. Prove endpoint state. Confirm both IPs and masks belong to the same subnet.
2. Prove access VLAN state.
SW1# show vlan brief
SW2# show vlan brief
3. Inspect the inter-switch link.
SW1# show interfaces trunk
SW2# show interfaces trunk
If VLAN 10 is missing from the allowed/active forwarding list, you have a strong lead.
4. Check MAC learning.
SW1# show mac address-table dynamic vlan 10
SW2# show mac address-table dynamic vlan 10
Root cause example
SW2’s uplink was left in access mode. VLAN 10 frames cannot traverse the link as the design expects.
Fix and proof
Correct both ends as trunks, verify VLAN 10 is carried, clear dynamic MAC entries if needed, and ping again. The important skill is the order: endpoint → access VLAN → trunk → MAC learning.