Question

Difficulty: EasyTroubleshooting VLAN, Trunking, and Switching Issues

A network technician is investigating several common Layer 2 switching and trunking issues on a campus network. Match each observed diagnostic symptom or console log message on the left with its corresponding underlying root cause on the right.

  • Console logs repeatedly display: %CDP-4-NATIVE_VLAN_MISMATCH discovered on interface GigabitEthernet0/1.The untagged VLAN configured on one end of the 802.1Q trunk does not match the untagged VLAN on the opposite end.
  • Interface statistics show an increasing count of late collisions and alignment errors on a full-duplex link.One end of the Ethernet connection is operating in half-duplex mode while the connected device operates in full-duplex mode.
  • An unexpected switch becomes the STP Root Bridge following a power outage due to default priority settings.All switches share the default Spanning Tree Protocol priority of 32768, causing election based solely on the lowest MAC address.
  • A workstation cannot reach its default gateway after being plugged into a newly provisioned switch port.The access port is assigned to the default VLAN (VLAN 1) instead of the target operational VLAN.

Answer

CDP Native VLAN mismatch log maps to mismatched untagged VLAN IDs across trunk ends; Late collisions and alignment errors map to a duplex mismatch between connected interfaces; Unintended STP root bridge election maps to default STP priority tie-breaking via MAC address; Workstation gateway unreachability maps to incorrect switch port VLAN assignment.
Each symptom directly corresponds to a fundamental Layer 2 switching error: CDP Native VLAN logs indicate mismatched untagged trunk VLANs; late collision counters indicate a duplex negotiation mismatch; default STP priority causes root elections based on MAC address; and lack of gateway access on a new port typically indicates incorrect access VLAN assignment.

Step-by-Step Solution

1
Analyze CDP error messages
Identify that %CDP-4-NATIVE_VLAN_MISMATCH explicitly indicates mismatched native (untagged) VLAN numbers on an 802.1Q trunk connection.
802.1Q trunks require identical native VLAN settings on both connected switch ports to prevent traffic leakage across VLAN boundaries.
2
Analyze interface error counters for late collisions
Correlate late collisions with a speed/duplex mismatch where one interface is set to half-duplex and the connected interface is set to full-duplex.
Full-duplex transmits without listening, causing the half-duplex side to detect a collision after its 64-byte collision window (late collision).
3
Evaluate Spanning Tree Protocol root election criteria
Determine that when STP priority is unconfigured (default 32768), the switch with the numerically lowest MAC address wins the root bridge election.
Bridge ID consists of Priority + System ID Extension + MAC Address; default priorities force election based on MAC address.
4
Investigate host VLAN isolation symptoms
Recognize that a host connected to a port left in default VLAN 1 cannot reach a default gateway configured on a different functional VLAN.
VLANs isolate Layer 2 broadcast domains, requiring inter-VLAN routing to communicate across different VLAN IDs.

Key Concept

Troubleshooting VLAN, Trunking, and Switching Issues
Rate this question