1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 7 Spanning-Tree Protocol Cisco Networking Academy.

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.
Communication Networks Recitation 3 Bridges & Spanning trees.
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)
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 STP STP A broadcast storm occurs when there are so many broadcast frames caught in a Layer 2 loop that all available.
1 Version 3 Module 8 Ethernet Switching. 2 Version 3 Ethernet Switching Ethernet is a shared media –One node can transmit data at a time More nodes increases.
Spanning Tree protocol- Chapter 5
Ch. 7 – Spanning Tree Protocol CCNA 3 version 3.0.
Spanning Tree Protocol
© 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.
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.
© 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 CS 4396 Computer Networks Lab LAN Switching and Bridges.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Implement Spanning Tree Protocols LAN Switching and Wireless – Chapter 5.
1 CISCO NETWORKING ACADEMY PROGRAM (CNAP) SEMESTER 1/ MODULE 8 Ethernet Switching.
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.
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.
Sybex CCNA Chapter 8: Layer-2 Switching Instructor & Todd Lammle.
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.
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.
Ch. 18/Mod. 7 Spanning Tree Protocol CCNA 3 version 3.0.
Module 8: Ethernet Switching
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.
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.
Configuring Cisco Switches Chapter 13 powered by DJ 1.
© Wiley Inc All Rights Reserved. CCNA: Cisco Certified Network Associate Study Guide CHAPTER 7: Layer 2 Switching.
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.
Sem1 - Module 8 Ethernet Switching. Shared media environments Shared media environment: –Occurs when multiple hosts have access to the same medium. –For.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 7 Spanning Tree Protocol.
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 © 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.
Spanning Tree protocol
Topic 5 Spanning tree protocol
CO5023 LAN Redundancy.
Copyright 2003 CCNA 3 Chapter 8 Spanning Tree Protocol By Your Name.
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
Spanning Tree Protocol
Instructor & Todd Lammle
Lecture#10: LAN Redundancy
Configuring Catalyst Switch Operations
Spanning Tree Protocol
© 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)
Presentation transcript:

1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 7 Spanning-Tree Protocol Cisco Networking Academy

222 © 2003, Cisco Systems, Inc. All rights reserved. Spanning-Tree Objectives Redundant Topologies Spanning-Tree Protocol

333 © 2003, Cisco Systems, Inc. All rights reserved. Redundancy Redundant networking topologies are designed to ensure that networks continue to function in the presence of single points of failure.

444 © 2003, Cisco Systems, Inc. All rights reserved. Redundant Topologies A goal of redundant topologies is to eliminate network outages caused by a single point of failure. All networks need redundancy for enhanced reliability. However, transparent bridging begins to have problems when redundant paths are added to the Layer 2 network.

555 © 2003, Cisco Systems, Inc. All rights reserved. Simple Redundant Switched Topology

666 © 2003, Cisco Systems, Inc. All rights reserved. Media Access Control Database Instability In a redundant switched network, it is possible for switches to learn the wrong information. A switch can learn that a MAC address is on a port when it is not. Unknown Unicast

777 © 2003, Cisco Systems, Inc. All rights reserved. Broadcast Storm 1/1 2/1 2/2 1/2 The process of continually propagating a broadcast is known as a broadcast storm which will eventually bring the network down when the switches’ processor utilization reaches 100%.

888 © 2003, Cisco Systems, Inc. All rights reserved. Using Bridging Loops for Redundancy

999 © 2003, Cisco Systems, Inc. All rights reserved. Spanning-Tree Protocol

10 © 2003, Cisco Systems, Inc. All rights reserved. L2 Loops Broadcasts and Layer 2 loops can be a dangerous combination. Ethernet frames have no TTL field. After an Ethernet frame starts to loop, it will probably continue until someone shuts off one of the switches or breaks a link. Ethernet switches associate the source MAC in the Layer 2 header with the a port number

11 © 2003, Cisco Systems, Inc. All rights reserved. Spanning-Tree Protocol (STP) STP is a loop-prevention protocol. allows L2 devices to communicate with each other to discover physical loops in the network. specifies an algorithm that L2 devices can use to create a loop-free logical topology. creates a tree structure of loop-free leaves and branches that spans the entire Layer 2 network.

12 © 2003, Cisco Systems, Inc. All rights reserved. STP Prevents Loops The purpose of STP is to avoid and eliminate loops in the network by negotiating a loop-free path through a root bridge. STP determines where the are loops and blocks links that are redundant. –Ensures that there will be only one active path to every destination.

13 © 2003, Cisco Systems, Inc. All rights reserved. Spanning-Tree Algorithm STP executes an algorithm called STA (Spanning-Tree Algorithm). STA chooses a reference point, called a root bridge, and then determines the available paths to that reference point. –If more than two paths exists, STA picks the best path and blocks the rest. –How does STP learn the network topology?

14 © 2003, Cisco Systems, Inc. All rights reserved. Spanning-Tree BPDUs All switches using STP must exchange Bridge Protocol Data Units with other switches. Sent every 2 seconds on every active port.

15 © 2003, Cisco Systems, Inc. All rights reserved. BPDUs The exchange of BPDU messages results in the following: –The election of a root switch –The election of a designated switch for every switched segment –The removal of loops in the switched network by placing redundant switch ports in a backup state

16 © 2003, Cisco Systems, Inc. All rights reserved. BPDUs Bridge protocol data unit (BPDU)

17 © 2003, Cisco Systems, Inc. All rights reserved. Bridge ID

18 © 2003, Cisco Systems, Inc. All rights reserved. Bridge ID Consists of two components: 1.A 2-byte priority: Cisco switch defaults to 32,768 or 0x A 6-byte MAC address Used to elect a root bridge. Lowest Bridge ID is the root. If all devices have the same priority, the bridge with the lowest MAC address becomes the root bridge -- Yikes!!!

19 © 2003, Cisco Systems, Inc. All rights reserved. Spanning-Tree Operation 802.1d One root bridge per network. One root port per nonroot bridge. One designated port per segment. Nondesignated ports are unused.

20 © 2003, Cisco Systems, Inc. All rights reserved. Root Port Root Port: The port receiving the best BPDU on a bridge is the root port. –This is the port that is the closest to the root bridge in terms of path cost –The root bridge sends BPDUs that are more useful than the ones that any other bridge can send. –The root bridge is the only bridge in the network that does not have a root port.

21 © 2003, Cisco Systems, Inc. All rights reserved. Designated Port A port is designated if it can send the best BPDU on the segment to which it is connected. On a given segment, there can be only one path toward the root bridge otherwise redundant paths would create a bridging loop. –All bridges connected to a given segment listen to each other's BPDUs and agree on the bridge sending the best BPDU as the designated bridge for the segment.

22 © 2003, Cisco Systems, Inc. All rights reserved. Spanning-Tree Example

23 © 2003, Cisco Systems, Inc. All rights reserved. Spanning-Tree Link Costs Shortest path is based on cumulative link costs. Link costs are based on the speed of the link.

24 © 2003, Cisco Systems, Inc. All rights reserved. Spanning-Tree Port States These values have been calculated on an assumption that there will be a maximum of seven switches (diameter of seven) in any branch of the spanning tree from the root bridge.

25 © 2003, Cisco Systems, Inc. All rights reserved. Spanning-Tree Port States The Max Age allows topology change information to propagate from one side of the network to the other. In the listening state, switches determine if there are any other paths to the root bridge and path cost is compared. In the learning state user data is not forwarded, but MAC addresses are learned from any traffic that is seen. In the forwarding state user data is forwarded and MAC addresses continue to be learned.

26 © 2003, Cisco Systems, Inc. All rights reserved. Spanning-Tree Recalculation A switched internetwork has converged when all the switch and bridge ports are in either the forwarding or blocked state. Convergence on a new spanning-tree topology using the IEEE 802.1D standard can take up to 50 seconds. Root port

27 © 2003, Cisco Systems, Inc. All rights reserved. Spanning-Tree Recalculation During the time that the Layer 2 network is converging, MAC addresses that can no longer be reached still exist in the CAM table. STP topology change process forces the switch to purge MAC addresses in the CAM table faster. When a root bridge sends out a topology change BPDU the topology change is set to a period of time equal to the sum of the max age and fwd delay timers (50 seconds). A switch receiving the topology change BPDU uses the fwd delay timer (15 seconds) to age out entries in its MAC address table – the default time is five minutes.

28 © 2003, Cisco Systems, Inc. All rights reserved. Rapid Spanning-Tree Protocol (RST) The IEEE 802.1w LAN standard and protocol introduce the following: 1.Clarification of new port states and roles 2.Definition of a set of link types that can go to forwarding state rapidly 3.Allowing switches, in a converged network, to generate their own BPDUs rather than relaying root bridge BPDUs

29 © 2003, Cisco Systems, Inc. All rights reserved. Rapid Spanning-Tree According to the 802.1w standard: 1.The “blocked” state of a port has been renamed as the “discarding” state. 2.A role of a discarding port is an “alternate port”. 3.The discarding port can become the “designated port” in the event of the failure of the designated port for the segment. 4.Link types have been defined as point-to-point, edge-type, and shared.

30 © 2003, Cisco Systems, Inc. All rights reserved. Alternate and Backup Ports These two port roles correspond to the blocking state of 802.1d (discarding MACs). –A blocked port is defined as not being the designated or root port. –A blocked port receives a more useful BPDU than the one it would send out on its segment. An alternate port is a port blocked by receiving more useful BPDUs from another bridge. A backup port is a port blocked by receiving more useful BPDUs from the same bridge it is on.

31 © 2003, Cisco Systems, Inc. All rights reserved. Alternate and Backup Ports

32 © 2003, Cisco Systems, Inc. All rights reserved. New BPDU Format BPDU are sent every hello-time, and not simply relayed anymore. With 802.1d, a non-root bridge would only generate BPDUs when it received one on its root port. –Actually, every bridge only relays the root bridge’s BPDU –With 802.1w, every bridge generates it’s own BPDU even if it does not receive one from the root bridge. The Rapid Spanning-Tree Protocol, IEEE 802.1w, will eventually replace the Spanning-Tree Protocol, IEEE 802.1D.

33 © 2003, Cisco Systems, Inc. All rights reserved. Rapid Spanning-Tree Port Designations The Rapid Spanning Tree Protocol, IEEE 802.1w, will eventually replace the Spanning Tree Protocol, IEEE 802.1D.