SlideShare uma empresa Scribd logo
1 de 60
Baixar para ler offline
Chapter 2: LAN
Redundancy
Scaling Networks
© 2008 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 1
Chapter 2
2.0 Introduction
2 1 Spanning Tree Concepts2.1 Spanning Tree Concepts
2.2 Varieties of Spanning Tree Protocols
2 3 S i T C fi ti2.3 Spanning Tree Configuration
2.4 First-Hop Redundancy Protocols
2.5 Summary
Presentation_ID 2© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Chapter 2: Objectives
 Describe the issues with implementing a redundant network.
 Describe IEEE 802.1D STP operation.
 Describe the different spanning tree varieties.
 Describe PVST+ operation in a switched LAN environment.Describe PVST operation in a switched LAN environment.
 Describe Rapid PVST+ operation in a switched LAN environment.
C fi PVST+ i it h d LAN i t Configure PVST+ in a switched LAN environment.
 Configure Rapid PVST+ in a switched LAN environment.
 Identify common STP configuration issues.
 Describe the purpose and operation of first hop redundancy protocols.y
 Describe the different varieties of first hop redundancy protocols.
 Use Cisco IOS commands to verify HSRP and GLBP
Presentation_ID 3© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
 Use Cisco IOS commands to verify HSRP and GLBP
implementations.
2.1 Spanning Tree
CConcepts
© 2008 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 4
Purpose of Spanning Tree
Redundancy at OSI Layers 1 and 2
Multiple cabled paths between switches:
 Provide physical redundancy in a switched network.
 Improves the reliability and availability of the network.
 Enables users to access network resources, despite path
disruption.
Presentation_ID 5© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Purpose of Spanning Tree
Issues with Layer 1 Redundancy:
MAC D t b I t bilitMAC Database Instability
 Ethernet frames do not have a time to live (TTL) attributeEthernet frames do not have a time to live (TTL) attribute.
• Frames continue to propagate between switches endlessly, or
until a link is disrupted and breaks the loop.p p
• Results in MAC database instability.
• Can occur due to broadcast frames forwarding.g
 If there is more than one path for the frame to be forwarded out, an
endless loop can result.p
• When a loop occurs, it is possible for the MAC address table
on a switch to constantly change with the updates from the
b d t f lti i MAC d t b i t bilitbroadcast frames, resulting in MAC database instability.
Presentation_ID 6© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Purpose of Spanning Tree
Issues with Layer 1 Redundancy:
B d t StBroadcast Storms
 A broadcast storm occurs when there are so many broadcast
frames caught in a Layer 2 loop that all available bandwidth is
consumed. It is also known as denial of service
 A broadcast storm is inevitable on a looped network.
• As more devices send broadcasts over the network, more
traffic is caught within the loop; thus consuming moretraffic is caught within the loop; thus consuming more
resources.
• This eventually creates a broadcast storm that causes theThis eventually creates a broadcast storm that causes the
network to fail.
Presentation_ID 7© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Purpose of Spanning Tree
Issues with Layer 1 Redundancy:
B d t StBroadcast Storms
Presentation_ID 8© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Purpose of Spanning Tree
Issues with Layer 1 Redundancy:
D li t U i t FDuplicate Unicast Frames
 Unicast frames sent onto a looped network can result in duplicateUnicast frames sent onto a looped network can result in duplicate
frames arriving at the destination device.
 Most upper layer protocols are not designed to recognize, or copepp y p g g , p
with, duplicate transmissions.
 Layer 2 LAN protocols, such as Ethernet, lack a mechanism toy p
recognize and eliminate endlessly looping frames.
Presentation_ID 9© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Purpose of Spanning Tree
Issues with Layer 1 Redundancy:
D li t U i t FDuplicate Unicast Frames
Presentation_ID 10© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
STP Operation
Spanning Tree Algorithm: Introductionp g g
 STP ensures that there is only one logical path between all
destinations on the network by intentionally blocking redundantdestinations on the network by intentionally blocking redundant
paths that could cause a loop.
 A port is considered blocked when user data is prevented frompo t s co s de ed b oc ed e use data s p e e ted o
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 activenecessary ports to allow the redundant path to become active.
Presentation_ID 11© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
STP Operation
Spanning Tree Algorithm: Introductionp g g
Presentation_ID 12© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
STP Operation
Spanning Tree Algorithm: Introductionp g g
Presentation_ID 13© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
STP Operation
Spanning Tree Algorithm: Introductionp g g
Presentation_ID 14© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
STP Operation
Spanning Tree Algorithm: Port Rolesp g g
Presentation_ID 15© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
STP Operation
Spanning Tree Algorithm: Root Bridgep g g g
Presentation_ID 16© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
STP Operation
Spanning Tree Algorithm: Path Costp g g
Presentation_ID 17© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
STP Operation
802.1D BPDU Frame Format
Presentation_ID 18© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
STP Operation
BPDU Propagation and Processp g
Presentation_ID 19© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
STP Operation
BPDU Propagation and Processp g
Presentation_ID 20© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
STP Operation
Extended System IDy
STP was enhanced to include support for VLANs, requiring the
VLAN ID to be included in the BPDU frame through the use of the
t d d t ID
Presentation_ID 21© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
extended system ID
STP Operation
Extended System IDy
In the example, the priority of all the switches is 32769. The value is
Presentation_ID 22© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
p , p y
based on the 32768 default priority and the VLAN 1 assignment
associated with each switch (32768+1).
2.2 Varieties of Spanning
Tree Protocols
© 2008 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 23
Overview
List of Spanning Tree Protocolsp g
 STP or IEEE 802.1D-1998
S PVST+
 IEEE 802.1D-2004
 Rapid Spanning Tree Protocol (RSTP) or IEEE 802.1w
 Rapid PVST+p
 Multiple Spanning Tree Protocol (MSTP) or IEEE 802.1s
Presentation_ID 24© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
STP Overview
Characteristics of the Spanning Tree
Protocols
Presentation_ID 25© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
PVST+
Overview of PVST+
Networks running PVST+ have these characteristics:
802 1 S f A network can run an independent IEEE 802.1D STP instance for
each VLAN in the network.
O ti l d b l i lt Optimum load balancing can result.
 One spanning-tree instance for each VLAN maintained can mean
a considerable waste of CPU cycles for all the switches in thea considerable waste of CPU cycles for all the switches in the
network. In addition to the bandwidth that is used for each instance
to send its own BPDU.
Presentation_ID 26© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
PVST+
Overview of PVST+
Presentation_ID 27© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
PVST+
Port States and PVST+ Operationp
STP introduces the five port states:
Presentation_ID 28© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
PVST+
Extended System ID and PVST+
Operationp
 In a PVST+ environment, the extended switch ID ensures each
switch has a unique BID for each VLANswitch has a unique BID for each VLAN.
 For example, the VLAN 2 default BID would be 32770; priority
32768, plus the extended system ID of 2.3 68, p us t e e te ded syste o
Presentation_ID 29© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Rapid PVST+
Overview of Rapid PVST+p
 RSTP is the preferred protocol for preventing Layer 2 loops in a
switched network environmentswitched network environment.
 With Rapid PVST+, an independent instance of RSTP runs for
each VLAN.eac
 RSTP supports a new port type: an alternate port in discarding
state.
 There are no blocking ports. RSTP defines port states as
discarding, learning, or forwarding.
 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
ll 8 bit
Presentation_ID 30© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
uses all 8 bits.
Rapid PVST+
Overview of Rapid PVST+p
Presentation_ID 31© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Rapid PVST+
RSTP BPDU
Presentation_ID 32© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Rapid PVST+
Edge Portsg
Presentation_ID 33© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Rapid PVST+
Link Typesyp
The link type can determine whether the port can immediately
transition to forwarding state. Edge port connections and point-to-
Presentation_ID 34© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
point connections are candidates for rapid transition to forwarding
state.
2.3 Spanning Tree
C fConfiguration
© 2008 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 35
PVST+ Configuration
Catalyst 2960 Default Configurationy g
Presentation_ID 36© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
PVST+ Configuration
Configuring and Verifying the Bridge IDg g y g g
Presentation_ID 37© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
PVST+ Configuration
Configuring and Verifying the Bridge IDg g y g g
Presentation_ID 38© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
PVST+ Configuration
PortFast and BPDU Guard
 When a switch port is
configured with PortFastg
that port transitions from
blocking to forwarding
state immediately.state immediately.
 BPDU guard puts the port
in an error disabled statein an error-disabled state
on receipt of a BPDU.
Presentation_ID 39© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
PVST+ Configuration
PVST+ Load Balancingg
Presentation_ID 40© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
PVST+ Configuration
PVST+ Load Balancingg
 Another method to specify the root bridge is to set the spanning
tree priority on each switch to the lowest value so that the switch istree priority on each switch to the lowest value so that the switch is
selected as the primary bridge for its associated VLAN.
Presentation_ID 41© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
PVST+ Configuration
PVST+ Load Balancingg
 Display and verify spanning tree configuration details.
Presentation_ID 42© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
PVST+ Configuration
PVST+ Load Balancingg
Presentation_ID 43© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Rapid PVST+ Configuration
Spanning Tree Modep g
Rapid PVST+ is the Ciscop
implementation of RSTP. It
supports RSTP on a per-
VLAN basisVLAN basis.
Presentation_ID 44© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
STP Configuration Issues
Analyzing the STP Topologyy g p gy
Presentation_ID 45© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
STP Configuration Issues
Expected Topology versus Actual TopologyExpected Topology versus Actual Topology
Presentation_ID 46© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
STP Configuration Issues
Overview of Spanning Tree Statusp g
Presentation_ID 47© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
STP Configuration Issues
Spanning-Tree Failure Consequencesp g q
 STP erroneously moves
one or more ports into the
forwarding state.
 Any frame that is floodedAny frame that is flooded
by a switch enters the
loop.
Presentation_ID 48© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
STP Configuration Issues
Repairing a Spanning Tree Problemp g p g
 One way to correct spanning-tree failure is to manually removey p g y
redundant links in the switched network, either physically or
through configuration, until all loops are eliminated from the
topologytopology.
 Before restoring the redundant links, determine and correct the
cause of the spanning-tree failurecause of the spanning tree failure.
 Carefully monitor the network to ensure that the problem is fixed.
Presentation_ID 49© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
2.4 First-Hop Redundancy
ProtocolsProtocols
© 2008 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 50
Concept of First-Hop Redundancy Protocols
Default Gateway Limitationsy
 If the default gateway
cannot be reached thecannot be reached, the
local device is unable
to send packets off the
local network segmentlocal network segment.
 Even if a redundant
t i t th t ldrouter exists that could
serve as a default
gateway for that
segment, there is no
dynamic method by
which these deviceswhich these devices
can determine the
address of a new
default gateway
Presentation_ID 51© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
default gateway.
Concept of First-Hop Redundancy Protocols
Router Redundancyy
 Multiple routers are
configured to workconfigured to work
together to present
the illusion of a
single router to thesingle router to the
hosts on the LAN.
Th bilit f The ability of a
network to
dynamically
recover from the
failure of a device
acting as a defaultacting as a default
gateway is known
as first-hop
redundancy
Presentation_ID 52© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
redundancy.
Concept of First-Hop Redundancy Protocols
Steps for Router Failoverp
Presentation_ID 53© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Varieties of First-Hop Redundancy Protocols
First-Hop Redundancy Protocolsp y
 Hot Standby Router Protocol (HSRP)
S f 6 HSRP for IPv6
 Virtual Router Redundancy Protocol version 2 (VRRPv2)
 VRRPv3
 Gateway Load Balancing Protocol (GLBP)y g ( )
 GLBP for IPv6
 ICMP Router Discovery Protocol (IRDP) ICMP Router Discovery Protocol (IRDP)
Presentation_ID 54© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Varieties of First-Hop Redundancy Protocols
First-Hop Redundancy Protocolsp y
Presentation_ID 55© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
FHRP Verification
HSRP Verification
Presentation_ID 56© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
FHRP Verification
GLBP Verification
 Gateway Load Balancing Protocol (GLBP) is a Cisco proprietary
solution to allow automatic selection and simultaneous use ofsolution to allow automatic selection and simultaneous use of
multiple available gateways in addition to automatic failover
between those gateways.
Presentation_ID 57© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
2.5 Summaryy
© 2008 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 58
Chapter 2: 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 switchesCisco switches.
 RSTP, can be implemented on Cisco switches on a per-VLAN basis
in the form of Rapid PVST+.in the form of Rapid PVST .
 With PVST+ and Rapid PVST+, root bridges can be configured
proactively to enable spanning tree load balancing.p y p g g
 First hop redundancy protocols, such as HSRP, VRRP, and GLBP
provide alternate default gateways for hosts in the switchedg y
environment.
Presentation_ID 59© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Presentation_ID 60© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential

Mais conteúdo relacionado

Mais procurados

CCNA 2 Routing and Switching v5.0 Chapter 3
CCNA 2 Routing and Switching v5.0 Chapter 3CCNA 2 Routing and Switching v5.0 Chapter 3
CCNA 2 Routing and Switching v5.0 Chapter 3Nil Menon
 
Attacking the spanning tree protocol
Attacking the spanning tree protocolAttacking the spanning tree protocol
Attacking the spanning tree protocolAsmadzakirah
 
Exercise 4c stp rapid pvst+ question
Exercise 4c   stp rapid pvst+ questionExercise 4c   stp rapid pvst+ question
Exercise 4c stp rapid pvst+ questionsufi1248
 
Overview of Spanning Tree Protocol (STP & RSTP)
Overview of Spanning Tree Protocol (STP & RSTP)Overview of Spanning Tree Protocol (STP & RSTP)
Overview of Spanning Tree Protocol (STP & RSTP)Peter R. Egli
 
STP Protection
STP ProtectionSTP Protection
STP ProtectionNetwax Lab
 
Brk 135 t-ccna_switching
Brk 135 t-ccna_switchingBrk 135 t-ccna_switching
Brk 135 t-ccna_switchingparthasn83
 
Linux Bridging: Teaching an old dog new tricks
Linux Bridging: Teaching an old dog new tricksLinux Bridging: Teaching an old dog new tricks
Linux Bridging: Teaching an old dog new tricksStephen Hemminger
 
CCNA3 Verson6 Chapter3
CCNA3 Verson6 Chapter3CCNA3 Verson6 Chapter3
CCNA3 Verson6 Chapter3Chaing Ravuth
 
CCNA R&S-12-Spanning Tree Protocol Concepts
CCNA R&S-12-Spanning Tree Protocol ConceptsCCNA R&S-12-Spanning Tree Protocol Concepts
CCNA R&S-12-Spanning Tree Protocol ConceptsAmir Jafari
 
CCNA2 Verson6 Chapter2
CCNA2 Verson6 Chapter2CCNA2 Verson6 Chapter2
CCNA2 Verson6 Chapter2Chaing Ravuth
 
Chapter 3 vlans
Chapter 3   vlansChapter 3   vlans
Chapter 3 vlanskratos2424
 
CCNA 1 Routing and Switching v5.0 Chapter 6
CCNA 1 Routing and Switching v5.0 Chapter 6CCNA 1 Routing and Switching v5.0 Chapter 6
CCNA 1 Routing and Switching v5.0 Chapter 6Nil Menon
 
VLAN Trunking Protocol
VLAN Trunking ProtocolVLAN Trunking Protocol
VLAN Trunking ProtocolNetwax Lab
 
Layer-2 VPN
Layer-2 VPNLayer-2 VPN
Layer-2 VPNrosmida
 
CCNAv5 - S1: Chapter 6 - Network Layer
CCNAv5 - S1: Chapter 6 - Network LayerCCNAv5 - S1: Chapter 6 - Network Layer
CCNAv5 - S1: Chapter 6 - Network LayerVuz Dở Hơi
 
CCNA PPP and Frame Relay
CCNA PPP and Frame RelayCCNA PPP and Frame Relay
CCNA PPP and Frame RelayDsunte Wilson
 
Spanning tree protocol
Spanning tree protocolSpanning tree protocol
Spanning tree protocolMuuluu
 

Mais procurados (20)

CCNA 2 Routing and Switching v5.0 Chapter 3
CCNA 2 Routing and Switching v5.0 Chapter 3CCNA 2 Routing and Switching v5.0 Chapter 3
CCNA 2 Routing and Switching v5.0 Chapter 3
 
Lan Network with Redundancy.ppt
Lan Network with Redundancy.pptLan Network with Redundancy.ppt
Lan Network with Redundancy.ppt
 
Attacking the spanning tree protocol
Attacking the spanning tree protocolAttacking the spanning tree protocol
Attacking the spanning tree protocol
 
Exercise 4c stp rapid pvst+ question
Exercise 4c   stp rapid pvst+ questionExercise 4c   stp rapid pvst+ question
Exercise 4c stp rapid pvst+ question
 
Overview of Spanning Tree Protocol (STP & RSTP)
Overview of Spanning Tree Protocol (STP & RSTP)Overview of Spanning Tree Protocol (STP & RSTP)
Overview of Spanning Tree Protocol (STP & RSTP)
 
STP Protection
STP ProtectionSTP Protection
STP Protection
 
Protocolo Spanning Tree
Protocolo Spanning TreeProtocolo Spanning Tree
Protocolo Spanning Tree
 
Brk 135 t-ccna_switching
Brk 135 t-ccna_switchingBrk 135 t-ccna_switching
Brk 135 t-ccna_switching
 
Linux Bridging: Teaching an old dog new tricks
Linux Bridging: Teaching an old dog new tricksLinux Bridging: Teaching an old dog new tricks
Linux Bridging: Teaching an old dog new tricks
 
CCNA3 Verson6 Chapter3
CCNA3 Verson6 Chapter3CCNA3 Verson6 Chapter3
CCNA3 Verson6 Chapter3
 
CCNA R&S-12-Spanning Tree Protocol Concepts
CCNA R&S-12-Spanning Tree Protocol ConceptsCCNA R&S-12-Spanning Tree Protocol Concepts
CCNA R&S-12-Spanning Tree Protocol Concepts
 
CCNA2 Verson6 Chapter2
CCNA2 Verson6 Chapter2CCNA2 Verson6 Chapter2
CCNA2 Verson6 Chapter2
 
Ccna new syllabus
Ccna new syllabusCcna new syllabus
Ccna new syllabus
 
Chapter 3 vlans
Chapter 3   vlansChapter 3   vlans
Chapter 3 vlans
 
CCNA 1 Routing and Switching v5.0 Chapter 6
CCNA 1 Routing and Switching v5.0 Chapter 6CCNA 1 Routing and Switching v5.0 Chapter 6
CCNA 1 Routing and Switching v5.0 Chapter 6
 
VLAN Trunking Protocol
VLAN Trunking ProtocolVLAN Trunking Protocol
VLAN Trunking Protocol
 
Layer-2 VPN
Layer-2 VPNLayer-2 VPN
Layer-2 VPN
 
CCNAv5 - S1: Chapter 6 - Network Layer
CCNAv5 - S1: Chapter 6 - Network LayerCCNAv5 - S1: Chapter 6 - Network Layer
CCNAv5 - S1: Chapter 6 - Network Layer
 
CCNA PPP and Frame Relay
CCNA PPP and Frame RelayCCNA PPP and Frame Relay
CCNA PPP and Frame Relay
 
Spanning tree protocol
Spanning tree protocolSpanning tree protocol
Spanning tree protocol
 

Semelhante a Sca n instructorppt_chapter2_final

CCNAv5 - S3: Chapter2 Lan Redundancy
CCNAv5 - S3: Chapter2 Lan RedundancyCCNAv5 - S3: Chapter2 Lan Redundancy
CCNAv5 - S3: Chapter2 Lan RedundancyVuz Dở Hơi
 
57798_Lectures1415.pptx
57798_Lectures1415.pptx57798_Lectures1415.pptx
57798_Lectures1415.pptxSheerazAli55
 
Chapter 6 : Network layer
Chapter 6 : Network layerChapter 6 : Network layer
Chapter 6 : Network layerteknetir
 
Chapter 06 - Network Layer
Chapter 06 - Network LayerChapter 06 - Network Layer
Chapter 06 - Network LayerYaser Rahmati
 
CCNAv5 - S4: Chapter3 Point to-point Connections
CCNAv5 - S4: Chapter3 Point to-point ConnectionsCCNAv5 - S4: Chapter3 Point to-point Connections
CCNAv5 - S4: Chapter3 Point to-point ConnectionsVuz Dở Hơi
 
CCNA Exploration 3 - Chapter 5
CCNA Exploration 3 - Chapter 5CCNA Exploration 3 - Chapter 5
CCNA Exploration 3 - Chapter 5Irsandi Hasan
 
Bandwidth measurement
Bandwidth measurementBandwidth measurement
Bandwidth measurementjeromy fu
 
Ccna v5-S1-Chapter 6
Ccna v5-S1-Chapter 6Ccna v5-S1-Chapter 6
Ccna v5-S1-Chapter 6Hamza Malik
 
CCNP Switching Chapter 8
CCNP Switching Chapter 8CCNP Switching Chapter 8
CCNP Switching Chapter 8Chaing Ravuth
 
CCNA (R & S) Module 04 - Scaling Networks - Chapter 3
CCNA (R & S) Module 04 - Scaling Networks - Chapter 3CCNA (R & S) Module 04 - Scaling Networks - Chapter 3
CCNA (R & S) Module 04 - Scaling Networks - Chapter 3Waqas Ahmed Nawaz
 
CCNA RS_NB - Chapter 6
CCNA RS_NB - Chapter 6CCNA RS_NB - Chapter 6
CCNA RS_NB - Chapter 6Irsandi Hasan
 
Chapter 05 - Ethernet
Chapter 05 - EthernetChapter 05 - Ethernet
Chapter 05 - EthernetYaser Rahmati
 
Chapter 5 : Ethernet
Chapter 5 : EthernetChapter 5 : Ethernet
Chapter 5 : Ethernetteknetir
 
CCNAv5 - S1: Chapter 5 - Ethernet
CCNAv5 - S1: Chapter 5 - EthernetCCNAv5 - S1: Chapter 5 - Ethernet
CCNAv5 - S1: Chapter 5 - EthernetVuz Dở Hơi
 
Chapter 14 : vlan
Chapter 14 : vlanChapter 14 : vlan
Chapter 14 : vlanteknetir
 
CCNAv5 - S2: Chapter1 Introsuction to switched networks
CCNAv5 - S2: Chapter1 Introsuction to switched networksCCNAv5 - S2: Chapter1 Introsuction to switched networks
CCNAv5 - S2: Chapter1 Introsuction to switched networksVuz Dở Hơi
 

Semelhante a Sca n instructorppt_chapter2_final (20)

CCNAv5 - S3: Chapter2 Lan Redundancy
CCNAv5 - S3: Chapter2 Lan RedundancyCCNAv5 - S3: Chapter2 Lan Redundancy
CCNAv5 - S3: Chapter2 Lan Redundancy
 
57798_Lectures1415.pptx
57798_Lectures1415.pptx57798_Lectures1415.pptx
57798_Lectures1415.pptx
 
L2 Attacks.pdf
L2 Attacks.pdfL2 Attacks.pdf
L2 Attacks.pdf
 
Chapter 6 : Network layer
Chapter 6 : Network layerChapter 6 : Network layer
Chapter 6 : Network layer
 
Chapter 06 - Network Layer
Chapter 06 - Network LayerChapter 06 - Network Layer
Chapter 06 - Network Layer
 
CCNAv5 - S4: Chapter3 Point to-point Connections
CCNAv5 - S4: Chapter3 Point to-point ConnectionsCCNAv5 - S4: Chapter3 Point to-point Connections
CCNAv5 - S4: Chapter3 Point to-point Connections
 
CCNA Exploration 3 - Chapter 5
CCNA Exploration 3 - Chapter 5CCNA Exploration 3 - Chapter 5
CCNA Exploration 3 - Chapter 5
 
Bandwidth measurement
Bandwidth measurementBandwidth measurement
Bandwidth measurement
 
Itn instructor ppt_chapter6_network_layer
Itn instructor ppt_chapter6_network_layerItn instructor ppt_chapter6_network_layer
Itn instructor ppt_chapter6_network_layer
 
Ccna v5-S1-Chapter 6
Ccna v5-S1-Chapter 6Ccna v5-S1-Chapter 6
Ccna v5-S1-Chapter 6
 
Icnd210 s02l02
Icnd210 s02l02Icnd210 s02l02
Icnd210 s02l02
 
Ccna routing and_switching_chapter-4-5
Ccna routing and_switching_chapter-4-5Ccna routing and_switching_chapter-4-5
Ccna routing and_switching_chapter-4-5
 
CCNP Switching Chapter 8
CCNP Switching Chapter 8CCNP Switching Chapter 8
CCNP Switching Chapter 8
 
CCNA (R & S) Module 04 - Scaling Networks - Chapter 3
CCNA (R & S) Module 04 - Scaling Networks - Chapter 3CCNA (R & S) Module 04 - Scaling Networks - Chapter 3
CCNA (R & S) Module 04 - Scaling Networks - Chapter 3
 
CCNA RS_NB - Chapter 6
CCNA RS_NB - Chapter 6CCNA RS_NB - Chapter 6
CCNA RS_NB - Chapter 6
 
Chapter 05 - Ethernet
Chapter 05 - EthernetChapter 05 - Ethernet
Chapter 05 - Ethernet
 
Chapter 5 : Ethernet
Chapter 5 : EthernetChapter 5 : Ethernet
Chapter 5 : Ethernet
 
CCNAv5 - S1: Chapter 5 - Ethernet
CCNAv5 - S1: Chapter 5 - EthernetCCNAv5 - S1: Chapter 5 - Ethernet
CCNAv5 - S1: Chapter 5 - Ethernet
 
Chapter 14 : vlan
Chapter 14 : vlanChapter 14 : vlan
Chapter 14 : vlan
 
CCNAv5 - S2: Chapter1 Introsuction to switched networks
CCNAv5 - S2: Chapter1 Introsuction to switched networksCCNAv5 - S2: Chapter1 Introsuction to switched networks
CCNAv5 - S2: Chapter1 Introsuction to switched networks
 

Sca n instructorppt_chapter2_final

  • 1. Chapter 2: LAN Redundancy Scaling Networks © 2008 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 1
  • 2. Chapter 2 2.0 Introduction 2 1 Spanning Tree Concepts2.1 Spanning Tree Concepts 2.2 Varieties of Spanning Tree Protocols 2 3 S i T C fi ti2.3 Spanning Tree Configuration 2.4 First-Hop Redundancy Protocols 2.5 Summary Presentation_ID 2© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 3. Chapter 2: Objectives  Describe the issues with implementing a redundant network.  Describe IEEE 802.1D STP operation.  Describe the different spanning tree varieties.  Describe PVST+ operation in a switched LAN environment.Describe PVST operation in a switched LAN environment.  Describe Rapid PVST+ operation in a switched LAN environment. C fi PVST+ i it h d LAN i t Configure PVST+ in a switched LAN environment.  Configure Rapid PVST+ in a switched LAN environment.  Identify common STP configuration issues.  Describe the purpose and operation of first hop redundancy protocols.y  Describe the different varieties of first hop redundancy protocols.  Use Cisco IOS commands to verify HSRP and GLBP Presentation_ID 3© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential  Use Cisco IOS commands to verify HSRP and GLBP implementations.
  • 4. 2.1 Spanning Tree CConcepts © 2008 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 4
  • 5. Purpose of Spanning Tree Redundancy at OSI Layers 1 and 2 Multiple cabled paths between switches:  Provide physical redundancy in a switched network.  Improves the reliability and availability of the network.  Enables users to access network resources, despite path disruption. Presentation_ID 5© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 6. Purpose of Spanning Tree Issues with Layer 1 Redundancy: MAC D t b I t bilitMAC Database Instability  Ethernet frames do not have a time to live (TTL) attributeEthernet frames do not have a time to live (TTL) attribute. • Frames continue to propagate between switches endlessly, or until a link is disrupted and breaks the loop.p p • Results in MAC database instability. • Can occur due to broadcast frames forwarding.g  If there is more than one path for the frame to be forwarded out, an endless loop can result.p • When a loop occurs, it is possible for the MAC address table on a switch to constantly change with the updates from the b d t f lti i MAC d t b i t bilitbroadcast frames, resulting in MAC database instability. Presentation_ID 6© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 7. Purpose of Spanning Tree Issues with Layer 1 Redundancy: B d t StBroadcast Storms  A broadcast storm occurs when there are so many broadcast frames caught in a Layer 2 loop that all available bandwidth is consumed. It is also known as denial of service  A broadcast storm is inevitable on a looped network. • As more devices send broadcasts over the network, more traffic is caught within the loop; thus consuming moretraffic is caught within the loop; thus consuming more resources. • This eventually creates a broadcast storm that causes theThis eventually creates a broadcast storm that causes the network to fail. Presentation_ID 7© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 8. Purpose of Spanning Tree Issues with Layer 1 Redundancy: B d t StBroadcast Storms Presentation_ID 8© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 9. Purpose of Spanning Tree Issues with Layer 1 Redundancy: D li t U i t FDuplicate Unicast Frames  Unicast frames sent onto a looped network can result in duplicateUnicast frames sent onto a looped network can result in duplicate frames arriving at the destination device.  Most upper layer protocols are not designed to recognize, or copepp y p g g , p with, duplicate transmissions.  Layer 2 LAN protocols, such as Ethernet, lack a mechanism toy p recognize and eliminate endlessly looping frames. Presentation_ID 9© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 10. Purpose of Spanning Tree Issues with Layer 1 Redundancy: D li t U i t FDuplicate Unicast Frames Presentation_ID 10© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 11. STP Operation Spanning Tree Algorithm: Introductionp g g  STP ensures that there is only one logical path between all destinations on the network by intentionally blocking redundantdestinations on the network by intentionally blocking redundant paths that could cause a loop.  A port is considered blocked when user data is prevented frompo t s co s de ed b oc ed e use data s p e e ted o 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 activenecessary ports to allow the redundant path to become active. Presentation_ID 11© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 12. STP Operation Spanning Tree Algorithm: Introductionp g g Presentation_ID 12© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 13. STP Operation Spanning Tree Algorithm: Introductionp g g Presentation_ID 13© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 14. STP Operation Spanning Tree Algorithm: Introductionp g g Presentation_ID 14© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 15. STP Operation Spanning Tree Algorithm: Port Rolesp g g Presentation_ID 15© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 16. STP Operation Spanning Tree Algorithm: Root Bridgep g g g Presentation_ID 16© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 17. STP Operation Spanning Tree Algorithm: Path Costp g g Presentation_ID 17© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 18. STP Operation 802.1D BPDU Frame Format Presentation_ID 18© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 19. STP Operation BPDU Propagation and Processp g Presentation_ID 19© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 20. STP Operation BPDU Propagation and Processp g Presentation_ID 20© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 21. STP Operation Extended System IDy STP was enhanced to include support for VLANs, requiring the VLAN ID to be included in the BPDU frame through the use of the t d d t ID Presentation_ID 21© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential extended system ID
  • 22. STP Operation Extended System IDy In the example, the priority of all the switches is 32769. The value is Presentation_ID 22© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential p , p y based on the 32768 default priority and the VLAN 1 assignment associated with each switch (32768+1).
  • 23. 2.2 Varieties of Spanning Tree Protocols © 2008 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 23
  • 24. Overview List of Spanning Tree Protocolsp g  STP or IEEE 802.1D-1998 S PVST+  IEEE 802.1D-2004  Rapid Spanning Tree Protocol (RSTP) or IEEE 802.1w  Rapid PVST+p  Multiple Spanning Tree Protocol (MSTP) or IEEE 802.1s Presentation_ID 24© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 25. STP Overview Characteristics of the Spanning Tree Protocols Presentation_ID 25© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 26. PVST+ Overview of PVST+ Networks running PVST+ have these characteristics: 802 1 S f A network can run an independent IEEE 802.1D STP instance for each VLAN in the network. O ti l d b l i lt Optimum load balancing can result.  One spanning-tree instance for each VLAN maintained can mean a considerable waste of CPU cycles for all the switches in thea considerable waste of CPU cycles for all the switches in the network. In addition to the bandwidth that is used for each instance to send its own BPDU. Presentation_ID 26© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 27. PVST+ Overview of PVST+ Presentation_ID 27© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 28. PVST+ Port States and PVST+ Operationp STP introduces the five port states: Presentation_ID 28© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 29. PVST+ Extended System ID and PVST+ Operationp  In a PVST+ environment, the extended switch ID ensures each switch has a unique BID for each VLANswitch has a unique BID for each VLAN.  For example, the VLAN 2 default BID would be 32770; priority 32768, plus the extended system ID of 2.3 68, p us t e e te ded syste o Presentation_ID 29© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 30. Rapid PVST+ Overview of Rapid PVST+p  RSTP is the preferred protocol for preventing Layer 2 loops in a switched network environmentswitched network environment.  With Rapid PVST+, an independent instance of RSTP runs for each VLAN.eac  RSTP supports a new port type: an alternate port in discarding state.  There are no blocking ports. RSTP defines port states as discarding, learning, or forwarding.  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 ll 8 bit Presentation_ID 30© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential uses all 8 bits.
  • 31. Rapid PVST+ Overview of Rapid PVST+p Presentation_ID 31© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 32. Rapid PVST+ RSTP BPDU Presentation_ID 32© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 33. Rapid PVST+ Edge Portsg Presentation_ID 33© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 34. Rapid PVST+ Link Typesyp The link type can determine whether the port can immediately transition to forwarding state. Edge port connections and point-to- Presentation_ID 34© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential point connections are candidates for rapid transition to forwarding state.
  • 35. 2.3 Spanning Tree C fConfiguration © 2008 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 35
  • 36. PVST+ Configuration Catalyst 2960 Default Configurationy g Presentation_ID 36© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 37. PVST+ Configuration Configuring and Verifying the Bridge IDg g y g g Presentation_ID 37© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 38. PVST+ Configuration Configuring and Verifying the Bridge IDg g y g g Presentation_ID 38© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 39. PVST+ Configuration PortFast and BPDU Guard  When a switch port is configured with PortFastg that port transitions from blocking to forwarding state immediately.state immediately.  BPDU guard puts the port in an error disabled statein an error-disabled state on receipt of a BPDU. Presentation_ID 39© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 40. PVST+ Configuration PVST+ Load Balancingg Presentation_ID 40© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 41. PVST+ Configuration PVST+ Load Balancingg  Another method to specify the root bridge is to set the spanning tree priority on each switch to the lowest value so that the switch istree priority on each switch to the lowest value so that the switch is selected as the primary bridge for its associated VLAN. Presentation_ID 41© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 42. PVST+ Configuration PVST+ Load Balancingg  Display and verify spanning tree configuration details. Presentation_ID 42© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 43. PVST+ Configuration PVST+ Load Balancingg Presentation_ID 43© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 44. Rapid PVST+ Configuration Spanning Tree Modep g Rapid PVST+ is the Ciscop implementation of RSTP. It supports RSTP on a per- VLAN basisVLAN basis. Presentation_ID 44© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 45. STP Configuration Issues Analyzing the STP Topologyy g p gy Presentation_ID 45© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 46. STP Configuration Issues Expected Topology versus Actual TopologyExpected Topology versus Actual Topology Presentation_ID 46© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 47. STP Configuration Issues Overview of Spanning Tree Statusp g Presentation_ID 47© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 48. STP Configuration Issues Spanning-Tree Failure Consequencesp g q  STP erroneously moves one or more ports into the forwarding state.  Any frame that is floodedAny frame that is flooded by a switch enters the loop. Presentation_ID 48© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 49. STP Configuration Issues Repairing a Spanning Tree Problemp g p g  One way to correct spanning-tree failure is to manually removey p g y redundant links in the switched network, either physically or through configuration, until all loops are eliminated from the topologytopology.  Before restoring the redundant links, determine and correct the cause of the spanning-tree failurecause of the spanning tree failure.  Carefully monitor the network to ensure that the problem is fixed. Presentation_ID 49© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 50. 2.4 First-Hop Redundancy ProtocolsProtocols © 2008 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 50
  • 51. Concept of First-Hop Redundancy Protocols Default Gateway Limitationsy  If the default gateway cannot be reached thecannot be reached, the local device is unable to send packets off the local network segmentlocal network segment.  Even if a redundant t i t th t ldrouter exists that could serve as a default gateway for that segment, there is no dynamic method by which these deviceswhich these devices can determine the address of a new default gateway Presentation_ID 51© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential default gateway.
  • 52. Concept of First-Hop Redundancy Protocols Router Redundancyy  Multiple routers are configured to workconfigured to work together to present the illusion of a single router to thesingle router to the hosts on the LAN. Th bilit f The ability of a network to dynamically recover from the failure of a device acting as a defaultacting as a default gateway is known as first-hop redundancy Presentation_ID 52© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential redundancy.
  • 53. Concept of First-Hop Redundancy Protocols Steps for Router Failoverp Presentation_ID 53© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 54. Varieties of First-Hop Redundancy Protocols First-Hop Redundancy Protocolsp y  Hot Standby Router Protocol (HSRP) S f 6 HSRP for IPv6  Virtual Router Redundancy Protocol version 2 (VRRPv2)  VRRPv3  Gateway Load Balancing Protocol (GLBP)y g ( )  GLBP for IPv6  ICMP Router Discovery Protocol (IRDP) ICMP Router Discovery Protocol (IRDP) Presentation_ID 54© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 55. Varieties of First-Hop Redundancy Protocols First-Hop Redundancy Protocolsp y Presentation_ID 55© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 56. FHRP Verification HSRP Verification Presentation_ID 56© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 57. FHRP Verification GLBP Verification  Gateway Load Balancing Protocol (GLBP) is a Cisco proprietary solution to allow automatic selection and simultaneous use ofsolution to allow automatic selection and simultaneous use of multiple available gateways in addition to automatic failover between those gateways. Presentation_ID 57© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 58. 2.5 Summaryy © 2008 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 58
  • 59. Chapter 2: 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 switchesCisco switches.  RSTP, can be implemented on Cisco switches on a per-VLAN basis in the form of Rapid PVST+.in the form of Rapid PVST .  With PVST+ and Rapid PVST+, root bridges can be configured proactively to enable spanning tree load balancing.p y p g g  First hop redundancy protocols, such as HSRP, VRRP, and GLBP provide alternate default gateways for hosts in the switchedg y environment. Presentation_ID 59© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 60. Presentation_ID 60© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential