💡
Network Fundamentals
  • About This Site
  • Network
  • Medium
  • Types of Network:
  • LAN
  • MAN
  • WAN
  • Internet
  • Types of Internet Connections
  • Cable Connection
  • DSL Connection
  • Internet Standard & Protocols
  • Internet Networking Model
  • SNA Networking Model
  • OSI Networking Model
  • TCP-IP Networking Model
  • TCP-IP Layers
  • Application Layer
  • HTTP (Hyper Text Transfer Protocol)
  • Transport Layer
  • TCP (Transmission Control Protocol)
  • Network Layer
  • IP (Internet Protocol)
  • IPv4:
  • IPv4 Address parts
  • IPv4 Address Classes
  • IPv6:
  • Data-Link Layer
  • Physical Layer
  • An Ethernet
  • A SOHO LAN Network
  • An Enterprise LAN Network
  • Physical Layer Standards
  • Data-Link Layer Standards
  • Transmitting Data over Ethernet UTP
  • Transmitting Data over Fiber Optic Cable (using Hot-Pluggable Transceivers)
  • Cabling Pinouts (Ethernet UTP)
  • Cabling Pinouts (Fiber Optic)
  • Ethernet Standards (UTP)
  • Ethernet Standards (Fiber Optic)
  • LAN Data-Link Layer Protocols
  • Ethernet Addressing (MAC)
  • Types of Networking Devices
  • HUB
  • SWITCH
  • CSMA/CD (Carrier Sense Multiple Access / Collision Detection):
  • Lease-Line WAN
  • WAN Data-Link Layer Protocols
  • HDLC Encapsulating and Re-encapsulating
  • Ethernet WAN (EoMPLS)
  • IP Routing (BIG FLOW)
  • Router
  • Subnetting
  • Binary Rules
  • Binary Method Example 1
  • Binary Method Example 2
  • Binary Method Example 3
  • Subnetting Quick Method Rules
  • Subnetting Quick Method Example 1
  • Subnetting BEST Method Rules
  • Subnetting BEST Method Example 1
  • Subnetting BEST Method Example 2
  • Subnetting BEST Method Example 3a
  • Subnetting BEST Method Example 3b
  • Subnetting BEST Method Example 3c
  • Subnetting BEST Method Example 4
  • Dynamic Routing Protocol
  • DNS (Domain Name System)
  • ARP (Address Resolution Protocol)
  • PING (Packet Internet Groper)
  • Cisco OS (IOS)
  • Memory Types
  • Cisco CLI
  • Console Port:
  • Telnet Access (Teletype network) (P No. 23):
  • SSH (Secure Shell) (P No. 22)
  • Console Cabling
  • CLI Modes
  • Securing User Mode and Privileged Mode
  • Securing User & Privileged Mode For Console Users
  • Securing User & Privileged Mode For Telnet Users
  • Securing User & Privileged Mode For SSH Users
  • AAA (Authentication, Authorization and Accounting) Server
  • AAA 802.1x Protocols(Radius & TACACS+)
  • Ethernet LAN Switching
  • VLAN
  • Configuring VLAN
  • VTP (Vlan Trunking Protocol)
  • Trunk Port
  • Trunking Protocol (802.1Q)
  • DTP (Dynamic Trunking Protocol)
  • Voice VLAN
  • Why STP?
  • What STP Does?
  • How STP works?
  • STP Messages (BPDU)
  • Electing a RB (Root Bridge/Switch)
  • Electing One Root Port (on each Non RB)
  • Elect One/Multiple Designated Ports on each Non RB:
  • Changing the STP Settings:
  • STP (Spanning Tree Protocol)
  • STP Convergence (if something changes/link fails):
  • STP (Spanning Tree Protocol) Versions
  • STP/RSTP States:
  • PortFast
  • BPDU Guard
  • RSTP (Rapid Spanning Tree)
  • Port Roles in RSTP
  • RSTP Port States
  • Ether Channel
  • Switched Virtual Interface
  • Half Duplex
  • Full Duplex
  • Autonegotiation
  • Duplex Mismatch:
  • Verifying Duplex Mismatch
  • Number History
  • 10 to the power of x
  • 2 to the power of x
Powered by GitBook
On this page

Why STP?

PreviousVoice VLANNextWhat STP Does?

Last updated 4 years ago

As mentioned earlier, Switch creates multiple copies of the Frame in 3 Scenarios:

    1. If it receives the Broadcast Frame

      1. If it receives a Multicast Frame

    2. If DMAC Address is not known in the MAC Address Table. (unknown Unicast frame/unknown unicast).

  • If 2 Switch connect 2 wires between each other for Redundancy, and because Switch's nature is to create multiple copies of a Broadcast frame if it receives a Broadcast frame that means each switch will receive this Broadcast Frame & the Switches will keep on creating & forwarding these frames thereby creating a Broadcast Storm & MAC Table instability which is also called Bridging Loop/ Switching Loop/ L2 Loop.

  • Bridging Loop/ Switching Loop/ L2 Loop will lead to:

    1. Broadcast Storm:

    2. If the Switch (SW1) receives a Broadcast Frame, Multicast Frame, unknown Unicast frame then it create a copy & forward it to all the other ports. If there are 2 links between 2 switches then it kind of creates a circle due to which that broadcast copies are returned back to SW1 & it will again forward it on all the other ports. Creating a broadcast storm with all the links flickering orange LEDs.

    3. MAC Address Table instability

    4. PC AAA sends the broadcast frame (DMAC-FFF) to SW1's port 1. SW1 will mark in MAC Table that Port 1 is AAA & forward to all the other port including to SW2's port 1. SW2 will receive the frame with SMAC AAA & DMAC FFF & will mark that AAA is @ Port 1 of SW2 & forward it to all the other ports. Because there are 2 links connected between SW1&SW2 now again SW1 will receive this frame at port 4 & will mark that AAA is on port 4 & update it's MAC Table that AAA is not on Port 1 but on Port 4 (in reality it is on Port 1). MAC Table instability.

    5. (Switch will learn the same MAC Address from the different ports as they are creating multiple copies & received on each port on each Switch thereby making the MAC Address Table unstabilized)

    6. Multiple frame transmission:

    7. Because the same frame is being broadcasted by 2 different Switches & different ports the original receiver will receive same but multiple frames from different senders which may result in an application failure, if not more pervasive networking problems.

      These above issues may also leads to High Memory,CPU & Bandwidth utilization.

  • Solution is (Spanning Tree Protocol)]]

Reference:

  • CCNA 200-301 OCG, Volume 1, Pg. 115 - Wendell Odom.

  • RST Notes

STP
https://courses.davidbombal.com/courses/267624/lectures/4153133