1 Spanning Tree Protocol EE 122: Intro to Communication Networks Fall 2007 (WF 4-5:30 in Cory 277) Vern Paxson TAs: Lisa Fowler, Daniel Killebrew & Jorge.

Slides:



Advertisements
Similar presentations
CCNA3 v3 Module 7 v3 CCNA 3 Module 7 JEOPARDY K. Martin.
Advertisements

112/04/2015 Tim Moors Example of the bridge process a b c Stations a, b, c, d are spread about. 1.Bridge tables are initially empty. 2.a sends to d. Flood.
Communication Networks Recitation 3 Bridges & Spanning trees.
University of Calgary – CPSC 441.  We need to break down big networks to sub-LANs  Limited amount of supportable traffic: on single LAN, all stations.
Fundamentals of Computer Networks ECE 478/578 Lecture #13: Packet Switching (2) Instructor: Loukas Lazos Dept of Electrical and Computer Engineering University.
Connecting LANs: Section Figure 15.1 Five categories of connecting devices.
CSE 534 Fundamentals of Computer Networks Lecture 4: Bridging (From Hub to Switch by Way of Tree) Based on slides from D. Choffnes Northeastern U. Revised.
CS 4700 / CS 5700 Network Fundamentals Lecture 7: Bridging (From Hub to Switch by Way of Tree) Revised 1/14/13.
CPSC 441 TUTORIAL TA: FANG WANG HUBS, SWITCHES AND BRIDGES Parts of the slides contents are courtesy of the following people: Jim Kurose, Keith Ross:
1 CCNA 3 v3.1 Module 7. 2 CCNA 3 Module 7 Spanning Tree Protocol (STP)
Spanning Tree Protocol STP STP A broadcast storm occurs when there are so many broadcast frames caught in a Layer 2 loop that all available.
Dec 6, 2007CS573: Network Protocols and Standards1 Transparent Bridging Network Protocols and Standards Winter
Making bigger LANs out of small ones What technology is available to us for connecting small LANs together into larger ones?
Autumn 2000John Kristoff1 Computer Networks LAN Bridges and Switches.
Spring 2000John Kristoff1 LAN Bridges and Switches Computer Networks.
Sept 14, 2004CS573: Network Protocols and Standards1 Spanning Tree Algorithm Network Protocols and Standards Autumn
TDC365 Spring 2001John Kristoff - DePaul University1 Interconnection Technologies Bridging II.
CSE390 Advanced Computer Networks Lecture 7: Bridging (From Hub to Switch by Way of Tree) Based on slides from D. Choffnes Northeastern U. Revised Fall.
Introduction to Computer Networks 09/23 Presenter: Fatemah Panahi.
© 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.
1 Computer Networks LAN Bridges and Switches. 2 Where are we?
Layer 2 Switching. Overview Introduction Spanning Tree Protocol Spanning Tree Terms Spanning Tree Operations LAN Switch Types Configuring Switches.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 2: LAN Redundancy Scaling Networks.
MESH Implementation With AP5131 version R.
© 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.
CSC 336 Data Communications and Networking Lecture 7d: Interconnecting LAN Dr. Cheer-Sun Yang Spring 2001.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 7 Spanning-Tree Protocol Cisco Networking Academy.
Saeed Darvish Pazoki – MCSE, CCNA Abstracted From: Cisco Press – ICND 2 – Chapter 2 Spanning tree Protocol 1.
© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved. © The McGraw-Hill Companies, Inc. Extending LANs Asst. Prof. Chaiporn Jaikaeo,
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.
1 Spanning Tree Algorithm Advanced Computer Networks.
15.1 Chapter 15 Connecting LANs, Backbone Networks, and Virtual LANs Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 LAN Switching and Wireless Implement Spanning Tree Protocols (STP) Chapter.
Steffen/Stettler, , 4-SpanningTree.pptx 1 Computernetze 1 (CN1) 4 Spanning Tree Protokoll 802.1D-2004 Prof. Dr. Andreas Steffen Institute for.
1 Transparent Bridging Advanced Computer Networks.
Cisco 3 – Switching STP Perrine. J Page 110/19/2015 Chapter 8 Spanning Tree Protocol (STP) Having redundancy in a network is important, and allows the.
Computer Networks 15-1 Chapter 15. Connecting LANs, Backbone Networks, and Virtual LANs 15.1 Connecting devices 15.2 Backbone networks 15.3 Virtual LANs.
1 Data Link Layer Lecture 23 Imran Ahmed University of Management & Technology.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 7 Spanning Tree Protocol.
M. Veeraraghavan (originals by J. Liebeherr) 1 Need for Routing in Ethernet switched networks What do bridges do if some LANs are reachable only in multiple.
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.
Chapter 16 Connecting LANs, Backbone Networks, and Virtual LANs
5: DataLink Layer 5a-1 Bridges and spanning tree protocol Reference: Mainly Peterson-Davie.
Ch. 15 Connecting LANs.
Copyright 2003 CCNA 3 Chapter 8 Spanning Tree Protocol By Your Name.
© 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.
Sender frame Receiver datagram frame Adapter Link layer protocol.
Chapter 16– Connecting LANs
Instructor Materials Chapter 3: STP
Spanning Tree Protocol
Lab 2 – Hub/Switch Data Link Layer
Spanning Tree Algorithm
Chapter 3 Part 1 Switching and Bridging
Lab 2 – Hub/Switch Data Link Layer
Lecture#10: LAN Redundancy
Configuring Catalyst Switch Operations
Spanning Tree Protocol
© 2002, Cisco Systems, Inc. All rights reserved.
Spanning Tree Protocol
LAN switching and Bridges
NT2640 Unit 9 Activity 1 Handout
Connecting LANs, Backbone Networks,
Chapter 16 Connecting LANs, Backbone Networks, and Virtual LANs
LAN switching and Bridges
Chapter 15. Connecting Devices
Presentation transcript:

1 Spanning Tree Protocol EE 122: Intro to Communication Networks Fall 2007 (WF 4-5:30 in Cory 277) Vern Paxson TAs: Lisa Fowler, Daniel Killebrew & Jorge Ortiz Slides by Lisa Fowler

2 Overview Networks need redundancy –Provide redundant paths between end stations to enable the Bridged LAN to continue to provide the Service in the event of component failure (of bridge or segment) Loops can cause major problems –Ethernet does not provide any notion like TTL in order to eventually remove looping frames Reduce bridge topology to a single spanning tree –Trees have no cycles  loop-free –Automatically reconfigure the spanning tree in a reproducible and predictable manner

3 Bridge 1 Bridge 5 Bridge 2 Bridge 4 Bridge 3 LAN A LAN B LAN C LAN D Network Diagram

4 Bridge 1 Bridge 5 Bridge 2 Bridge 4 Bridge 3 A B C D Each bridge has a unique Bridge ID = unique device ID + priority number Within each bridge, each port has a unique ID Spanning Tree Protocol Required Elements

5 Assign a cost to the segments between any two bridges (can be custom, unlike in lecture, where we used uniform cost) Bridge 1 Bridge 5 Bridge 2 Bridge 4 Bridge 3 A B C D Bridge 1 Bridge 5 Bridge 2 Bridge 4 Bridge 3 cBcB cCcC cDcD cDcD cDcD cCcC cCcC cAcA cAcA cAcA Spanning Tree Protocol Required Elements

Elect a root bridge a)Compare Bridge ID (compare priority number then compare unique ID) 2.Each bridge selects a root port: the port with the least cost path to the root Bridge 1 Bridge 5 Bridge 2 Bridge 4 Bridge 3 A B C D Bridge 1 Bridge 5 Bridge 2 Bridge 4 Bridge 3 cBcB cCcC cDcD cDcD cDcD cCcC cCcC cAcA cAcA cAcA Costs c A c B - 19 c C - 4 c D Bridge 1 Spanning Tree Protocol

Each bridge selects a root port: the port with the least cost path to the root a)Break ties by picking neighbor w/ lowest ID Bridge 1 Bridge 5 Bridge 2 Bridge 4 Bridge 3 A B C D Bridge 1 Bridge 5 Bridge 2 Bridge 4 Bridge 3 cBcB cCcC cDcD cCcC cAcA Bridge 1 Costs c A c B - 19 c C - 4 c D Bridge Root Port Spanning Tree Protocol

All bridges on the network segment collectively determine least cost path from network segment to root a)The port that connects the network segment to the bridge that provides this path is called the designated port Bridge 1 Bridge 5 Bridge 2 Bridge 4 Bridge 3 A B C D Bridge 1 Bridge 5 Bridge 2 Bridge 4 Bridge 3 cBcB cCcC cDcD cAcA Costs c A c B - 19 c C - 4 c D Bridge 1 Bridge Root Port Desgn. Port Bridge Root Port Desgn. Port 11, Spanning Tree Protocol

9 Bridge Root Port Desgn. Port 11, Bridge Root Port Desgn. Port 11, a)The port that connects the network segment to the bridge that provides this path is called the designated port i.Break ties by picking bridge w/ lowest ID Bridge 1 Bridge 5 Bridge 2 Bridge 4 Bridge 3 A B C D Bridge 1 Bridge 5 Bridge 2 Bridge 4 Bridge 3 cBcB cCcC cDcD cAcA Costs c A c B - 19 c C - 4 c D Bridge 1 Spanning Tree Protocol

10 Bridge 1 Bridge 5 Bridge 2 Bridge 4 Bridge 3 A B C D 4.If there’s still a tie for any of the above, pick the lowest port # Bridge Root Port Desgn. Port 11, Bridge Root Port Desgn. Port 11, Costs c A c B - 19 c C - 4 c D Spanning Tree Protocol

11 Bridge 1 Bridge 5 Bridge 2 Bridge 4 Bridge 3 A B C D 5.Now any time frames require broadcasting, a bridge only accepts them from a designated or a root port … 6.… and only floods to other root or designated ports Bridge Root Port Desgn. Port 11, Bridge Root Port Desgn. Port 11, Costs c A c B - 19 c C - 4 c D Spanning Tree Protocol