Spanning Tree Protocol Questions and Answers
The Spanning Tree Protocol (STP) is a key networking concept that prevents loops in Ethernet networks. It frequently appears in logical reasoning questions and answers and networking interviews conducted by Cisco, Wipro, and HCL. STP works by dynamically blocking redundant paths and maintaining a single active route within the network. Understanding its role in network stability and topology design is crucial for both certification exams and campus placements. Practicing networking reasoning questions for competitive exams enables candidates to master protocol operations and confidently tackle scenario-based network configuration problems.
Spanning Tree Protocol
Showing 10 of
16 questions
11. Which of the following is a layer 2 protocol used to maintain a loop-free network?
- VTP
- STP
- RIP
- CDP
12. You need to allow one host to be permitted to attach dynamically to each switch interface. Which two commands must you configure on your catalyst switch to meet this policy? Switch(config-if)# ip access-group 10 Switch(config-if)# switchport port-security maximum 1 Switch(config)# access-list 10 permit ip host 1 Switch(config-if)# switchport port-security violation shutdown Switch(config)# mac-address-table secure
- 1 and 3
- 2 and 4
- 2, 3 and 5
- 4 and 5
13. What command will display the forward/filter table?
- show mac filter
- show run
- show mac address-table
- show mac filter-table
14. If a switch receives a frame and the source MAC address is not in the MAC address table but the destination address is, what will the switch do with the frame?
- Discard it and send an error message back to the originating host
- Flood the network with the frame
- Add the source address and port to the MAC address table and forward the frame out the destination port
- Add the destination to the MAC address table and then forward the frame
15. What is the result of segmenting a network with a bridge (switch)? It increases the number of collision domains. It decreases the number of collision domains. It increases the number of broadcast domains. It decreases the number of broadcast domains. It makes smaller collision domains. It makes larger collision domains.
- 1 and 5
- 2, 3 and 5
- 3, 4 and 6
- 1, 3 and 6
16. What are the distinct functions of layer 2 switching that increase available bandwidth on the network? Address learning Routing Forwarding and filtering Creating network loops Loop avoidance IP addressing
- 1, 3 and 5
- 2, 4 and 6
- 2 and 6
- 3 and 5