Objectives. The Role of Redundancy in a Switched Network. Layer 2 Loops. Broadcast Storms. More problems with Layer 2 loops



Similar documents
Objectives. Explain the Role of Redundancy in a Converged Switched Network. Explain the Role of Redundancy in a Converged Switched Network

CHAPTER 10 LAN REDUNDANCY. Scaling Networks

Switching in an Enterprise Network

The ABCs of Spanning Tree Protocol

- Spanning Tree Protocol -

AlliedWare Plus OS How To Configure interoperation between PVST+ and RSTP or MSTP

June Bridge & Switch. Pietro Nicoletti Piero[at]studioreti.it. Bridge-Switch-Engl - 1 P. Nicoletti: see note pag. 2

Fundamentals of Switching

Chapter 3. Enterprise Campus Network Design

Management Software. Web Browser User s Guide AT-S106. For the AT-GS950/48 Gigabit Ethernet Smart Switch. Version Rev.

Howstuffworks "How LAN Switches Work" Click here to go back to the normal view!

How To Switch In Sonicos Enhanced (Sonicwall) On A 2400Mmi 2400Mm2 (Solarwall Nametra) (Soulwall 2400Mm1) (Network) (

Abstract. MEP; Reviewed: GAK 10/17/2005. Solution & Interoperability Test Lab Application Notes 2005 Avaya Inc. All Rights Reserved.

CHAPTER 6 DESIGNING A NETWORK TOPOLOGY

Fast Fault Recovery in Switched Networks for Carrying IP Telephony Traffic

BLADE PVST+ Spanning Tree and Interoperability with Cisco

RESILIENT NETWORK DESIGN

Ethernet (LAN switching)

Course Contents CCNP (CISco certified network professional)

Chapter 4: Spanning Tree Design Guidelines for Cisco NX-OS Software and Virtual PortChannels

What is VLAN Routing?

Cisco Certified Network Associate Exam. Operation of IP Data Networks. LAN Switching Technologies. IP addressing (IPv4 / IPv6)

Juniper Networks EX Series/ Cisco Catalyst Interoperability Test Results. May 1, 2009

Juniper / Cisco Interoperability Tests. August 2014

A New Approach to Developing High-Availability Server

Interconnecting Cisco Networking Devices Part 2

: Interconnecting Cisco Networking Devices Part 2 v1.1

ALL8894WMP. User s Manual. 8-Port 10/100/1000Mbps with 4-port PoE. Web Management Switch

Bridgewalling - Using Netfilter in Bridge Mode

Management Switch User's Guide

Data Networking and Architecture. Delegates should have some basic knowledge of Internet Protocol and Data Networking principles.

User Manual 24 Port PoE 10/100/1000M with 4 Combo Gigabit SFP Open Slot Web Smart Switch

Level 2 Routing: LAN Bridges and Switches

WSG24POE Switch. User Manual

MLAG on Linux - Lessons Learned. Scott Emery, Wilson Kok Cumulus Networks Inc.

16-PORT POWER OVER ETHERNET WEB SMART SWITCH

hp ProLiant network adapter teaming

Command Line Interface

Securing end devices

Ethernet Storage Best Practices

IP SAN Best Practices

Improving the Security and Efficiency of Network Clients Using OpenFlow

LAN Topologies C H A P T E R. Unicast

CCNP SWITCH: Implementing High Availability and Redundancy in a Campus Network

Zarząd (7 osób) F inanse (13 osób) M arketing (7 osób) S przedaż (16 osób) K adry (15 osób)

GVRP Overview. Overview

VMware ESX Server Q VLAN Solutions W H I T E P A P E R

Virtual PortChannel Quick Configuration Guide

Top-Down Network Design

ENTERASYS WEBVIEW WEB-BASED MANAGEMENT FOR THE VH-2402S/VH-2402S2 WEB MANAGEMENT GUIDE

Dell PowerVault MD Series Storage Arrays: IP SAN Best Practices

HARTING Ha-VIS Management Software

How To Make A Network Cable Reliable And Secure

IP SAN BEST PRACTICES

EVOLVING ENTERPRISE NETWORKS WITH SPB-M APPLICATION NOTE

Redundancy and load balancing at L3 in Local Area Networks. Fulvio Risso Politecnico di Torino

B&B ELECTRONICS WHITE PAPER. Managed Ethernet Switches - Key Features for a Powerful Industrial Network

LAN Switching Computer Networking. Switched Network Advantages. Hubs (more) Hubs. Bridges/Switches, , PPP. Interconnecting LANs

Exhibit n.2: The layers of a hierarchical network

Chapter 5. Designing a Network Topology

Cisco 12 CCNA Certification

IP Multicasting. Applications with multiple receivers

Lab Use Network Inspector to Observe STP Behavior

How To Learn Cisco Cisco Ios And Cisco Vlan

Cisco Networking Academy CCNP Multilayer Switching

Redundancy and load balancing at L3 in Local Area Networks. Fulvio Risso Politecnico di Torino

Management Software. User s Guide AT-S88. For the AT-FS750/24POE Fast Ethernet Smart Switch. Version Rev. B

"Charting the Course...

TRILL for Service Provider Data Center and IXP. Francois Tallet, Cisco Systems

IP and Ethernet Communication Technologies and Topologies for IED networks

How To Balance On A Cisco Catalyst Switch With The Etherchannel On A Fast Ipv2 (Powerline) On A Microsoft Ipv1 (Powergen) On An Ipv3 (Powergadget) On Ipv4

- EtherChannel - Port Aggregation

CORPORATE NETWORKING

How To Configure Voice Vlan On An Ip Phone

Communication Systems Internetworking (Bridges & Co)

Configuring STP with Juniper Networks EX Series Ethernet Switches

Gigabit Ethernet Web Smart 8-Port Switch 2 Combo SFP Open Slot

8-Port Gigabit managed POE Switch. User s Manual. Version: 2.3

SSVP SIP School VoIP Professional Certification

IMPLEMENTING CISCO SWITCHED NETWORKS V2.0 (SWITCH)

Configuring EtherChannels

WideBand Network Management Unit

AT-S60 Version Management Software for the AT-8400 Series Switch. Software Release Notes

Management Software. User s Guide AT-S84. For the AT-9000/24 Layer 2 Gigabit Ethernet Switch. Version Rev. B

Interconnecting Cisco Networking Devices, Part 2 Course ICND2 v2.0; 5 Days, Instructor-led

CISCO STUDY GUIDE. Building Cisco Multilayer Switched Networks (BCMSN) Edition 2

POE WEB-MANAGED GIGABIT ETHERNET SWITCH USER MANUAL. with 2 SFP Ports MODELS & INT / UM

Simulation of High Availability Internet Service Provider s Network

Interconnecting Cisco Networking Devices, Part 2 **Part of CCNA Route/Switch**

LAN Switching and VLANs

VXLAN: Scaling Data Center Capacity. White Paper

Voice Over IP. MultiFlow IP Phone # 3071 Subnet # Subnet Mask IP address Telephone.

Cisco FabricPath Technology and Design

Redundant Serial-to-Ethernet Data Connections for Mission-critical Devices

Troubleshooting an Enterprise Network

Aruba Mobility Access Switch and Arista 7050S INTEROPERABILITY TEST RESULTS:

CCT vs. CCENT Skill Set Comparison

Torii-HLMAC: Torii-HLMAC: Fat Tree Data Center Architecture Elisa Rojas University of Alcala (Spain)

Overview of Routing between Virtual LANs

Transcription:

ITE I Chapter 6 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 1 Objectives Implement Spanning Tree Protocols LAN Switching and Wireless Chapter 5 Explain the role of redundancy in a converged network Summarize how STP works to eliminate Layer 2 loops in a converged network Explain how the STP algorithm uses three steps to converge on a loop-free topology Implement rapid per VLAN spanning tree (rapid PVST+) in a LAN to prevent loops between redundant switches. 2 The Role of Redundancy in a Switched Network Need to eliminate single points of failure in the LAN, as far as possible Redundant links connecting switches in the three layers provides more than one path between hosts Layer 2 Loops Redundant links between switches results in Layer 2 loops Ethernet frames do not have a time-to-live (TTL) like IP packets 3 4 Broadcast Storms A switch will flood a frame out of all ports except the one it arrived on, if - the frame is a broadcast - the destination MAC address is not in the switch table In a loop, broadcasts will - loop endlessly - increase in number exponentially - bring down the LAN (usually within seconds) A broadcast storm occurs when there are so many broadcast frames caught in a Layer 2 loop that all available bandwidth is consumed. More problems with Layer 2 loops Unicast frames sent onto a looped network can result in duplicate frames arriving at the destination device. - some network protocols cannot handle duplicate frames Loops can cause MAC address tables to become unstable Loops result in high CPU load on all switches caught in the loop. Network loops that are a result of accidental duplicate connections in the wiring closets are a common occurrence. 5 6

Spanning Tree Protocol (STP) STP prevents Layer 2 loops. STP runs on all Layer 2 switches and bridges by default straight out of the box STP ensures that there is only one logical path between all destinations on the network by intentionally blocking redundant paths that could cause a loop Switches and bridges running STP cooperate to produce a logical loop-free layer 2 topology If a link goes down, the STP algorithm will automatically be run again to determine a new spanning tree topology. Hence, redundancy is maintained. The Spanning Tree Topology Nodes are connected as a tree if - each node has one and only one parent node - except for the root node Change a general structure into a tree structure by removing some of the links A spanning tree means all nodes remain connected A tree structure will not contain any loops Root node 7 8 STP in action STP puts port F0/2 on S3 into blocking mode, thus removing a loop Now there is only one path between any source and destination device BPDUs Switches running STP need to cooperate with each other They use Bridge Protocol Data Units (BPDUs) to exchange messages An Ethernet frame encapsulates the BPDU Uses an Ethernet multicast address for the spanningtree group Each BPDU contains a BID number that identifies the switch that sent the BPDU 9 10 The BPDU Fields Bridge ID (BID) Each switch has a unique Bridge ID number (BID) made up of: Bridge priority 16-bit customizable, default 32768 MAC address guarantees uniqueness The BID identifies the switch and is used in elections. The admin can determine the outcome of an election by setting the value of the Bridge Priority field 11 12

STP Convergence Steps When bootup has completed, each switch determines the logical spanning tree topology by running the Spanning Tree Algorithm (STA) The STP Algorithm uses three steps to converge on a loop-free topology: Step 1: Elect a Root Bridge Step 2: Elect the Root Ports Step 3: Elect the Designated and Non-Designated ports 13 14 Step 1: Elect a Root Bridge The first step is to elect a Root Bridge. The switch with the lowest BID wins. All switches continuously transmit BPDUs out of all ports Each BPDU contains the BID of the sender and the BID of the current Root Bridge Each switch initially assumes that it is the Root Bridge When a BPDU is received with a lower Root Bridge BID, it replaces the current one in future BPDU transmissions. After no more than 20 seconds, a single Root Bridge will have been identified by all switches. 15 Port Roles Each switch port connecting to another switch (i.e. that receives BPDUs) is assigned one of the following port roles by the STA: Root port This is the port closest to the Root Bridge This port will forward frames Designated port If two or more switches connect to the same segment, only one will be the designated port This port will forward frames Non-designated port The port is in blocking mode; it will not forward user frames 16 Step 2: Elect Root Ports All of the Root Bridge ports become Designated Ports A Root Port exists on each non-root bridge. It is the switch port with the best path to the Root Bridge Choosing the Root Port: - The Root Bridge continues to send BPDUs which are relayed through the network by the other switches - As each BPDU is sent out of a port, the cost field is updated, in accordance with the port bandwidth - As a switch receives BPDUs from the Root Bridge, the one with the lowest cost identifies the Root Port - Each switch will have one and only one Root Port 17 18

Step 3: Elect Designated and Non-Designated Ports The remaining ports on a switch which connect to other switches will be either Designated Ports or Nondesignated Ports If two switches connect to the same segment, the port on the switch with the lowest BID becomes a Designated Port. The port on the other switch becomes a Non-designated Port. Designated Ports will forward user frames. Non-designated Ports will be blocked Result is each segment will have only one switch forwarding frames onto it 19 20 Port States While the STA is running, each switch port will be in one of these port states: Blocking - A non-designated port; does not participate in frame forwarding. Receives BPDU frames only Listening - STP has determined that the port can participate in frame forwarding. Receives BPDU frames and also transmits its own BPDU frames Learning - The port prepares to participate in frame forwarding and begins to populate the MAC address table. Forwarding - The port is part of the active topology and forwards frames, sends and receives BPDU frames. Disabled - The switch port is administratively disabled. 21 22 Port States The spanning tree is determined immediately after a switch has finished booting up. All ports are initially put in Blocking mode (LEDs on switch port will be amber) When the STA has completed, each port will be in either Blocking mode or Forwarding mode A port that becomes part of the final spanning tree topology will transition between modes in this order: 1. Blocking 2. Listening 3. Learning 4. Forwarding 23 BPDU Timers Network diameter is the number of devices that a packet has to cross before it reaches its destination. Default convergence times are based on a seven-switch diameter network Hello time Default 2 secs. Forward delay time spent in listening and learning state. Default 15 secs each. Maximum age Default 20 secs. Optimize timers by reconfiguring the network diameter, not the BPDU timers. On root bridge only: spanning-tree vlan vlan-id root primary diameter value 24

Summary Spanning Tree Protocol (STP) STP Variants Standard IEEE 802.1D STP Only one spanning tree instance in a network (i.e. broadcast domain). BID is 2-byte bridge priority + MAC address. Only one Root Bridge elected in the network. Each non-root switch has one Root Port shortest path to the Root Bridge Each segment is connected by no more than one Designated Port All other ports on a switch are non-designated ports and are in blocking mode. Convergence time is 50 seconds 25 STP s lengthy convergence time (50 seconds) facilitated the development of: RSTP IEEE standard (IEEE 802.1w) convergence time is slightly over 6 seconds Rapid PVST+ Cisco proprietary technology This is the preferred STP on a Cisco switched network Adds VLAN support to RSTP Separate Root Bridge for each instance means better redundancy. Can load balance VLANs on trunks 26 PVST+ Feature: PortFast PVST+: Bridge ID (BID) PortFast is a Cisco proprietary technology. When an access switch port is configured with PortFast it transitions from blocking to forwarding state immediately. Use only on access ports connected to a single workstation,etc. to allow those devices to connect to the network immediately. If a port configured with PortFast receives a BPDU frame, spanning tree can put the port into the blocking state using a feature called BPDU guard. PortFast technology can be used to support DHCP. 27 The Bridge ID number (BID) is made up of three fields: Bridge priority 4-bit customizable Extended System ID 12-bit VLAN ID number MAC address guarantees uniqueness The first two fields are displayed as a single number. Therefore changing the Bridge Priority changes the number in steps of 4096 Default is 32769 i.e. 32768 + VLAN 1 28 RSTP (IEEE 802.1w) RSTP - speeds the recalculation of the spanning tree when the Layer 2 network topology changes. RSTP supersedes STP (802.1D) while retaining backward compatibility. RSTP keeps the same BPDU format with version set to 2. Edge port - corresponds to the Cisco PortFast feature Non-edge ports are categorized into two link types, point-to-point and shared. Possible RSTP port states: discarding, learning, and forwarding 29