N10-009 ยท Switching
Spanning tree and MTU
Loop prevention with STP/RSTP, root bridge election, port roles, MTU and jumbo frames.
Key points
- STP and RSTP (802.1w) keep redundant Layer 2 links from creating loops by blocking some ports.
- The switch with the lowest bridge ID (priority, default 32768, then MAC) becomes the root bridge.
- Port roles are root, designated, alternate and backup.
- MTU is the largest payload per frame: 1500 bytes by default, with jumbo frames (often about 9000) only working if every device on the path allows them.
Practice questions
How is the spanning tree root bridge chosen?
- The switch with the lowest bridge ID
- The switch with the highest MAC address
- The switch with the most active ports
- The first switch that was powered on
Show answer
Answer: A. The switch with the lowest bridge ID
The lowest bridge ID wins; priority is compared first, then the MAC address as tie-breaker. Highest MAC or most ports play no role.
Which of these are spanning tree port roles?
- Root
- Designated
- Alternate
- Listening
- Native
Show answer
Answer: A. Root, B. Designated, C. Alternate
Root, designated and alternate are roles. Listening is a port state, and trunk or native describe VLAN behaviour, not STP roles.
A Layer 2 loop is harmless because Ethernet frames have a TTL that makes them expire.
Show answer
Answer: False
False. Ethernet frames have no TTL, so broadcasts circulate forever and multiply, causing a broadcast storm. STP exists to prevent this.
Practice 8 questions on this topic in Bitzu
Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.
