Spanning Tree Protocol
Spanning Tree Protocol
Protocol (STP)
Spanning Tree Protocol
(STP)
• Layer 2 network protocol
• Used to prevent looping within a network topology
• Avoid problems when arise on redundant path
communication
• If the flow of traffic is not carefully monitored and
controlled, the data can be caught in a loop
• Affecting performance and bringing traffic to a near
halt
• Originally designed for bridges (but have
improvements)
Source:
https://www.techtarget.com/searchnetworking/definition/spanning-tree-protoco
https://www.nwkings.com/what-is-stp
How STP prevent loop?
• STP prevents layer 2 loops by placing redundant ports in a
blocking state. These extra links acts as a backup that can
enter in a forwarding state if an active interface fails.
Both filter packets based on the physical address (AKA MAC – Media Access Control –
address) of the sender/receiver. But Layer-3 switch would provide routing functionalities.
STP Configuration