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.

MediumSystem Design
63 practiced

A 10,000-user company with three campuses wants a VLAN design that separates users, servers, management and guests. How do you decide how many VLANs to create and how large each broadcast domain should be, where do you place the layer 3 boundary and DHCP, and how does the choice between many small VLANs and fewer large ones play out day to day?

EasyTechnical
62 practiced

You are asked to turn an unused switch port into a user port for the Sales team in a new VLAN. Walk through the configuration you would apply on a Cisco IOS switch, the checks that confirm it works, and what you would do on that port so it comes up fast and cannot accidentally become a trunk.

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?

EasyTechnical
53 practiced

A new colleague from the server team asks what a VLAN actually is and why the network team keeps asking to use them. Explain it in plain terms and say what changes for broadcasts, security boundaries and day-to-day operations once a network is split into VLANs.

MediumTechnical
89 practiced

You are building the access layer for a new data centre pod and the team's default is spanning tree with redundant uplinks. Where does spanning tree hurt you at that scale, what would you put in its place so every uplink carries traffic, and in what situation would you still keep it?

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.