SlideShare a Scribd company logo
Spanning Tree ProtocolSpanning Tree Protocol
Implementing Cisco Networks
OutlineOutline
Introduction
Why Use STP?
Spanning Tree Terms
Spanning Tree Operation (STA)
STP Port States
STP Timers
STP Versions
CCNA Project Report 2
IntroductionIntroduction
Layer 2 Bridge-to-Bridge Protocol
Loop Avoidance Mechanism
Developed by Radia Perlman
Defined in IEEE 802.1d standard
Enabled by default on Cisco Catalyst
switches
Uses the Spanning Tree Algorithm
Creates Loop-free Logical Topology
CCNA Project Report 3
Why Use STP?Why Use STP?
The Need for STP
In a layer 2 switched network, while multiple links between
devices provide protection against single points of failure,
they also introduce physical loops in the network.
Redundant links can cause a lot of problems, including:
• Broadcast storms
• Multiple copies of Ethernet frame
• Thrashing of the MAC table
STP prevents physical networking loops from occurring
by identifying the redundant links in the network, and blocking
some of them to create a loop-free logical topology.
CCNA Project Report 4
Spanning Tree TermsSpanning Tree Terms
Root Bridge – the focal point of
the network that influences all STP
decisions
Root Port – the port (on a
nonroot bridge) used to reach the
root bridge
Designated Port – the port with
the least advertised path cost to the
root bridge
CCNA Project Report 5
Spanning Tree Terms (contd.)Spanning Tree Terms (contd.)
Bridge ID – Priority + MAC Address, used
to identify each switch in the network,
default priority = 32,768
BPDU – Bridge Protocol Data Unit, used
by switches to exchange STP information
among themselves
Path/Port Cost – determined by the
bandwidth of a link
CCNA Project Report 6
Spanning Tree Operation (STA)Spanning Tree Operation (STA)
Step 1: Electing a Root Bridge
• Bridge Priority, Bridge ID, Root Bridge
Step 2: Electing Root Ports
• Path/Port Cost, Root Path Cost, Root Port
Step 3: Electing Designated Ports
• Path/Port Cost, Root Path Cost
CCNA Project Report 8
STP Port StatesSTP Port States
Disabled – Administratively down
Blocking – Receives BPDUs only
Listening – Building active topology
Learning – Building bridging table
Forwarding – Building MAC table,
sending/receiving user data
CCNA Project Report 9
STP TimersSTP Timers
Hello Time – how often BPDUs are
sent (default = 2 seconds)
Max Age – maximum time to retain the
received BPDU information (default = 20
seconds)
Forward Delay – time to wait before
transitioning from listening to learning
state, and from learning to forwarding state
(default = 15 seconds)
CCNA Project Report 10
STP VersionsSTP Versions
Spanning Tree Protocol (IEEE 802.1d)
Per VLAN Spanning Tree (PVST+)
Rapid Spanning Tree Protocol, or RSTP
(IEEE 802.1w)
CCNA Project Report 11
ThankYouThankYou
Presented by:
Premdeep S. Gill
Roll# LU-0453-10
Batch# 100223
CCNA Project Report 12

More Related Content

What's hot

Attacking the spanning tree protocol
Attacking the spanning tree protocolAttacking the spanning tree protocol
Attacking the spanning tree protocolAsmadzakirah
 
Layer 2 switching fundamentals(networking)
Layer 2 switching fundamentals(networking)Layer 2 switching fundamentals(networking)
Layer 2 switching fundamentals(networking)welcometofacebook
 
RSTP (rapid spanning tree protocol)
RSTP (rapid spanning tree protocol)RSTP (rapid spanning tree protocol)
RSTP (rapid spanning tree protocol)Netwax Lab
 
Spanning Tree Protocol
Spanning Tree ProtocolSpanning Tree Protocol
Spanning Tree ProtocolManoj Gharate
 
Spanning tree protocol (stp)
Spanning tree protocol (stp)Spanning tree protocol (stp)
Spanning tree protocol (stp)RaghulR21
 
configuration of switch campus network
configuration of switch campus networkconfiguration of switch campus network
configuration of switch campus networksubhash subbu
 
Switching techniques
Switching techniquesSwitching techniques
Switching techniquesAmit Kumar
 
Difference between Routing & Routed Protocol
Difference between Routing & Routed ProtocolDifference between Routing & Routed Protocol
Difference between Routing & Routed ProtocolNetwax Lab
 
Ccna new syllabus brochure
Ccna new syllabus brochureCcna new syllabus brochure
Ccna new syllabus brochureZabeel Institute
 
CCNA BASIC SWITCHING AND SWITCH CONFIGURATION
CCNA BASIC SWITCHING AND SWITCH CONFIGURATIONCCNA BASIC SWITCHING AND SWITCH CONFIGURATION
CCNA BASIC SWITCHING AND SWITCH CONFIGURATIONAswini Badatya
 

What's hot (20)

Attacking the spanning tree protocol
Attacking the spanning tree protocolAttacking the spanning tree protocol
Attacking the spanning tree protocol
 
Layer 2 switching fundamentals(networking)
Layer 2 switching fundamentals(networking)Layer 2 switching fundamentals(networking)
Layer 2 switching fundamentals(networking)
 
Spanning Tree Protocol Cheat Sheet
Spanning Tree Protocol Cheat SheetSpanning Tree Protocol Cheat Sheet
Spanning Tree Protocol Cheat Sheet
 
Protocolo Spanning Tree
Protocolo Spanning TreeProtocolo Spanning Tree
Protocolo Spanning Tree
 
RSTP (rapid spanning tree protocol)
RSTP (rapid spanning tree protocol)RSTP (rapid spanning tree protocol)
RSTP (rapid spanning tree protocol)
 
Spanning tree protocol
Spanning tree protocolSpanning tree protocol
Spanning tree protocol
 
Lan Network with Redundancy.ppt
Lan Network with Redundancy.pptLan Network with Redundancy.ppt
Lan Network with Redundancy.ppt
 
IEEE Standards
IEEE StandardsIEEE Standards
IEEE Standards
 
Fddi
FddiFddi
Fddi
 
Ethernet technology
Ethernet technologyEthernet technology
Ethernet technology
 
Switching
SwitchingSwitching
Switching
 
Spanning Tree Protocol
Spanning Tree ProtocolSpanning Tree Protocol
Spanning Tree Protocol
 
Spanning tree protocol
Spanning tree protocolSpanning tree protocol
Spanning tree protocol
 
Spanning tree protocol (stp)
Spanning tree protocol (stp)Spanning tree protocol (stp)
Spanning tree protocol (stp)
 
configuration of switch campus network
configuration of switch campus networkconfiguration of switch campus network
configuration of switch campus network
 
Switching techniques
Switching techniquesSwitching techniques
Switching techniques
 
Difference between Routing & Routed Protocol
Difference between Routing & Routed ProtocolDifference between Routing & Routed Protocol
Difference between Routing & Routed Protocol
 
5 IEEE standards
5  IEEE standards5  IEEE standards
5 IEEE standards
 
Ccna new syllabus brochure
Ccna new syllabus brochureCcna new syllabus brochure
Ccna new syllabus brochure
 
CCNA BASIC SWITCHING AND SWITCH CONFIGURATION
CCNA BASIC SWITCHING AND SWITCH CONFIGURATIONCCNA BASIC SWITCHING AND SWITCH CONFIGURATION
CCNA BASIC SWITCHING AND SWITCH CONFIGURATION
 

Similar to Stp premdeep gill-lu045310-14aug12

Brk 135 t-ccna_switching
Brk 135 t-ccna_switchingBrk 135 t-ccna_switching
Brk 135 t-ccna_switchingparthasn83
 
SRWE_Module_5-STP Concepts.pptx
SRWE_Module_5-STP Concepts.pptxSRWE_Module_5-STP Concepts.pptx
SRWE_Module_5-STP Concepts.pptxSaqibAli696638
 
Lec1 lan switching
Lec1 lan switchingLec1 lan switching
Lec1 lan switchingkarthiketrx
 
Quick Guide Layer 2 Switching
Quick Guide   Layer 2 SwitchingQuick Guide   Layer 2 Switching
Quick Guide Layer 2 SwitchingCCNAResources
 
Day 4 LAYER 2 SWITCHING
Day 4 LAYER 2 SWITCHINGDay 4 LAYER 2 SWITCHING
Day 4 LAYER 2 SWITCHINGanilinvns
 
LAYER 2 SWITCHING
LAYER 2 SWITCHINGLAYER 2 SWITCHING
LAYER 2 SWITCHINGanilinvns
 
CCNAv5 - S3: Chapter2 Lan Redundancy
CCNAv5 - S3: Chapter2 Lan RedundancyCCNAv5 - S3: Chapter2 Lan Redundancy
CCNAv5 - S3: Chapter2 Lan RedundancyVuz Dở Hơi
 
Ccna free chapter
Ccna free chapterCcna free chapter
Ccna free chapterkvs062003
 
CCNP Switching Chapter 4
CCNP Switching Chapter 4CCNP Switching Chapter 4
CCNP Switching Chapter 4Chaing Ravuth
 
Spantree
SpantreeSpantree
Spantree1 2d
 
Spantree
SpantreeSpantree
Spantree1 2d
 
ARP_L2-3a_Redundancia-LAN-STP_v2_20201127.pdf
ARP_L2-3a_Redundancia-LAN-STP_v2_20201127.pdfARP_L2-3a_Redundancia-LAN-STP_v2_20201127.pdf
ARP_L2-3a_Redundancia-LAN-STP_v2_20201127.pdfanonymus45
 
Ijcn 114DRSTP: A Simple Technique for Preventing Count-to-Infinity in RSTP Co...
Ijcn 114DRSTP: A Simple Technique for Preventing Count-to-Infinity in RSTP Co...Ijcn 114DRSTP: A Simple Technique for Preventing Count-to-Infinity in RSTP Co...
Ijcn 114DRSTP: A Simple Technique for Preventing Count-to-Infinity in RSTP Co...CSCJournals
 
Overview of Spanning Tree Protocol (STP & RSTP)
Overview of Spanning Tree Protocol (STP & RSTP)Overview of Spanning Tree Protocol (STP & RSTP)
Overview of Spanning Tree Protocol (STP & RSTP)Peter R. Egli
 

Similar to Stp premdeep gill-lu045310-14aug12 (20)

Brk 135 t-ccna_switching
Brk 135 t-ccna_switchingBrk 135 t-ccna_switching
Brk 135 t-ccna_switching
 
SRWE_Module_5-STP Concepts.pptx
SRWE_Module_5-STP Concepts.pptxSRWE_Module_5-STP Concepts.pptx
SRWE_Module_5-STP Concepts.pptx
 
Lec1 lan switching
Lec1 lan switchingLec1 lan switching
Lec1 lan switching
 
ENCOR_Capitulo 2.pptx
ENCOR_Capitulo 2.pptxENCOR_Capitulo 2.pptx
ENCOR_Capitulo 2.pptx
 
Quick Guide Layer 2 Switching
Quick Guide   Layer 2 SwitchingQuick Guide   Layer 2 Switching
Quick Guide Layer 2 Switching
 
Day 4 LAYER 2 SWITCHING
Day 4 LAYER 2 SWITCHINGDay 4 LAYER 2 SWITCHING
Day 4 LAYER 2 SWITCHING
 
LAYER 2 SWITCHING
LAYER 2 SWITCHINGLAYER 2 SWITCHING
LAYER 2 SWITCHING
 
CCNAv5 - S3: Chapter2 Lan Redundancy
CCNAv5 - S3: Chapter2 Lan RedundancyCCNAv5 - S3: Chapter2 Lan Redundancy
CCNAv5 - S3: Chapter2 Lan Redundancy
 
Ccna free chapter
Ccna free chapterCcna free chapter
Ccna free chapter
 
CCNP Switching Chapter 4
CCNP Switching Chapter 4CCNP Switching Chapter 4
CCNP Switching Chapter 4
 
Spantree
SpantreeSpantree
Spantree
 
Spantree
SpantreeSpantree
Spantree
 
ARP_L2-3a_Redundancia-LAN-STP_v2_20201127.pdf
ARP_L2-3a_Redundancia-LAN-STP_v2_20201127.pdfARP_L2-3a_Redundancia-LAN-STP_v2_20201127.pdf
ARP_L2-3a_Redundancia-LAN-STP_v2_20201127.pdf
 
C C N A Day4
C C N A  Day4C C N A  Day4
C C N A Day4
 
Ijcn 114DRSTP: A Simple Technique for Preventing Count-to-Infinity in RSTP Co...
Ijcn 114DRSTP: A Simple Technique for Preventing Count-to-Infinity in RSTP Co...Ijcn 114DRSTP: A Simple Technique for Preventing Count-to-Infinity in RSTP Co...
Ijcn 114DRSTP: A Simple Technique for Preventing Count-to-Infinity in RSTP Co...
 
Overview of Spanning Tree Protocol (STP & RSTP)
Overview of Spanning Tree Protocol (STP & RSTP)Overview of Spanning Tree Protocol (STP & RSTP)
Overview of Spanning Tree Protocol (STP & RSTP)
 
Ccna day4
Ccna day4Ccna day4
Ccna day4
 
Ccna day4
Ccna day4Ccna day4
Ccna day4
 
Ccna day4
Ccna day4Ccna day4
Ccna day4
 
CCNA PPT
CCNA PPTCCNA PPT
CCNA PPT
 

More from CYBERINTELLIGENTS (20)

Wide area networks
Wide area networksWide area networks
Wide area networks
 
Switching
SwitchingSwitching
Switching
 
Routerfundaments gurwinder
Routerfundaments gurwinderRouterfundaments gurwinder
Routerfundaments gurwinder
 
Rip 1 rip 2
Rip 1 rip 2Rip 1 rip 2
Rip 1 rip 2
 
Ospf new
Ospf newOspf new
Ospf new
 
Nat pat
Nat patNat pat
Nat pat
 
Nat config
Nat configNat config
Nat config
 
Ipv6^ new
Ipv6^ newIpv6^ new
Ipv6^ new
 
Ip addressing...
Ip addressing... Ip addressing...
Ip addressing...
 
Ip address
Ip address Ip address
Ip address
 
Igrp
IgrpIgrp
Igrp
 
Frame relay
Frame  relayFrame  relay
Frame relay
 
Eigrp new
Eigrp newEigrp new
Eigrp new
 
Day 25 cisco ios router configuration
Day 25 cisco ios router configurationDay 25 cisco ios router configuration
Day 25 cisco ios router configuration
 
Day 22 _ ppp
Day 22  _ ppp Day 22  _ ppp
Day 22 _ ppp
 
Day 20.i pv6 lab
Day 20.i pv6 labDay 20.i pv6 lab
Day 20.i pv6 lab
 
Day 20.3 frame relay
Day 20.3 frame relay Day 20.3 frame relay
Day 20.3 frame relay
 
Day 20.2 frame relay
Day 20.2 frame relay Day 20.2 frame relay
Day 20.2 frame relay
 
Day 20.1 configuringframerelay
Day 20.1 configuringframerelayDay 20.1 configuringframerelay
Day 20.1 configuringframerelay
 
Day 19 wan connections
Day 19 wan connectionsDay 19 wan connections
Day 19 wan connections
 

Recently uploaded

Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptx
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptxSolid waste management & Types of Basic civil Engineering notes by DJ Sir.pptx
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptxDenish Jangid
 
2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptx2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptxmansk2
 
Basic Civil Engineering Notes of Chapter-6, Topic- Ecosystem, Biodiversity G...
Basic Civil Engineering Notes of Chapter-6,  Topic- Ecosystem, Biodiversity G...Basic Civil Engineering Notes of Chapter-6,  Topic- Ecosystem, Biodiversity G...
Basic Civil Engineering Notes of Chapter-6, Topic- Ecosystem, Biodiversity G...Denish Jangid
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaasiemaillard
 
Salient features of Environment protection Act 1986.pptx
Salient features of Environment protection Act 1986.pptxSalient features of Environment protection Act 1986.pptx
Salient features of Environment protection Act 1986.pptxakshayaramakrishnan21
 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePedroFerreira53928
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxbennyroshan06
 
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdfDanh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdfQucHHunhnh
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxJheel Barad
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfTamralipta Mahavidyalaya
 
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptxJose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptxricssacare
 
NLC-2024-Orientation-for-RO-SDO (1).pptx
NLC-2024-Orientation-for-RO-SDO (1).pptxNLC-2024-Orientation-for-RO-SDO (1).pptx
NLC-2024-Orientation-for-RO-SDO (1).pptxssuserbdd3e8
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsCol Mukteshwar Prasad
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chipsGeoBlogs
 
Gyanartha SciBizTech Quiz slideshare.pptx
Gyanartha SciBizTech Quiz slideshare.pptxGyanartha SciBizTech Quiz slideshare.pptx
Gyanartha SciBizTech Quiz slideshare.pptxShibin Azad
 
Basic Civil Engg Notes_Chapter-6_Environment Pollution & Engineering
Basic Civil Engg Notes_Chapter-6_Environment Pollution & EngineeringBasic Civil Engg Notes_Chapter-6_Environment Pollution & Engineering
Basic Civil Engg Notes_Chapter-6_Environment Pollution & EngineeringDenish Jangid
 

Recently uploaded (20)

Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptx
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptxSolid waste management & Types of Basic civil Engineering notes by DJ Sir.pptx
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptx
 
Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......
 
B.ed spl. HI pdusu exam paper-2023-24.pdf
B.ed spl. HI pdusu exam paper-2023-24.pdfB.ed spl. HI pdusu exam paper-2023-24.pdf
B.ed spl. HI pdusu exam paper-2023-24.pdf
 
2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptx2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptx
 
Basic Civil Engineering Notes of Chapter-6, Topic- Ecosystem, Biodiversity G...
Basic Civil Engineering Notes of Chapter-6,  Topic- Ecosystem, Biodiversity G...Basic Civil Engineering Notes of Chapter-6,  Topic- Ecosystem, Biodiversity G...
Basic Civil Engineering Notes of Chapter-6, Topic- Ecosystem, Biodiversity G...
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Salient features of Environment protection Act 1986.pptx
Salient features of Environment protection Act 1986.pptxSalient features of Environment protection Act 1986.pptx
Salient features of Environment protection Act 1986.pptx
 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer Service
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
 
Mattingly "AI & Prompt Design: Limitations and Solutions with LLMs"
Mattingly "AI & Prompt Design: Limitations and Solutions with LLMs"Mattingly "AI & Prompt Design: Limitations and Solutions with LLMs"
Mattingly "AI & Prompt Design: Limitations and Solutions with LLMs"
 
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdfDanh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptxJose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
 
NLC-2024-Orientation-for-RO-SDO (1).pptx
NLC-2024-Orientation-for-RO-SDO (1).pptxNLC-2024-Orientation-for-RO-SDO (1).pptx
NLC-2024-Orientation-for-RO-SDO (1).pptx
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
 
Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
 
Gyanartha SciBizTech Quiz slideshare.pptx
Gyanartha SciBizTech Quiz slideshare.pptxGyanartha SciBizTech Quiz slideshare.pptx
Gyanartha SciBizTech Quiz slideshare.pptx
 
Basic Civil Engg Notes_Chapter-6_Environment Pollution & Engineering
Basic Civil Engg Notes_Chapter-6_Environment Pollution & EngineeringBasic Civil Engg Notes_Chapter-6_Environment Pollution & Engineering
Basic Civil Engg Notes_Chapter-6_Environment Pollution & Engineering
 

Stp premdeep gill-lu045310-14aug12

  • 1. Spanning Tree ProtocolSpanning Tree Protocol Implementing Cisco Networks
  • 2. OutlineOutline Introduction Why Use STP? Spanning Tree Terms Spanning Tree Operation (STA) STP Port States STP Timers STP Versions CCNA Project Report 2
  • 3. IntroductionIntroduction Layer 2 Bridge-to-Bridge Protocol Loop Avoidance Mechanism Developed by Radia Perlman Defined in IEEE 802.1d standard Enabled by default on Cisco Catalyst switches Uses the Spanning Tree Algorithm Creates Loop-free Logical Topology CCNA Project Report 3
  • 4. Why Use STP?Why Use STP? The Need for STP In a layer 2 switched network, while multiple links between devices provide protection against single points of failure, they also introduce physical loops in the network. Redundant links can cause a lot of problems, including: • Broadcast storms • Multiple copies of Ethernet frame • Thrashing of the MAC table STP prevents physical networking loops from occurring by identifying the redundant links in the network, and blocking some of them to create a loop-free logical topology. CCNA Project Report 4
  • 5. Spanning Tree TermsSpanning Tree Terms Root Bridge – the focal point of the network that influences all STP decisions Root Port – the port (on a nonroot bridge) used to reach the root bridge Designated Port – the port with the least advertised path cost to the root bridge CCNA Project Report 5
  • 6. Spanning Tree Terms (contd.)Spanning Tree Terms (contd.) Bridge ID – Priority + MAC Address, used to identify each switch in the network, default priority = 32,768 BPDU – Bridge Protocol Data Unit, used by switches to exchange STP information among themselves Path/Port Cost – determined by the bandwidth of a link CCNA Project Report 6
  • 7. Spanning Tree Operation (STA)Spanning Tree Operation (STA) Step 1: Electing a Root Bridge • Bridge Priority, Bridge ID, Root Bridge Step 2: Electing Root Ports • Path/Port Cost, Root Path Cost, Root Port Step 3: Electing Designated Ports • Path/Port Cost, Root Path Cost CCNA Project Report 8
  • 8. STP Port StatesSTP Port States Disabled – Administratively down Blocking – Receives BPDUs only Listening – Building active topology Learning – Building bridging table Forwarding – Building MAC table, sending/receiving user data CCNA Project Report 9
  • 9. STP TimersSTP Timers Hello Time – how often BPDUs are sent (default = 2 seconds) Max Age – maximum time to retain the received BPDU information (default = 20 seconds) Forward Delay – time to wait before transitioning from listening to learning state, and from learning to forwarding state (default = 15 seconds) CCNA Project Report 10
  • 10. STP VersionsSTP Versions Spanning Tree Protocol (IEEE 802.1d) Per VLAN Spanning Tree (PVST+) Rapid Spanning Tree Protocol, or RSTP (IEEE 802.1w) CCNA Project Report 11
  • 11. ThankYouThankYou Presented by: Premdeep S. Gill Roll# LU-0453-10 Batch# 100223 CCNA Project Report 12

Editor's Notes

  1. STP is a layer 2 protocol that is used to maintain a loop-free switched network. Its main task is to stop network loops from occurring on the layer 2 network. STP uses the Spanning Tree Algorithm (STA) to first create a topology database and then search out and disable redundant links. STP creates a tree structure of loop-free leaves and branches that spans the entire Layer 2 network.
  2. Layer 2 broadcast frames, such as Ethernet frames, do not have a TTL (Time To Live) field like the IP header. Once an Ethernet frame starts to loop, it will probably continue until someone shuts off one of the switches or breaks a link. Switching loops can occur any time there is a redundant path in the network. The switches will flip flop the MAC table entry for a connected device, resulting in a phenomenon known as Thrashing of the MAC Table, creating extremely high CPU utilization.
  3. - One Root Bridge Per Broadcast Domain - One Root Port Per Non-root Bridge - One Designated Port Per Segment - The switch with the lowest BID becomes the Root Bridge, which acts as the focal point of the network. All other switches in the network will be Non-root bridges, and will select a single path to the root bridge. The port with the best path (least path/port cost) to the root bridge is called the Root Port. - Bridge Identifier (BID) is used to identify each bridge/switch in the network. BID is 8 bytes long – Bridge Priority (2 bytes), Base MAC Address (6 bytes). It is used in determining the center of the network, in respect to STP, known as the Root Bridge. - Designated Port has the lowest advertised cost to reach the root bridge. It is always in forwarding mode.
  4. - Bridge Identifier (BID) is used to identify each bridge/switch in the network. BID is 8 bytes long – Bridge Priority (2 bytes), Base MAC Address (6 bytes). It is used in determining the center of the network, in respect to STP, known as the Root Bridge. - Bridge Protocol Data Unit (BPDU) are layer 2 frames exchanged between switches to determine the root bridge and subsequently the root and designated ports. - STP path costs are incremented as BPDUs are received on a port, not as they are sent out a port.
  5. If the Path Cost and Bridge IDs are equal (as in the case of parallel links), the switch goes to the Port Priority as a tiebreaker. Lowest port priority wins (all ports are set to 32). Port Priority can be set in the range 0 – 63. If all ports have the same priority, the port with the lowest Port Number forwards frames.
  6. Root Path Cost is the cumulative cost of all links to the root bridge. This is the value transmitted in the BPDU, indicated by the Cost of Path field. It is calculated by adding the receiving port’s Path Cost to the value contained in the BPDU. Each segment in a bridged network has one Designated Port, chosen based on cumulative Root Path Cost to the Root Bridge. The switch containing the designated port is referred to as the Designated Bridge for that segment. All other ports, which are not Root Ports or Designated Ports, become Non-Designated Ports, which are put in blocking mode.
  7. Disabled – No frames forwarded, no BPDUs heard Blocking – No frames forwarded, BPDUs heard Listening – No frames forwarded, listening for frames Learning – No frames forwarded, learning addresses Forwarding – Frames forwarded, learning addresses When a switch is first powered on, all the ports are in blocking mode. PortFast can be used for ports connected to end devices such as PCs or servers.
  8. Max Age Timer: Time to wait before transitioning to learning state if three BPDUs are missed (default = 20 seconds)
  9. STP 802.1d – Common Spanning Tree (CST), Mono Spanning Tree (MST) Cisco Enhancements (First Evolution) – Portfast, Uplink fast, Backbone fast Cisco Enhancements (Second Evolution) – PVST (ISL), PVST+ (ISL+802.1q), additional BPDU Guard & Root Guard, includes previous enhancements Cisco MISTP – Uses PVST+, includes previous enhancements, Catalyst 4000/6000 RSTP 802.1w – Edge Fast (Cisco Portfast), Uplink Fast RSTP (Cisco Uplink fast), Backbone Fast Engine (Cisco Backbone fast) MST (Multiple Spanning Tree) – 802.1s, uses RSTP