STP Advanced Features and Variants 1 — Questions and Answers
Question 1: What is the primary benefit of using Rapid Spanning Tree Protocol (RSTP) over the traditional Spanning Tree Protocol (STP)?
- It supports multiple VLANs
- It provides faster convergence (Correct answer)
- It allows for more complex network topologies
- It reduces the need for switch redundancy
Correct answer: It provides faster convergence
RSTP (Rapid Spanning Tree Protocol) was developed to overcome the slow convergence issues of traditional STP. It achieves faster convergence by introducing new port roles (Alternate, Backup) and states, and by using a more efficient negotiation process between switches. This allows for quicker recovery from link failures and topology changes, minimizing network downtime and improving network stability.
Question 2: What is the function of BPDU Guard in STP?
- To protect against STP BPDUs being sent by unauthorized devices
- To automatically configure STP parameters on a switch
- To prevent BPDUs from being sent on edge ports (Correct answer)
- To increase the speed of STP convergence
Correct answer: To prevent BPDUs from being sent on edge ports
BPDU Guard is an STP enhancement designed to protect the STP topology from unauthorized or malicious devices. When enabled on an access port (an edge port connected to an end device), BPDU Guard immediately puts the port into an error-disabled state if it receives a BPDU. This prevents rogue switches from interfering with the STP topology and causing network instability.
Question 3: What does the concept of "Bridge Assurance" in STP aim to accomplish?
- To ensure that all network bridges are compliant with STP standards
- To prevent switches from becoming isolated due to network failures
- To keep the STP configuration consistent across all switches
- To ensure that BPDUs are periodically sent on all ports to detect network changes (Correct answer)
Correct answer: To ensure that BPDUs are periodically sent on all ports to detect network changes
Bridge Assurance is an STP feature that enhances network reliability by ensuring bidirectional BPDU exchange on point-to-point links. It ensures that a switch port continuously receives BPDUs from its neighbor. If BPDUs stop arriving on a Bridge Assurance-enabled port, the port is transitioned to a blocking state, preventing potential loops caused by unidirectional link failures or misconfigurations.
Question 4: In Multiple Spanning Tree Protocol (MSTP), what is the primary advantage of mapping VLANs to MST instances?
- It improves network security by encrypting VLAN traffic
- It reduces the number of STP instances needed, improving scalability (Correct answer)
- It allows each VLAN to use a separate STP topology
- It enables faster convergence times for all VLANs
Correct answer: It reduces the number of STP instances needed, improving scalability
MSTP (Multiple Spanning Tree Protocol) allows multiple VLANs to be mapped to a single Spanning Tree Instance (MST Instance). This significantly reduces the number of STP instances that need to run on a switch compared to PVST+, which runs a separate STP instance for every VLAN. By grouping VLANs, MSTP improves scalability and reduces resource consumption on switches, especially in large networks.
Question 5: What is the purpose of "Loop Guard" in STP?
- To detect and prevent unauthorized devices from joining the network
- To protect against accidental changes in the STP configuration
- To prevent alternate and backup ports from becoming designated ports due to network topology changes (Correct answer)
- To enhance the speed of STP operations by adjusting timers
Correct answer: To prevent alternate and backup ports from becoming designated ports due to network topology changes
Loop Guard is an STP feature that protects against potential loops caused by unidirectional link failures or misconfigurations. It monitors non-designated ports (Root, Alternate, Backup) that are supposed to be blocking. If a port in a blocking state stops receiving BPDUs, Loop Guard prevents it from transitioning to a forwarding state, thereby avoiding a potential loop in the network.
What is the primary benefit of using Rapid Spanning Tree Protocol (RSTP) over the traditional Spanning Tree Protocol (STP)?