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.

MediumTechnical
64 practiced

A 50-person company needs its first VLAN plan covering staff, guests, servers, printers, voice phones and management. Propose VLAN IDs, subnet sizes and purpose for each, and say what would be unsafe to leave flat. Which controls between the VLANs are out of scope for your answer?

EasyTechnical
65 practiced

Explain how an Ethernet switch learns MAC addresses and decides where to send a frame. Cover what happens when the destination is unknown, and what that flooding means for a large broadcast domain.

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.

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.

EasyTechnical
61 practiced

You're on a switch and Host A (MAC 00:11:22:33:44:55) in VLAN 10 reports no connectivity to other hosts in same VLAN. List the IOS 'show' commands you would run to verify VLAN membership, physical port state, VLAN learning, and MAC table entries, and explain how you would interpret each command's output to locate the issue.

Unlock Full Question Bank

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

Sign in to Continue

Join thousands of developers preparing for their dream job.