© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 4: LAN Redundancy Switched Networks.

Slides:



Advertisements
Podobné prezentace
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.1 Module 7 Spanning Tree Protocol.
Advertisements

VLAN Projektování distribuovaných systémů Lekce 2 Ing. Jiří ledvina, CSc.
Introduction to Routing and Packet Forwarding
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Network Addressing Networking for Home and Small Businesses – Chapter.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Operating Systems Networking for Home and Small Businesses – Chapter.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Spanning Tree Protocols LAN Switching and Wireless – Chapter 5.
Connecting to the Network
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Inter-VLAN Routing LAN Switching and Wireless – Chapter 6.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 6 Routing and Routing Protocols.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 4 v3.1 Module 5 Frame Relay.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.1 Module 8 Virtual LANs = Virtual Local Area Networks.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 2 Introduction to Routers.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 OSI Transport Layer Network Fundamentals – Chapter 4.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Ethernet Network Fundamentals – Chapter 9.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 VLANs LAN Switching and Wireless – Chapter 3.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Services in a Converged WAN Accessing the WAN – Chapter 1 síť, která přenáší.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 7 Distance Vector Routing Protocols.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 4 Learning About Other Devices.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 3 Configuring a Router.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 OSI Physical Layer Network Fundamentals – Chapter 8.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 OSI Network Layer Network Fundamentals – Chapter 5.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 LAN Design LAN Switching and Wireless – Chapter 1.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 8 TCP/IP Suite Error and Control Messages.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.1 Module 9 Virtual Trunking Protocol.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.1 Module 6 Switch Configuration.
Grafické zobrazení příkladu RETURN MANAGEMENT J.Skorkovský KPH.
Aktivní prvky pracující na linkové vrstvě. můstek přepínač Zařízení pracující na této vrstvě využívají schopnost učit se MAC adresy uzlů v různých segmentech.
Číslo projektuCZ.1.07/1.5.00/ Číslo materiáluVY_32_INOVACE_178 Název školyGymnázium, Tachov, Pionýrská 1370 Autor Mgr. Eleonora Klasová Předmět.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Application Layer Functionality and Protocols Network Fundamentals – Chapter 3.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.1 ISP Services Working at a Small-to-Medium Business or ISP – Chapter 7.
1 © 2004 Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 11 Access Control Lists (ACLs)
Číslo projektu CZ.1.07/1.5.00/ Číslo materiálu VY_32_INOVACE_ 007 Název školy Gymnázium, Tachov, Pionýrská 1370 Autor Mgr.Stanislava Antropiusová.
Successor The neighboring router that is the least-cost route to the destination network. The IP address of a successor is in a routing table after the.
Směrování - OSPF.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 9 Basic Router Troubleshooting.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 VTP = VLAN Trunking Protocol LAN Switching and Wireless – Chapter 4.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Access Control Lists Accessing the WAN – Chapter 5.
Tutorial: Obchodní akademie Topic: Logical Functions Prepared by: Mgr. Zdeněk Hrdina Projekt Anglicky v odborných předmětech, CZ.1.07/1.3.09/ je.
Chapter 7: DHCP Switched Networks. Chapter Introduction 7.1 Dynamic Host Configuration Protocol v4 7.2 Dynamic Host Configuration Protocol v6 7.3.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Services in a Converged WAN Accessing the WAN – Chapter 1 síť, která přenáší.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 1: Introduction to Switched Networks Switched Networks.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Introduction to Routing and Packet Forwarding Routing Protocols and.
Chapter 2: Basic Switching Concepts and Configuration
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 6: Inter-VLAN Routing Switched Networks.
Chapter 2: Connecting to the WAN Connecting Networks.
EU peníze středním školám Název vzdělávacího materiálu: B2 – Verbs – Computers Číslo vzdělávacího materiálu: ICT12-19 Šablona: III/2 Inovace a zkvalitnění.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 3: VLANs Switched Networks.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 LAN Design LAN Switching and Wireless – Chapter 1.
CCNA 3 v3.1 Module 3 EIGRP.
CCNA 4 v3.1 Module 5 Frame Relay Tuto prezentaci ze starší verze kurikula používáme i v novějších verzích, např. Routing & Switching.
Před touto látkou zopakovat OSPF
Routing Protocols and Concepts – Chapter 6
Seminář 8 VLAN routing Srovnání směrování tradičního a VLAN routingu
LAN Switching and Wireless – Chapter 1
LAN Switching and Wireless – Chapter 6
Accessing the WAN – Chapter 5
Successor The neighboring router that is the least-cost route to the destination network. The IP address of a successor is in a routing table after the.
Spanning Tree Protocols
The Routing Table: A Closer Look
Živá fáze.
Network Fundamentals – Chapter 5
Introduction to MS Dynamics NAV (Expected Costs)
Application Layer Functionality and Protocols
Routing Protocols and Concepts – Chapter 5
Network Fundamentals – Chapter 5
LAN Switching and Wireless – Chapter 3
Network Fundamentals – Chapter 9
Introduction to Dynamic Routing Protocols
LAN Switching and Wireless – Chapter 6
Routing Protocols and Concepts – Chapter 6
Transkript prezentace:

© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 4: LAN Redundancy Switched Networks

Chapter Introduction 4.1 Spanning Tree Concepts 4.2 Varieties of Spanning Tree Protocols 4.3 Spanning Tree Configuration 4.4 First-Hop Redundancy Protocols 4.5 Summary

Chapter 4: Objectives  Issues with a redundant network  IEEE 802.1D STP operation  Different spanning tree varieties  PVST+ operation  Rapid PVST+  Configure PVST+ and Rapid PVST+  STP configuration issues  Purpose and operation of first hop redundancy protocols  Different varieties of first-hop redundancy protocols  IOS commands to verify HSRP and GLBP implementations

© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID Spanning Tree Concepts

Redundancy in a Switched Network Role of redundancy in a hierarchical network Cesta z PC1 do PC4 normálně vede přes Trunk1. Když ten se pokazí, jede se přes redundantní (= navíc) cestu Trunk2 –> Trunk3. Když se Trunk1 vzpamatuje, opět se začne používat.

Redundancy in a Switched Network Cesta z PC1 do PC4: 1) Všechno funguje

Redundancy in a Switched Network 2) Pokazí se přístup do Distribution vrstvy Náhradní cesta

Redundancy in a Switched Network 3) Pokazí se spoj mezi Distribution a Core Náhradní cesta

Redundancy in a Switched Network 4) Pokazí se switch ve vrstvě Distribution Náhradní switch

Redundancy in a Switched Network 5) Pokazí se switch ve vrstvě Core Náhradní switch

 Redundancy can disable a network  Zálohování může odstavit síť Ethernet frames do not have a time to live (TTL) like IP packets traversing routers. Ethernetové rámce nemají počítadla TTL, která by je po nějaké době obíhání zlikvidovala. Proto rámce mohou ve smyčkách obíhat donekonečna a stále se množit. Redundancy in a Switched Network

Možné problémy v zálohované síti Broadcast storms – při broadcastu se rámce ve smyčkách množí, až dojde k zahlcení sítě. Špatně naučené polohy účastníků – switch dostane frame ze správné strany, potom také smyčkou z druhé strany. Dvakrát doručené rámce – PC1 posílá rámec PC4. S2 ještě nezná MAC adresu PC4, proto rámec rozešle jako broadcast. Ten potom dojde jednou přes Trunk1, podruhé přes Trunk2 a Trunk3.

Presentation_ID 13 © 2008 Cisco Systems, Inc. All rights reserved.Cisco Confidential Otázka: Proč v síti s přepínači odpínáme záložní spoje, místo abychom je využili a zvýšili tak propustnost sítě v daném směru, jako to dělají směrovače? Odpověď: Směrovače mají mnohem lepší ponětí o topologii celé sítě. Používají chytré techniky (Split horizon, Poison reverse, Holddown timer), které zabraňují vzniku smyček. Když směrovač neví, co s paketem, pošle jej do default route, tj. vždycky jedním a jediným směrem. Když přepínač neví, co s framem, rozprskne jej jako broadcast a tím nastartuje jeho množení. Kromě toho, když už ke kolování paketu mezi směrovači dojde, poslední záchranou je omezený počet hopů (RIP: 16), nebo počítadlo TTL, které způsobí zabití a zahození bloudícího paketu. To přepínače neznají. Redundancy in a Switched Network

STP Operation Spanning-Tree Algorithm: Introduction  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.  A port is considered blocked when user data is prevented from entering or leaving that port. This does not include bridge protocol data unit (BPDU) frames that are used by STP to prevent loops.  The physical paths still exist to provide redundancy, but these paths are disabled to prevent the loops from occurring.  If the path is ever needed to compensate for a network cable or switch failure, STP recalculates the paths and unblocks the necessary ports to allow the redundant path to become active.

STP Operation Spanning-Tree Algorithm: Port Roles

STP Operation Spanning-Tree Algorithm: Root Bridge

STP Operation Spanning-Tree Algorithm: Path Cost

STP Operation 802.1D BPDU Frame Format

STP Operation BPDU Propagation and Process

STP Operation Extended System ID

© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID Varieties of Spanning Tree Protocols

STP Overview List of Spanning Tree Protocols  STP or IEEE 802.1D-1998  PVST+  IEEE 802.1D-2004  Rapid Spanning Tree Protocol (RSTP) or IEEE 802.1w  Rapid PVST+  Multiple Spanning Tree Protocol (MSTP) or IEEE 802.1s

STP Overview Spanning Tree Protocol Characteristics

PVST+ Overview of PVST+ Networks running PVST+ have these characteristics:  A network can run an independent IEEE 802.1D STP instance for each VLAN in the network.  Optimum load balancing can result.  One spanning-tree instance for each VLAN maintained can mean a considerable waste of CPU cycles for all switches in the network (in addition to the bandwidth used for each instance to send its own BPDU).

PVST+ Port States and PVST+ Operation STP introduces the five port states:  Blocking  Listening  Learning  Forwarding  Disabled

PVST+ Extended System ID and PVST+ Operation  In a PVST+ environment, the extended switch ID ensures each switch has a unique BID for each VLAN.  For example, the VLAN 2 default BID would be (priority 32768, plus the extended system ID of 2).

Rapid PVST+ Overview of Rapid PVST+  RSTP is the preferred protocol for preventing Layer 2 loops in a switched network environment.  Cisco-proprietary enhancements to 802.1D, such as UplinkFast and BackboneFast, are not compatible with RSTP.  RSTP (802.1w) supersedes STP (802.1D) while retaining backward compatibility  RSTP keeps the same BPDU format as IEEE 802.1D, except that the version field is set to 2 to indicate RSTP, and the flags field uses all 8 bits.  RSTP is able to actively confirm that a port can safely transition to the forwarding state without relying on any timer configuration.

Rapid PVST+ RSTP BPDU

Rapid PVST+ Edge Ports

Rapid PVST+ Link Types

© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID Spanning Tree Configuration

PVST+ Configuration Catalyst 2960 Default Configuration

PVST+ Configuration Configuring and Verifying the Bridge ID

PVST+ Configuration PortFast and BPDU Guard

PVST+ Configuration PVST+ Load Balancing

Rapid PVST+ Configuration Spanning-Tree Mode

STP Configuration Issues Analyzing the STP Topology

STP Configuration Issues Expected Topology vs. Actual Topology

STP Configuration Issues Overview of Spanning-Tree Status

STP Configuration Issues Spanning-Tree Failure Consequences

STP Configuration Issues Repairing a Spanning-Tree Problem  One way to correct spanning-tree failure is to manually remove redundant links in the switched network, either physically or through configuration, until all loops are eliminated from the topology.  Before restoring the redundant links, determine and correct the cause of the spanning-tree failure.  Carefully monitor the network to ensure that the problem is fixed.

© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID First-Hop Redundancy Protocols

Concept of First-Hop Redundancy Protocols Default Gateway Limitations

Concept of First-Hop Redundancy Protocols Router Redundancy

Concept of First-Hop Redundancy Protocols Steps for Router Failover

Varieties of First-Hop Redundancy Protocols First-Hop Redundancy Protocols  Hot Standby Router Protocol (HSRP)  HSRP for IPv6  Virtual Router Redundancy Protocol version 2 (VRRPv2)  VRRPv3  Gateway Load Balancing Protocol (GLBP)  GLBP for IPv6  ICMP Router Discovery Protocol (IRDP)

FHRP Verification HSRP Verification

FHRP Verification GLBP Verification

© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID Summary

Chapter 4: Summary  IEEE 802.1D is implemented on Cisco switches on a per-VLAN basis in the form of PVST+. This is the default configuration on Cisco switches.  RSTP can be implemented on Cisco switches on a per-VLAN basis in the form of Rapid PVST+.  With PVST+ and Rapid PVST+, root bridges can be proactively configured to enable spanning tree load balancing.  First-hop redundancy protocols, such as HSRP, VRRP, and GLBP provide alternate default gateways for hosts in the switched environment.

Presentation_ID 51 © 2008 Cisco Systems, Inc. All rights reserved.Cisco Confidential