Spanning Tree Protocol (STP)

Slides:



Advertisements
Similar presentations
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 2: LAN Redundancy Scaling Networks.
Advertisements

CCNA3 v3 Module 7 v3 CCNA 3 Module 7 JEOPARDY K. Martin.
Part 2: Preventing Loops in the Network
Spanning Tree Protocol
SPANNING TREE PROTOCOL (STP) VARIANTS Rapid Spanning Tree Protocol (RSTP) -The reason behind the word «rapid» Multiple Spanning Tree Protocol (MSTP)
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Implement VTP LAN Switching and Wireless – Chapter 4.
1 CCNA 3 v3.1 Module 7. 2 CCNA 3 Module 7 Spanning Tree Protocol (STP)
STP Spanning tree protocol. Trunk port : A trunk port is a port that is assigned to carry traffic for all the VLANs that are accessible by a specific.
Spanning Tree protocol- Chapter 5
© 2009 Cisco Systems, Inc. All rights reserved. SWITCH v1.0—3-1 Implementing Spanning Tree Describing STP Stability Mechanisms.
© 2009 Cisco Systems, Inc. All rights reserved. SWITCH v1.0—3-1 Implementing Spanning Tree Spanning Tree Protocol Enhancements.
© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—1-1 Configuring Catalyst Switch Operations Introducing Spanning Tree Protocol.
LOGO Local Area Network (LAN) Layer 2 Switching and Virtual LANs (VLANs) Local Area Network (LAN) Layer 2 Switching and Virtual LANs (VLANs) Chapter 6.
Layer 2 Switch  Layer 2 Switching is hardware based.  Uses the host's Media Access Control (MAC) address.  Uses Application Specific Integrated Circuits.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 2: LAN Redundancy Scaling Networks.
STP Part II PVST (Per Vlan Spanning Tree): A Vlan field is added to the BPDU header along with Priority & Mac. Priority is 32768, Mac Address is MAC or.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 2: LAN Redundancy Scaling Networks.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.1 Module 7 Spanning Tree Protocol.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Lecture 12: LAN Redundancy Switched Networks Assistant Professor Pongpisit.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 7 Spanning-Tree Protocol Cisco Networking Academy.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Implement Spanning Tree Protocols LAN Switching and Wireless – Chapter 5.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Implement Spanning Tree Protocols LAN Switching and Wireless – Chapter 5.
Saeed Darvish Pazoki – MCSE, CCNA Abstracted From: Cisco Press – ICND 2 – Chapter 2 Spanning tree Protocol 1.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Implement Spanning Tree Protocols LAN Switching and Wireless – Chapter 5.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Implement Spanning Tree Protocols LAN Switching and Wireless – Chapter 5 Part.
CS 350 Chapter-11Switching. Switching Service Hardware-based bridging (ASIC: application-specific integrated circuits) Wire speed Low latency Low cost.
Author: Bill Buchanan. Transparent bridge Author: Bill Buchanan CAM.
Cisco 3 - Switch Perrine. J Page 110/3/2015 Chapter 7 How does STP provide a loop-free network? 1.By placing all ports in the blocking state 2.By placing.
Instructor & Todd Lammle
Example STP runs on bridges and switches that are 802.1D-compliant. There are different flavors of STP, but 802.1D is the most popular and widely implemented.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 LAN Switching and Wireless Implement Spanning Tree Protocols (STP) Chapter.
LOGO Local Area Network (LAN) Layer 2 Switching and Virtual LANs (VLANs) Local Area Network (LAN) Layer 2 Switching and Virtual LANs (VLANs) Chapter 6.
S7C5 – Spanning Tree Protocol And other topics. Switch Port Aggregation Bundling –Combining 2 to 8 links of FE (Fast Ethernet) or GE (Gigabit) Full duplex.
Routing, VLANs and Network Segmentation. Nick Rowlett Technology Director – Sparta Schools Cisco Certified Network Administrator Microsoft Certified System.
Instructor & Todd Lammle
Spanning Tree V1.2 Slide 1 of 1 Purpose:
STP LAN Redundancy Introduction Network redundancy is a key to maintaining network reliability. Multiple physical links between devices provide redundant.
Switching Topic 6 Rapid spanning tree protocol. Agenda RSTP features – Port states – Port roles – BPDU format – Edge ports and link types – Proposals.
1 Version 3.0 Module 7 Spanning Tree Protocol. 2 Version 3.0 Redundancy Redundancy in a network is needed in case there is loss of connectivity in one.
CCNP 3: Chapter 3 Implementing Spanning Tree. Overview Basics of implementing STP Election of Root Bridge and Backup Enhancing STP RSTP MSTP EtherChannels.
Spanning Tree protocol
Topic 5 Spanning tree protocol
CO5023 LAN Redundancy.
Lecture3 Secured Network Design W.Lilakiatsakun.  Spanning Tree Protocol (STP)  Attack on Spanning Tree Protocol Topics.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Implement Spanning Tree Protocols (STP) LAN Switching and Wireless – Chapter.
Chapter-5 STP. Introduction Examine a redundant design In a hierarchical design, redundancy is achieved at the distribution and core layers through additional.
Exploration 3 Chapter 5. Redundancy in Switched Networks Switches learn the MAC addresses of devices on their ports so that data can be properly forwarded.
Instructor Materials Chapter 3: STP
Implement Spanning Tree Protocols
Spanning Tree Protocol
Pass4itsure Cisco Dumps
CIT 384: Network Administration
Implementing Spanning Tree Protocol
Implement Spanning Tree Protocols
Topic: Spanning Tree Protocol
Spanning Tree Protocols
Instructor & Todd Lammle
Lecture#10: LAN Redundancy
Configuring Catalyst Switch Operations
Spanning Tree Protocol
Implement Spanning Tree Protocols
© 2002, Cisco Systems, Inc. All rights reserved.
Spanning Tree Protocol
NT2640 Unit 9 Activity 1 Handout
Connecting LANs, Backbone Networks,
STP – Spanning Tree Protocol A closer look
Spanning Tree Protocol (STP) An Introduction
CCNA Routing and Switching Scaling Networks v6.0
Cisco networking CNET-448
Implement Spanning Tree Protocols
Presentation transcript:

Spanning Tree Protocol (STP) What STP is, why do we need it, and how to configure STP (properly) Frank Olshansky – Frank_Olshansky@iu13.org

Introduction to the Spanning Tree Protocol Also known as STP Developed in 1990 IEEE 802.1D standard

Why do we need STP STP was developed to allow for redundancy between switches and to prevent Layer 2 loops No Layer 2 equivalent of Time To Live (TTL) If there was no STP: Broadcast Storms Unstable MAC address table Multiple copies of same frame

Without STP 2 1 3

Without STP 2 1 3

Without STP 2 1 3

Without STP 2 1 3

Without STP 2 1 3

Without STP 2 1 3

What STP does 2 1 3

What STP does 2 1 3

What STP does 2 1 3

Root bridge STP elects a single root bridge for the network The root bridge is selected through an election process, and the switch that wins is the switch with the lowest Bridge ID (BID) The bridge ID is an 8 byte field 2 byte bridge priority 0-61440 32768 is the default 6 byte MAC address of the switch

Bridge Protocol Data Unit (BPDU) Frames that contain information about STP Sent as multicast to 01:80:C2:00:00:00 Configuration BPDUs are sent every 2 seconds by default Three types Configuration BPDU: Provides information to all switches. TCN (Topology Change Notification): Lets switches know about changes in the STP topology. TCA (Topology Change Acknowledgment): Acknowledges TCN.

Bridge Protocol Data Unit (BPDU)

STP port states Root Port – Port on a non-root bridge that is closest to the root bridge, according to STP port cost Designated Port – The port on a network link that is closest to the root bridge, according to STP port cost Note: Every network link has a designated port Non-designated port – Port that is blocked by STP, so that a loop-free Layer 2 topology is maintained Disabled port – A port that is administratively down

STP port costs 10 Mbps = 100 100 Mbps = 19 1 Gbps = 4 10 Gbps = 2

Bridge Protocol Data Unit (BPDU)

STP port states 2 1 3

STP convergence times When primary link to root bridge down, it takes 50 seconds for the switch to transition to the backup link The switch links go through the following states: Blocking – Switch listens for BPDUs from root 20 seconds Listening – Listens to any BPDUs arriving on any interfaces 15 seconds Learning – Populating MAC address table Forwarding

STP Flavors Common Spanning Tree (CST) – One spanning tree topology for all of the VLANs Per-VLAN Spanning Tree plus (PVST+) – One spanning tree topology per VLAN; Cisco proprietary PVST – Over ISL trunk PVST+ – Over an 802.1Q trunk Multiple Spanning Trees (MST) – One spanning tree topology for one or multiple vlans IEEE 802.1s

STP Flavors The bridge ID is an 8 byte field 2 byte bridge priority 0-61440 32768 is the default 6 byte MAC address of the switch With PVST+ and MST, the bridge priority field is split 4 bit bridge priority Increments of 4096 12 bit extended system id 1 to 4095 corresponding to the VLAN

Rapid Spanning Tree Protocol Spanning tree topology convergence is much quicker Convergence time goes from 50 seconds to 3 seconds

Rapid Spanning Tree Port Roles Root port – Same as root STP port state in STP Port on a non-root bridge that is closest to the root bridge, according to STP port cost Designated Port – Same as designated port state in STP The port on a network link that is closest to the root bridge, according to STP port cost Note: Every network link has a designated port Disabled Port – Same as disabled port state in STP A port that is administratively down

Rapid Spanning Tree Port Roles No such thing as non-designated ports Alternate Port – Port that STP blocks, so that a loop-free Layer 2 topology is maintained Can be changed to a designated port very quickly Backup port – Only occurs when there are two connections going into a hub

Rapid Spanning Tree Port States Disabled – Data is not forwarded on port Disabled ports, Backup ports, and Alternate ports Learning – Switch is learning MAC addresses through port Seen when port is transitioning from disabled to forwarding Forwarding – Data is being forwarded on port Root and Designated ports

Rapid Spanning Tree Link Types Point-to-Point – Inter-switch connections Shared – Link going from a switch to a hub Edge – Link going from switch to an edge device

Spanning Tree “Optional” Features PortFast Allows a switch port to go into forwarding state almost immediately Configured on ports connecting to endpoints Can set it up by default or on a per-interface basis Turned off on trunk ports

Spanning Tree “Optional” Features BPDU Guard Causes a port to go into an error disabled state if a BPDU is received on that port Can be enabled by default or on a per interface basis Should be configured on any port that should not be connecting to other switches

Questions?