Spanning Tree Protocol (STP) Fundamentals
STP Roles, States, and Convergence
Advanced Spanning Tree Protocols
STP Failure Scenarios and Protection Mechanisms
EtherChannel and Link Aggregation
(Techniques to optimize bandwidth and network performance)
100

What is the primary purpose of the Spanning Tree Protocol (STP) in a switched network?

To prevent switching loops in a network with redundant switched paths.

100

Define the role of the Root Port in STP and explain how it is determined.

The Root Port is the port with the lowest path cost to the root bridge; it is selected based on the bandwidth of available links.

100

What are the main differences between IEEE 802.1d and IEEE 802.1w (RSTP)?

IEEE 802.1w (RSTP) provides faster convergence than 802.1d, introduces new port roles (Alternate and Backup), and eliminates delay timers.

100

What is the consequence of a failed STP configuration where blocked ports incorrectly transition to forwarding state?

Network loops occur, leading to excessive traffic, CPU overload, and potential network failure.

100

What is the primary advantage of using EtherChannel in a network?

It aggregates multiple physical links into a single logical link, increasing bandwidth and redundancy while preventing STP from blocking redundant links.

200

How does STP determine which links to disable in a redundant network topology?

By using the Spanning-Tree Algorithm (STA) to track all links and disable redundant ones.

200

What is the difference between a Designated Port and a Non-Designated Port in STP?

A Designated Port has the lowest cost path to a segment and forwards traffic, while a Non-Designated Port has a higher cost and remains in a blocking state.

200

What is the purpose of PVST+ (Per-VLAN Spanning Tree Plus), and how does it differ from standard STP?

PVST+ creates a separate STP instance for each VLAN, allowing more efficient use of links and load balancing.

200

How does BPDU Guard protect against unauthorized switches in a network?

It disables a port if a BPDU is received on a PortFast-enabled port, preventing unauthorized switches from participating in STP.

200

What are the key requirements for configuring EtherChannel between two switches?

The ports must have matching speed, duplex settings, and VLAN configurations.

300

What is a BPDU, and what role does it play in STP?

A Bridge Protocol Data Unit (BPDU) is a network message exchanged between switches to determine the STP topology and elect the root bridge.

300

Explain the five port states in STP and their functions.

  • Disabled: Port is administratively down.
  • Blocking: Port listens to BPDUs but does not forward frames.
  • Listening: Port listens for BPDUs before forwarding frames.
  • Learning: Port learns MAC addresses but does not forward frames.
  • Forwarding: Port actively forwards frames.
300

What is the main advantage of Rapid PVST+ compared to PVST+?

It incorporates Rapid Spanning Tree Protocol (RSTP) for faster convergence while still maintaining per-VLAN STP instances.

300

What is PortFast, and why is it used on access ports?

PortFast allows ports to immediately transition to the forwarding state, reducing delays when connecting end devices.

300

Differentiate between PAgP and LACP in EtherChannel configuration.

PAgP is Cisco’s proprietary protocol for link aggregation, while LACP is the IEEE standard (802.3ad) that works in multi-vendor environments.

400

How is the root bridge selected in an STP network?

The switch with the lowest Bridge ID (combination of bridge priority and MAC address) is elected as the root bridge.

400

What is meant by ‘convergence’ in STP, and why is it important?

Convergence occurs when all switches have transitioned to either forwarding or blocking states, ensuring a stable, loop-free network.

400

Why might an organization choose to use 802.1s (MSTP) instead of other spanning-tree protocols?

MSTP reduces the number of STP instances by mapping multiple VLANs to a single spanning-tree instance, improving scalability.

400

Describe a situation where an STP failure could cause a broadcast storm.

If a blocked port is mistakenly enabled, broadcast frames can circulate indefinitely, consuming all available bandwidth and CPU resources.

400

How does EtherChannel impact STP and routing protocols in a network?

STP treats EtherChannel as a single link, preventing unnecessary blocking, while routing protocols see it as one path, reducing overhead.

500

What happens in an STP-enabled network if the root bridge fails?

The remaining switches will perform a re-election process, and a new root bridge will be selected based on the lowest Bridge ID.

500

How long does STP (802.1d) take to transition from a blocking state to a forwarding state by default?

50 seconds (15 seconds each for listening and learning states, plus additional delay timers).

500

How does Rapid Spanning Tree Protocol (RSTP) achieve faster convergence compared to traditional STP?

By eliminating delay timers and introducing new roles (Alternate and Backup) that allow faster recovery from topology changes.

500

What command can be used on a Cisco switch to verify the current STP topology and root bridge election?

show spanning-tree

500

What happens if one of the physical links in an EtherChannel bundle fails?

The remaining links continue operating without disruption, as traffic is redistributed across the active links.