Switching for Network Engineers
Switching is how Layer 2 devices forward Ethernet frames inside a local network using MAC address tables. Key topics are VLANs that split one switch into several broadcast domains, trunks carrying many VLANs with 802.1Q tags, and Spanning Tree Protocol that prevents loops.
Stage: Switching and Routing · Part of the Network Engineer roadmap · Last reviewed 19 November 2026
What to learn in Switching
- Configure access ports and assign them to VLANs
- Set up an 802.1Q trunk and restrict the allowed VLAN list
- Explain how STP elects a root bridge and blocks redundant links
- Read a switch MAC address table to find a host
- Use inter-VLAN routing with a router on a stick or a Layer 3 switch
Switching interview questions
Why is a Layer 2 loop dangerous?
Ethernet frames have no TTL, so a broadcast looping between switches is copied endlessly, causing a broadcast storm that consumes bandwidth and CPU and can bring the network down. STP blocks redundant links to prevent this.
What is the native VLAN on a trunk?
The native VLAN carries untagged frames on an 802.1Q trunk. Both ends must agree on it or traffic can leak between VLANs. It is good practice to set it to an unused VLAN rather than leave the default.
Where Switching fits in the Network Engineer roadmap
Switching belongs to the Switching and Routing stage (beginner level), which takes about 5 hours. Move packets reliably.
Other units in this stage
Back to the full Network Engineer roadmap