Switching, VLANs, and Layer 2 Segmentation Questions

Layer 2 switching and segmentation: MAC learning, aging and forwarding (including unknown-unicast flooding and cut-through versus store-and-forward), VLAN design and 802.1Q trunking (tag format, native VLAN, DTP trunk negotiation, VTP, voice VLAN, private VLANs, Q-in-Q), spanning tree (STP, RSTP, MST and edge protection such as PortFast, BPDU guard and root guard), EtherChannel/LACP and MLAG, multicast handling with IGMP snooping, and the hand-off between layer 2 and layer 3 (SVIs, router-on-a-stick, routed ports). Covers access and trunk port configuration and verification, switch-level fault diagnosis (trunk and native VLAN mismatches, MAC flapping, broadcast storms, bundles that will not form), campus, small-office and data-centre VLAN plans, and migrating or renumbering VLANs with minimal downtime. Boundary: attack and defense mechanics (MAC flooding, DHCP snooping, ARP inspection, VLAN hopping), routing protocol configuration, VXLAN/EVPN overlays, fabric and whole-campus topology choice, device automation, and the generic layered troubleshooting method are covered elsewhere.

HardTechnical
57 practiced

Your flat, single-VLAN data centre must be split into segmented VLANs with minimal downtime. How would you sequence the migration, handle addressing, ARP and DHCP, validate each wave, and roll back if a wave fails?

MediumTechnical
68 practiced

Your campus runs classic spanning tree and a link failure takes 30-50 seconds to recover. What does the newer rapid version change to converge faster, how does it coexist with older switches, and how would you move to it safely?

EasyBehavioral
50 practiced

Tell me about a time you diagnosed and resolved a network outage caused by a VLAN or switching misconfiguration. Using the STAR method, describe the Situation, the Task you were responsible for, the Actions you took (tools/commands used), the Result, and the preventive measures you implemented after the incident.

MediumTechnical
66 practiced

Spanning tree edge and core ports need different protections. For a campus, which protective features would you apply where, how does the switch react when each one triggers, and what mistakes make them cause outages instead of preventing them?

HardTechnical
61 practiced

You inherit a network with mixed-vendor switches and inconsistent STP modes (PVST+, MST, RSTP) causing varying port states and occasional loops. How would you audit STP configuration across vendors, reconcile STP behavior safely, and plan a migration to a consistent STP strategy with minimal impact? Provide concrete checks and a rollout plan.

Unlock Full Question Bank

Get access to all 41 Switching, VLANs, and Layer 2 Segmentation interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.