Study FAQ
How do I verify that a particular VLAN is forwarding on an 802.1Q trunk?
Also asked as 2
- How can I tell whether an 802.1Q trunk is carrying my VLAN on both switches?
- What trunk checks distinguish an allowed VLAN from one that is actually forwarding?
Answer
Check both ends of the trunk for an operational 802.1Q link, a matching native VLAN, and the target VLAN in the forwarding lists. A VLAN can exist on both switches and still fail to cross the trunk.
On Catalyst 9300 switches running IOS XE 17.15.x, read show interfaces trunk at each end. Check that the port is trunking, that the target VLAN is allowed and active, and that it appears in the list of VLANs in spanning-tree forwarding state and not pruned. Use show vlan brief to confirm that the VLAN exists locally and show spanning-tree vlan with its VLAN ID to inspect the relevant forwarding state. Check whether either end is configured to tag native traffic. Typically, an untagged frame on a trunk is classified into the receiving end’s native VLAN, so different native IDs can put it into the wrong segment.
Before changing a remotely managed trunk, confirm that the management path will stay available or arrange a recovery path. After a correction, check operational state again and test traffic on the target VLAN.
References
Full explanation
VLANs, 802.1Q Trunks, and Inter-VLAN Connectivity
Study guide · 200-301
Read the full explanation