CCNA · Lesson 13 of 13

VLAN Verification and Troubleshooting

In the exam and at work, what matters is not configuring: it is knowing how to find what is wrong.

By topologia.appUpdated: Nov 13, 2026⏱ 5 min❓ 4 questions📶 Level beginner

In a nutshell

With four show commands you can find almost any VLAN problem: missing VLAN, wrong port, misconfigured trunk or missing routing.

In this lesson
  1. The 4 commands you must master
  2. Most common errors
  3. Quick troubleshooting method
  4. What you must remember
  5. Exam-style questions

The 4 commands you must master

CommandWhat it tells you
show vlan briefExisting VLANs and their access ports. Trunks do not appear.
show interfaces trunkTrunk ports, encapsulation, native VLAN and allowed/active VLANs.
show interfaces fa0/1 switchportAdministrative and operational mode, access VLAN, voice VLAN, native VLAN and whether DTP negotiates.
show mac address-table vlan 10Which MACs the switch learned in that VLAN and on which port.
SW1# show interfaces fa0/3 switchport
Name: Fa0/3
Switchport: Enabled
Administrative Mode: static access
Operational Mode: static access
Negotiation of Trunking: Off
Access Mode VLAN: 20 (ACCOUNTING)
Trunking Native Mode VLAN: 1 (default)
Voice VLAN: none

Most common errors

SymptomLikely causeHow you see it
A PC has no connectivity within its VLANPort in the wrong VLAN, or VLAN deletedshow vlan brief, show interfaces switchport
PCs in the same VLAN on different switches cannot see each otherThe VLAN does not exist on one switch or is not allowed on the trunkshow interfaces trunk
The trunk does not formauto + auto, or one side in accessshow interfaces switchport
NATIVE_VLAN_MISMATCH messagesDifferent native VLAN on each endshow interfaces trunk on both switches
VLANs cannot talk to each otherMissing router/SVI, missing ip routing, wrong gateway or dot1Q with the wrong VLANshow ip interface brief, show run

Quick troubleshooting method

  1. Does the VLAN exist on every switch in the path? → show vlan brief
  2. Is the PC port in the right VLAN? → show interfaces switchport
  3. Is the trunk up and does it allow that VLAN? → show interfaces trunk
  4. Does the native VLAN match on both ends?
  5. If the problem is between VLANs: right gateway on the PC? subinterface or SVI up? ip routing?

What you must remember

  • show vlan brief does not show trunk ports.
  • show interfaces trunk: native and allowed VLANs.
  • show interfaces switchport: administrative vs. operational mode.
  • Always check: VLAN exists → port → trunk → native → Layer 3.

Check what you learned

4 exam-style questions. Some have one answer and others ask you to choose several. Answer them all to complete the lesson.

Question 1 of 4 · One answerPort Gi0/1 on SW1 is configured as a trunk and works, but it does not appear in the show vlan brief output. Why?
Question 2 of 4 · One answerPC1 (SW1) and PC3 (SW2) are in VLAN 10 and cannot communicate. Refer to the output. What is the most likely cause?

Exhibit

SW1# show interfaces trunk
Port   Vlans allowed on trunk
Gi0/1  1,20
Question 3 of 4 · Choose twoWhich two commands show the native VLAN configured on a trunk? (Choose two.)
Question 4 of 4 · One answerA PC on Fa0/3 should be in VLAN 20 but has no connectivity. Refer to the output. What is the problem?

Exhibit

SW1# show interfaces fa0/3 switchport
Administrative Mode: static access
Operational Mode: static access
Access Mode VLAN: 1 (default)