T The Triage ManualTechnical Guides for IT Emergencies
P2 · Network Infrastructure

Managed Switch VLAN Misconfiguration — Devices Isolated or Landing on Wrong VLAN

A VLAN configuration change, new switch deployment, or trunk reconfiguration leaves devices unable to communicate, isolated in their subnet, or receiving an IP from the wrong DHCP scope. Diagnosis centres on port mode, VLAN database presence, trunk allowed VLAN lists, and native VLAN consistency.

Indicators

Likely causes

Diagnostic steps

  1. Check port mode and assigned VLAN: Cisco: show interfaces <port> switchport; ProCurve: show port <port> detail; Juniper: show interfaces <port> detail
  2. Verify VLAN exists in database on all switches in path: show vlan brief — if VLAN missing, create it: vlan <id> name <name>
  3. Check trunk allowed VLAN list: show interfaces trunk — confirm VLAN appears in 'VLANs allowed and active in management domain' column
  4. Verify native VLAN matches on both ends of trunk: native VLAN mismatch produces syslog error 'Native VLAN mismatch discovered' and drops untagged traffic
  5. Check STP port state: show spanning-tree interface <port> — port should be in Forwarding state; if Blocking, investigate root bridge election
  6. Trace MAC address: show mac address-table vlan <id> — confirm switch is learning the device MAC on the expected port

Resolution path

Prevention

Tools

vlanswitchmanaged-switchtrunkaccess-portnative-vlanspanning-treeciscoprocurvejuniper