SPANNING TREE PROTOCOL (STP) VARIANTS Rapid Spanning Tree Protocol (RSTP) -The reason behind the word «rapid» Multiple Spanning Tree Protocol (MSTP)

Slides:



Advertisements
Similar presentations
BUDAPEST UNIVERSITY OF TECHNOLOGY AND ECONOMICS Budapest University of Technology and Economics Verification of RSTP Convergence and Scalability by Measurements.
Advertisements

© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 2: LAN Redundancy Scaling Networks.
Part 2: Preventing Loops in the Network
Spanning Tree Protocol
IEEE 802.1D: Spanning Tree Algorithm and the Filtering Database Ben Schultz Bridge Functions Consortium UNH InterOperability Lab July, 2000.
Bridging. Bridge Functions To extend size of LANs either geographically or in terms number of users. − Protocols that include collisions can be performed.
Request For Proposal (RFP) A request for proposal (RFP) is a solicitation made, often through a bidding process, by an agency or company interested in.
1 CCNA 3 v3.1 Module 7. 2 CCNA 3 Module 7 Spanning Tree Protocol (STP)
Part III Working with Redundant Links
Sept 21, 2004CS573: Network Protocols and Standards1 Reconfigurations Network Protocols and Standards Autumn
© 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.
MUSE Winter School 2006 BE M Traffic Engineering in Ethernet-based Access Networks MUSE Winter School BB Europe Geneva December 11.
Spanning Tree Protocol
© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—1-1 Configuring Catalyst Switch Operations Introducing Spanning Tree Protocol.
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.
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.
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.
Spanning Tree Protocol Cisco Networking Academy Program © Cisco Systems, Inc Spanning Tree Protocol.
© 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.
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.
Switching Basics and Intermediate Routing CCNA 3 Chapter 7.
OSI Model. Switches point to point bridges two types store & forward = entire frame received the decision made, and can handle frames with errors cut-through.
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.
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 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 7 Spanning Tree Protocol.
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.
Implementing MST on a Large Campus Implementing MST in a Large Campus Environment February 13, 2007 Rich Ingram
Spanning Tree protocol
Topic 5 Spanning tree protocol
CO5023 LAN Redundancy.
Copyright 2003 CCNA 3 Chapter 8 Spanning Tree Protocol By Your Name.
1 Chapter 3: Packet Switching (Switched LANs) Dr. Rocky K. C. Chang 23 February 2004.
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
CIT 384: Network Administration
Implement Spanning Tree Protocols
Topic: Spanning Tree Protocol
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
CCNA Routing and Switching Scaling Networks v6.0
Spanning Tree Protocol (STP)
Cisco networking CNET-448
Implement Spanning Tree Protocols
Presentation transcript:

SPANNING TREE PROTOCOL (STP) VARIANTS Rapid Spanning Tree Protocol (RSTP) -The reason behind the word «rapid» Multiple Spanning Tree Protocol (MSTP)

Introduction Spanning Tree Protocol (STP) developed in the late 80s Later standardized by IEEE (IEEE-802.1D, 1990) Switches and Bridges do not age-out packets Loops in the network -> frames may live forever -> congestion STP prevents loops allowing redundant connections But STP is too slow After a failure -> recovery time seconds Rapid Spanning Tree Protocol is an improved and faster version Preserves the basic concepts of STP Also standardized (IEEE-802.1W) In IEEE-802.1D from 2004 STP has been suppressed

Tree Topology Spanning Tree can be thought of a tree: Root -> Root Bridge Branches -> LANs and Designated Switches Leaves -> End nodes No disconnected parts No loops Only one path from leaf to leaf

Root and Designated Bridges Both STP and RSTP use Root and Designated Bridges Root bridge -> from which all branches spring There is only one Any switch could be the Root (Bridge ID) Designated bridge -> traffic from the Root to any link Only one Designated bridge per link No loops The Root bridge is the Designated bridge for all links connected to it

Port Roles – STP (I) Three types of ports in STP Root port: closest to the Root bridge (path cost) Designated port: connectivity in the direction away from the Root Sends the best Bridge Protocol Data Unit (BPDU) on the segment it is connected Blocking port: disables redundant links Do not forward data Prevents loops

Port Roles – STP (II)

Port Roles – RSTP (I) Maintains Root and Designated ports Splits Blocking port into two (do not forward data): Alternate port Provides redundant connection to the Root bridge May become a new Root port Backup port Connected to the same LAN segment as a Designated port Or two ports are connected together in a loopback Edge ports Connected directly to end stations -> cannot create loops Do not follow regular states

Port Roles – RSTP (I)

Port States – STP (I) 5 states Disabled: not receiving or transmitting any data Blocking: enabled and listen for BPDU messages Listening: not forwarding data, but listening and sending BPDU messages Learning: preparing to forward data -> building up forwarding table Forwarding: forwards data Duration of listening and learning states is 15 seconds by default (forwarding delay timer)

Port States – STP (II)

Port States – RSTP RSTP has only 3 port states Forwarding: forwards data and learns MAC addresses Learning: does not forward data, but learns MACs Discarding: does not forward data and does not learn MACs

BPDUs Bridge Protocol Data Units (BPDUs) to learn and exchange information STP uses two BPDUs Configuration BPDUs: from Root every hello time (typically 2 seconds) Other bridges forward on Designated ports Topology Change (TCN) BPDUs: from the bridge that detected a change to the Root Root answers setting a Topology Change (TC) flag A bridge receiving a BPDU with a TC flag -> switches aging time to short RSTP uses one BPDU All the bridges Includes TC flag, role and state of the port and flags for handshake

Filtering Database Aging Database of MAC-to-port entries STP Bridge detecting a topology change do not flush its filtering database Send a TCN BPDU to Root The Root responds with the TC flag activated Bridges wait the aging timer before removing entries from database RSTP Switches detecting a topology change send a BPDU with TC flag Purges old entries Every switch receiving the BPDU purges old entries

«Keep-alive» BPDUs STP bridges do not generate BPDUs (unless failures) Receive them on Root port and forward them on Designated ports If no BPDU is received in a “max age time” (default 20 seconds) the Root is declared dead The bridge assumes to be the Root and starts from the beginning RSTP bridges send BPDUs every “hello time” If no BPDU is received in three “hello times” -> connection is lost Immediately assumes it is the new Root or Alternate ports can move to Forwarding state without delay

RSTP Behavior RSTP does not relies on timers: Monitors MAC operational states and retires ports Processes inferior BPDUs (STP discards them) If a Root port fails, an Alternate port can be put into operation without delay If bridges are connected via point-to-point links, handshake is used to transition a Designated port to Forwarding state

Example

Example (II) – STP Case 222 and 444 wait max age timer (default 20 seconds) before deciding connection to the Root is broken 444 ages out information -> path to Root through port 02 -> advertises to 222 through port ’s port 02 is new Root port -> port 01 is Designated port Both ports must move through listening and learning states -> other switches agree -> 30 seconds (15 each) 222 makes port 03 a new root port -> transition through listening and learning Total time: = 50 seconds

Example (III) –RSTP Case 222 loses connection to Root -> decides it is the new Root 444 recognizes BPDUs from 222 as inferior -> connection to Root through 222 is broken 444’s Alternate port 02 is immediately placed in Forwarding state 444’s port 01 is set as Designated port -> advertises new path to the Root to accepts and makes port 03 Root port 444 performs a handshake (“sync operation) with 222 to transition port 01 to Forwarding state No timers

Multiple Spanning Tree Protocol (I) MSTP is based on RSTP and aims at A more balanced load across the network Failures only affect a region of the network The network is divided in regions (MST regions): Internal Spanning Tree (IST) Spanning Tree within a region Can communicate with other regions Multiple Spanning Tree Instance (MSTIn) Spanning Trees within a region Cannot communicate with other regions Multiple VLANs could be mapped to a Spanning Tree Instance

Multiple Spanning Tree Protocol (II) MST regions are interconnected using a Common Spanning Tree (CST) Using one Regional Root Bridge The Common Internal Spanning Tree is comprised of: The CST connecting all regions The IST providing connectivity inside each region MST regions are seen as “big bridges” (pseudobridge or superbridge) by CST Allows separated management of the regions No change in internal topologies is influenced or produced by outside region changes

Multiple Spanning Tree Protocol (III)

References W. Wojdak, “Rapid Spanning Tree Protocol: A New Solution from an old Technology”, CompactPCI Systems Magazine, Telecom Special Feature, March 2003 G. Prytz, “Redundancy in Industrial Ethernet Networks”, IEEE International Workshop on Factory Communication Systems, 2006 Cisco White Paper, “Understanding Spanning-Tree Protocol, Cisco Systems Inc., 1997 Cisco White Paper, “Understanding Rapid Spanning Tree Protocol”, Cisco Systems Inc., 2006 G. Ibanez, A. Garcia, A. Azcorra, “Alternative Multiple Spanning Tree Protocol (AMSTP) for Optical Ethernet Backones”, Proc. of LCN’04, November 2004