SlideShare uma empresa Scribd logo
1 de 30
© 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.0—2-1
Medium-Sized Switched Network Construction
Improving
Performance with
Spanning Tree
© 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.0—2-2
Interconnection Technologies
Technology Use
Fast Ethernet Connects end-user devices to
the access layer switch
Gigabit Ethernet Connects access switch to
distribution switch and high
use servers to switches
10-Gigabit
Ethernet
Provides high-speed switch to
switch links, backbones
EtherChannel Provides high-speed switch to
switch links, backbones with
redundancy
© 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.0—2-3
Determining Equipment and
Cabling Needs
Each link provides adequate
bandwidth for the total aggregate
traffic over that link.
© 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.0—2-4
Advantages of EtherChannel
 Logical aggregation of similar
links between switches
 Load-shares across links
 Viewed as one logical port
to STP
 Redundancy
© 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.0—2-5
Redundant Topology
 Redundant topology eliminates single points of failure.
 Redundant topology causes broadcast storms, multiple
frame copies, and MAC address table instability problems.
© 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.0—2-6
 Station D sends a broadcast frame.
 Broadcast frames are flooded to all ports
except the originating port.
Broadcast Frames
© 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.0—2-7
Broadcast Storms
 Host X sends a broadcast.
 Switches continue to propagate
broadcast traffic over and over.
© 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.0—2-8
Multiple Frame Copies
 Host X sends a unicast frame to router Y.
 The MAC address of router Y has not been
learned by either switch.
 Router Y will receive two copies of the same frame.
© 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.0—2-9
 Host X sends a unicast frame to router Y.
 The MAC address of router Y has not been learned by either switch.
 Switches A and B learn the MAC address of host X on port 1.
 The frame to router Y is flooded.
 Switches A and B incorrectly learn the MAC address of host X on port 2.
MAC Database Instability
© 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.0—2-10
 Provides a loop-free redundant network topology
by placing certain ports in the blocking state
 Published in the IEEE 802.1D specification
 Enhanced with the Cisco PVST+ implementation
Loop Resolution with STP
© 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.0—2-11
Spanning-Tree Operation
 One root bridge per broadcast domain.
 One root port per nonroot bridge.
 One designated port per segment.
 Nondesignated ports are unused.
© 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.0—2-12
STP Root Bridge Selection
 BPDU (default = sent every 2 seconds)
 Root bridge = bridge with the lowest bridge ID
 Bridge ID =
Bridge
Priority
MAC
Address
© 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.0—2-13
Spanning tree transits each port through several different states:
Spanning-Tree Port States
© 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.0—2-14
Describing PortFast
PortFast is configured on access ports, not trunk ports.
© 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.0—2-15
Configuring and Verifying PortFast
spanning-tree portfast
SwitchX(config-if)#
 Configures PortFast on an interface
spanning-tree portfast default
SwitchX(config)#
 Enables PortFast on all non-trunking interfaces
show running-config interface interface
SwitchX#
 Verifies that PortFast has been configured on an interface
OR
© 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.0—2-16
Spanning-Tree Operation Example
© 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.0—2-17
Spanning-Tree Path Cost
Link Speed
Cost (Revised IEEE
Specification)
Cost (Previous IEEE
Specification)
10 Gb/s 2 1
1 Gb/s 4 1
100 Mb/s 19 10
10 Mb/s 100 100
© 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.0—2-18
Spanning-Tree Recalculation
© 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.0—2-19
Per VLAN Spanning Tree Plus
© 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.0—2-20
PVST+ Extended Bridge ID
Bridge ID without the
extended system ID
Extended bridge ID
with system ID
System ID = VLAN
© 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.0—2-21
Rapid Spanning Tree Protocol
© 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.0—2-22
Default Spanning-Tree Configuration
 Cisco Catalyst switches support three types of STPs:
– PVST+
– PVRST+
– MSTP
 The default STP for Cisco Catalyst switches is PVST+ :
– A separate STP instance for each VLAN
– One root bridge for each VLANs
– Load sharing
© 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.0—2-23
PVRST+ Configuration Guidelines
1. Enable PVRST+.
2. Designate and configure a switch to be the root bridge.
3. Designate and configure a switch to be the secondary
root bridge.
4. Verify the configuration.
© 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.0—2-24
PVRST+ Implementation Commands
spanning-tree mode rapid-pvst
SwitchX(config)#
 Configures PVRST+
show spanning-tree vlan vlan# [detail]
SwitchX#
 Verifies the spanning-tree configuration
debug spanning-tree pvst+
SwitchX#
 Displays PVST+ event debug messages
© 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.0—2-25
Verifying PVRST+
The spanning-tree mode is set to PVRST.
SwitchX# show spanning-tree vlan 30
VLAN0030
Spanning tree enabled protocol rstp
Root ID Priority 24606
Address 00d0.047b.2800
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 24606 (priority 24576 sys-id-ext 30)
Address 00d0.047b.2800
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300
Interface Role Sts Cost Prio.Nbr Type
-------- ----- --- --- -------- ----
Gi1/1 Desg FWD 4 128.1 P2p
Gi1/2 Desg FWD 4 128.2 P2p
Gi5/1 Desg FWD 4 128.257 P2p
© 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.0—2-26
Configuring the Root and
Secondary Bridges
© 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.0—2-27
Configuring the Root and
Secondary Bridges: SwitchA
spanning-tree vlan 1 root primary
 This command forces this switch to be the root for VLAN 1.
spanning-tree vlan 2 root secondary
 This command configures this switch to be the secondary root
for VLAN 2.
OR
spanning-tree vlan # priority priority
 This command statically configures the priority (increments of 4096).
SwitchA(config)#
SwitchA(config)#
SwitchA(config)#
© 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.0—2-28
Configuring the Root and
Secondary Bridges: SwitchB
spanning-tree vlan 2 root primary
 This command forces the switch to be the root for VLAN 2.
spanning-tree vlan 1 root secondary
 This command configures the switch to be the secondary root VLAN 1.
OR
spanning-tree vlan # priority priority
 This command statically configures the priority (increments of 4096).
SwitchB(config)#
SwitchB(config)#
SwitchB(config)#
© 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.0—2-29
Summary
 A redundant switched topology includes multihomed switches and
EtherChannel.
 A redundant switched topology causes looping issues such as
broadcast storms.
 The 802.1D STP establishes a loop-free network.
 The original STP has been enhanced by PVST+ and RSTP.
© 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.0—2-30

Mais conteúdo relacionado

Mais procurados (20)

Icnd210 s03l02
Icnd210 s03l02Icnd210 s03l02
Icnd210 s03l02
 
Icnd210 s08l03
Icnd210 s08l03Icnd210 s08l03
Icnd210 s08l03
 
Icnd210 s08l02
Icnd210 s08l02Icnd210 s08l02
Icnd210 s08l02
 
CCNA Icnd110 s06l02
CCNA Icnd110 s06l02CCNA Icnd110 s06l02
CCNA Icnd110 s06l02
 
Icnd210 s01l01
Icnd210 s01l01Icnd210 s01l01
Icnd210 s01l01
 
Icnd210 s02l05
Icnd210 s02l05Icnd210 s02l05
Icnd210 s02l05
 
Icnd210 s03l01
Icnd210 s03l01Icnd210 s03l01
Icnd210 s03l01
 
Icnd210 s01l02
Icnd210 s01l02Icnd210 s01l02
Icnd210 s01l02
 
CCNA Icnd110 s06l03
CCNA Icnd110 s06l03CCNA Icnd110 s06l03
CCNA Icnd110 s06l03
 
Icnd210 s04l01
Icnd210 s04l01Icnd210 s04l01
Icnd210 s04l01
 
Icnd210 s08l01
Icnd210 s08l01Icnd210 s08l01
Icnd210 s08l01
 
Icnd210 s00
Icnd210 s00Icnd210 s00
Icnd210 s00
 
Icnd210 s07l01
Icnd210 s07l01Icnd210 s07l01
Icnd210 s07l01
 
Icnd210 s04l02
Icnd210 s04l02Icnd210 s04l02
Icnd210 s04l02
 
Icnd210 s06l01
Icnd210 s06l01Icnd210 s06l01
Icnd210 s06l01
 
Icnd210 s02l06
Icnd210 s02l06Icnd210 s02l06
Icnd210 s02l06
 
CCNA Icnd110 s06l01
 CCNA Icnd110 s06l01 CCNA Icnd110 s06l01
CCNA Icnd110 s06l01
 
Icnd210 s07l02
Icnd210 s07l02Icnd210 s07l02
Icnd210 s07l02
 
CCNA Icnd110 s04l10
CCNA Icnd110 s04l10CCNA Icnd110 s04l10
CCNA Icnd110 s04l10
 
Icnd210 s05l02
Icnd210 s05l02Icnd210 s05l02
Icnd210 s05l02
 

Semelhante a Icnd210 s02l02

CCNAv5 - S3: Chapter2 Lan Redundancy
CCNAv5 - S3: Chapter2 Lan RedundancyCCNAv5 - S3: Chapter2 Lan Redundancy
CCNAv5 - S3: Chapter2 Lan RedundancyVuz Dở Hơi
 
Deploying Carrier Ethernet Features on Cisco ASR 9000
Deploying Carrier Ethernet Features on Cisco ASR 9000Deploying Carrier Ethernet Features on Cisco ASR 9000
Deploying Carrier Ethernet Features on Cisco ASR 9000Vinod Kumar Balasubramanyam
 
Brk 135 t-ccna_switching
Brk 135 t-ccna_switchingBrk 135 t-ccna_switching
Brk 135 t-ccna_switchingparthasn83
 
Sca n instructorppt_chapter2_final
Sca n instructorppt_chapter2_finalSca n instructorppt_chapter2_final
Sca n instructorppt_chapter2_finalPhuc Anh Tran
 
Day 15 spanning tree protocol
Day 15 spanning tree protocolDay 15 spanning tree protocol
Day 15 spanning tree protocolCYBERINTELLIGENTS
 
Spanning tree protocol
Spanning tree protocolSpanning tree protocol
Spanning tree protocolMuuluu
 
CCNA3 Verson6 Chapter3
CCNA3 Verson6 Chapter3CCNA3 Verson6 Chapter3
CCNA3 Verson6 Chapter3Chaing Ravuth
 
57798_Lectures1415.pptx
57798_Lectures1415.pptx57798_Lectures1415.pptx
57798_Lectures1415.pptxSheerazAli55
 
Exploration routing chapter_7
Exploration routing chapter_7Exploration routing chapter_7
Exploration routing chapter_7Joshua Torres
 
AMD Chiplet Architecture for High-Performance Server and Desktop Products
AMD Chiplet Architecture for High-Performance Server and Desktop ProductsAMD Chiplet Architecture for High-Performance Server and Desktop Products
AMD Chiplet Architecture for High-Performance Server and Desktop ProductsAMD
 

Semelhante a Icnd210 s02l02 (20)

Day 13.1..1 catalyst switch
Day 13.1..1 catalyst switchDay 13.1..1 catalyst switch
Day 13.1..1 catalyst switch
 
CCNA Icnd110 s02l07
CCNA Icnd110 s02l07CCNA Icnd110 s02l07
CCNA Icnd110 s02l07
 
CCNAv5 - S3: Chapter2 Lan Redundancy
CCNAv5 - S3: Chapter2 Lan RedundancyCCNAv5 - S3: Chapter2 Lan Redundancy
CCNAv5 - S3: Chapter2 Lan Redundancy
 
Deploying Carrier Ethernet Features on Cisco ASR 9000
Deploying Carrier Ethernet Features on Cisco ASR 9000Deploying Carrier Ethernet Features on Cisco ASR 9000
Deploying Carrier Ethernet Features on Cisco ASR 9000
 
Deploying Carrier Ethernet features on ASR 9000
Deploying Carrier Ethernet features on ASR 9000Deploying Carrier Ethernet features on ASR 9000
Deploying Carrier Ethernet features on ASR 9000
 
Brk 135 t-ccna_switching
Brk 135 t-ccna_switchingBrk 135 t-ccna_switching
Brk 135 t-ccna_switching
 
Sca n instructorppt_chapter2_final
Sca n instructorppt_chapter2_finalSca n instructorppt_chapter2_final
Sca n instructorppt_chapter2_final
 
CCNA Icnd110 s02l02
CCNA Icnd110 s02l02CCNA Icnd110 s02l02
CCNA Icnd110 s02l02
 
Day 15 spanning tree protocol
Day 15 spanning tree protocolDay 15 spanning tree protocol
Day 15 spanning tree protocol
 
CCNA Icnd110 s02l05
CCNA Icnd110 s02l05CCNA Icnd110 s02l05
CCNA Icnd110 s02l05
 
Spanning tree protocol
Spanning tree protocolSpanning tree protocol
Spanning tree protocol
 
CCNA Icnd110 s01l08
CCNA Icnd110 s01l08CCNA Icnd110 s01l08
CCNA Icnd110 s01l08
 
Ccnp3 lab 3_3_en
Ccnp3 lab 3_3_enCcnp3 lab 3_3_en
Ccnp3 lab 3_3_en
 
CCNA Icnd110 s02l08
 CCNA Icnd110 s02l08 CCNA Icnd110 s02l08
CCNA Icnd110 s02l08
 
CCNA3 Verson6 Chapter3
CCNA3 Verson6 Chapter3CCNA3 Verson6 Chapter3
CCNA3 Verson6 Chapter3
 
57798_Lectures1415.pptx
57798_Lectures1415.pptx57798_Lectures1415.pptx
57798_Lectures1415.pptx
 
Exploration routing chapter_7
Exploration routing chapter_7Exploration routing chapter_7
Exploration routing chapter_7
 
CCNA Icnd110 s02l03
CCNA Icnd110 s02l03CCNA Icnd110 s02l03
CCNA Icnd110 s02l03
 
AMD Chiplet Architecture for High-Performance Server and Desktop Products
AMD Chiplet Architecture for High-Performance Server and Desktop ProductsAMD Chiplet Architecture for High-Performance Server and Desktop Products
AMD Chiplet Architecture for High-Performance Server and Desktop Products
 
Itn instructor ppt_chapter6_network_layer
Itn instructor ppt_chapter6_network_layerItn instructor ppt_chapter6_network_layer
Itn instructor ppt_chapter6_network_layer
 

Mais de computerlenguyen

Mais de computerlenguyen (6)

Icnd210 s08l05
Icnd210 s08l05Icnd210 s08l05
Icnd210 s08l05
 
Icnd210 s07l03
Icnd210 s07l03Icnd210 s07l03
Icnd210 s07l03
 
Icnd210 s06l03
Icnd210 s06l03Icnd210 s06l03
Icnd210 s06l03
 
Icnd210 s05l03
Icnd210 s05l03Icnd210 s05l03
Icnd210 s05l03
 
Icnd210 s04l03
Icnd210 s04l03Icnd210 s04l03
Icnd210 s04l03
 
Icnd210 s03l03
Icnd210 s03l03Icnd210 s03l03
Icnd210 s03l03
 

Último

Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptxDecoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptxDhatriParmar
 
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Association for Project Management
 
Oppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmOppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmStan Meyer
 
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxGrade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxkarenfajardo43
 
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...DhatriParmar
 
Mental Health Awareness - a toolkit for supporting young minds
Mental Health Awareness - a toolkit for supporting young mindsMental Health Awareness - a toolkit for supporting young minds
Mental Health Awareness - a toolkit for supporting young mindsPooky Knightsmith
 
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...DhatriParmar
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxVanesaIglesias10
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Seán Kennedy
 
MS4 level being good citizen -imperative- (1) (1).pdf
MS4 level   being good citizen -imperative- (1) (1).pdfMS4 level   being good citizen -imperative- (1) (1).pdf
MS4 level being good citizen -imperative- (1) (1).pdfMr Bounab Samir
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxlancelewisportillo
 
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQ-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQuiz Club NITW
 
4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptxmary850239
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4JOYLYNSAMANIEGO
 
How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17Celine George
 
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxBIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxSayali Powar
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 

Último (20)

Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptxDecoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
 
Paradigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTAParadigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTA
 
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
 
Oppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmOppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and Film
 
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxGrade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
 
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
 
Mental Health Awareness - a toolkit for supporting young minds
Mental Health Awareness - a toolkit for supporting young mindsMental Health Awareness - a toolkit for supporting young minds
Mental Health Awareness - a toolkit for supporting young minds
 
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptx
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...
 
MS4 level being good citizen -imperative- (1) (1).pdf
MS4 level   being good citizen -imperative- (1) (1).pdfMS4 level   being good citizen -imperative- (1) (1).pdf
MS4 level being good citizen -imperative- (1) (1).pdf
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
 
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQ-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
 
4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4
 
How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17
 
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptxINCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
 
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxBIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 

Icnd210 s02l02

  • 1. © 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.0—2-1 Medium-Sized Switched Network Construction Improving Performance with Spanning Tree
  • 2. © 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.0—2-2 Interconnection Technologies Technology Use Fast Ethernet Connects end-user devices to the access layer switch Gigabit Ethernet Connects access switch to distribution switch and high use servers to switches 10-Gigabit Ethernet Provides high-speed switch to switch links, backbones EtherChannel Provides high-speed switch to switch links, backbones with redundancy
  • 3. © 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.0—2-3 Determining Equipment and Cabling Needs Each link provides adequate bandwidth for the total aggregate traffic over that link.
  • 4. © 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.0—2-4 Advantages of EtherChannel  Logical aggregation of similar links between switches  Load-shares across links  Viewed as one logical port to STP  Redundancy
  • 5. © 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.0—2-5 Redundant Topology  Redundant topology eliminates single points of failure.  Redundant topology causes broadcast storms, multiple frame copies, and MAC address table instability problems.
  • 6. © 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.0—2-6  Station D sends a broadcast frame.  Broadcast frames are flooded to all ports except the originating port. Broadcast Frames
  • 7. © 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.0—2-7 Broadcast Storms  Host X sends a broadcast.  Switches continue to propagate broadcast traffic over and over.
  • 8. © 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.0—2-8 Multiple Frame Copies  Host X sends a unicast frame to router Y.  The MAC address of router Y has not been learned by either switch.  Router Y will receive two copies of the same frame.
  • 9. © 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.0—2-9  Host X sends a unicast frame to router Y.  The MAC address of router Y has not been learned by either switch.  Switches A and B learn the MAC address of host X on port 1.  The frame to router Y is flooded.  Switches A and B incorrectly learn the MAC address of host X on port 2. MAC Database Instability
  • 10. © 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.0—2-10  Provides a loop-free redundant network topology by placing certain ports in the blocking state  Published in the IEEE 802.1D specification  Enhanced with the Cisco PVST+ implementation Loop Resolution with STP
  • 11. © 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.0—2-11 Spanning-Tree Operation  One root bridge per broadcast domain.  One root port per nonroot bridge.  One designated port per segment.  Nondesignated ports are unused.
  • 12. © 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.0—2-12 STP Root Bridge Selection  BPDU (default = sent every 2 seconds)  Root bridge = bridge with the lowest bridge ID  Bridge ID = Bridge Priority MAC Address
  • 13. © 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.0—2-13 Spanning tree transits each port through several different states: Spanning-Tree Port States
  • 14. © 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.0—2-14 Describing PortFast PortFast is configured on access ports, not trunk ports.
  • 15. © 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.0—2-15 Configuring and Verifying PortFast spanning-tree portfast SwitchX(config-if)#  Configures PortFast on an interface spanning-tree portfast default SwitchX(config)#  Enables PortFast on all non-trunking interfaces show running-config interface interface SwitchX#  Verifies that PortFast has been configured on an interface OR
  • 16. © 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.0—2-16 Spanning-Tree Operation Example
  • 17. © 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.0—2-17 Spanning-Tree Path Cost Link Speed Cost (Revised IEEE Specification) Cost (Previous IEEE Specification) 10 Gb/s 2 1 1 Gb/s 4 1 100 Mb/s 19 10 10 Mb/s 100 100
  • 18. © 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.0—2-18 Spanning-Tree Recalculation
  • 19. © 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.0—2-19 Per VLAN Spanning Tree Plus
  • 20. © 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.0—2-20 PVST+ Extended Bridge ID Bridge ID without the extended system ID Extended bridge ID with system ID System ID = VLAN
  • 21. © 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.0—2-21 Rapid Spanning Tree Protocol
  • 22. © 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.0—2-22 Default Spanning-Tree Configuration  Cisco Catalyst switches support three types of STPs: – PVST+ – PVRST+ – MSTP  The default STP for Cisco Catalyst switches is PVST+ : – A separate STP instance for each VLAN – One root bridge for each VLANs – Load sharing
  • 23. © 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.0—2-23 PVRST+ Configuration Guidelines 1. Enable PVRST+. 2. Designate and configure a switch to be the root bridge. 3. Designate and configure a switch to be the secondary root bridge. 4. Verify the configuration.
  • 24. © 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.0—2-24 PVRST+ Implementation Commands spanning-tree mode rapid-pvst SwitchX(config)#  Configures PVRST+ show spanning-tree vlan vlan# [detail] SwitchX#  Verifies the spanning-tree configuration debug spanning-tree pvst+ SwitchX#  Displays PVST+ event debug messages
  • 25. © 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.0—2-25 Verifying PVRST+ The spanning-tree mode is set to PVRST. SwitchX# show spanning-tree vlan 30 VLAN0030 Spanning tree enabled protocol rstp Root ID Priority 24606 Address 00d0.047b.2800 This bridge is the root Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Bridge ID Priority 24606 (priority 24576 sys-id-ext 30) Address 00d0.047b.2800 Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Aging Time 300 Interface Role Sts Cost Prio.Nbr Type -------- ----- --- --- -------- ---- Gi1/1 Desg FWD 4 128.1 P2p Gi1/2 Desg FWD 4 128.2 P2p Gi5/1 Desg FWD 4 128.257 P2p
  • 26. © 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.0—2-26 Configuring the Root and Secondary Bridges
  • 27. © 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.0—2-27 Configuring the Root and Secondary Bridges: SwitchA spanning-tree vlan 1 root primary  This command forces this switch to be the root for VLAN 1. spanning-tree vlan 2 root secondary  This command configures this switch to be the secondary root for VLAN 2. OR spanning-tree vlan # priority priority  This command statically configures the priority (increments of 4096). SwitchA(config)# SwitchA(config)# SwitchA(config)#
  • 28. © 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.0—2-28 Configuring the Root and Secondary Bridges: SwitchB spanning-tree vlan 2 root primary  This command forces the switch to be the root for VLAN 2. spanning-tree vlan 1 root secondary  This command configures the switch to be the secondary root VLAN 1. OR spanning-tree vlan # priority priority  This command statically configures the priority (increments of 4096). SwitchB(config)# SwitchB(config)# SwitchB(config)#
  • 29. © 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.0—2-29 Summary  A redundant switched topology includes multihomed switches and EtherChannel.  A redundant switched topology causes looping issues such as broadcast storms.  The 802.1D STP establishes a loop-free network.  The original STP has been enhanced by PVST+ and RSTP.
  • 30. © 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.0—2-30

Notas do Editor

  1. 142,142,149
  2. Emphasize: Layer 2 has no mechanism (like a TTL) to stop loops.
  3. Layer 3 of 3 Emphasize: Layer 2 has no TTL mechanism to stop looping frames.
  4. Layer 2 of 2
  5. Layer 2 of 2
  6. Emphasize: A looped topology is often desired to provide redundancy, but looped traffic is undesirable. The Spanning-Tree protocol was originally designed for bridges. Today, it is also applied to LAN switches and routers operating as a bridge. Spanning-Tree protocol ensures that all bridged segments are reachable but any points where loops occur will be blocked. Trinh bay STP , bat dau tu slide nay .
  7. Emphasize: The three general rules when dealing with STP are as follows: 1. One root bridge per network. The root is the bridge with the lowest bridge ID. All the ports on the root bridge are designated ports (forwarding). 2. For every non-root bridge, there is a root port (forwarding). The root port is the port with the lowest accumulated path cost to the root bridge. 3. For every segment, there is only one designated port. The designated port forwards traffic for the segment. The designated port has the lowest accumulated path cost to the root bridge. Trong Slide này ta chỉ rõ trong môi trường switch chỉ có 1 ROOT , là vị VUA duy nhất của tất cả các switch . Vẽ mô hình 3 switch ra và chỉ ra 1 vị vua . Root port provide the nearest path for NON-ROOT to reach to ROOT . Designated Port provide the nearest path for SEGMENTs to reach the ROOT .
  8. Emphasize: By default, the switch with the lowest MAC address will be the root bridge. Note: The Catalyst switches support an instance of spanning tree per VLAN. Each VLAN will use a unique MAC address for spanning tree purposes. On the Catalyst 1900, the address it uses for spanning tree is the MAC address on the various ports. VLAN is discussed in the next chapter. The IEEE 802.1d specification specifies for a 16-bit priority field. The Catalyst 1900 switch only supports the 802.1d Spanning-Tree protocol. The default priority on the Catalyst 1900 is 32768 in decimal or 8000 in hex, the midrange value. BPDU contain the following fields: Protocol ID version Message type Flags Root ID Cost of path Bridge ID Port ID Message age Max age Hello time Forward delay
  9. Emphasize: Using the default Spanning-Tree protocol timers setting, the times it takes to go from the blocking state to the forwarding state is 50 sec (20 + 15 + 15). Sau khi giải thích SLIDE này xong , vẽ ra mô hình 3 switch kết nối hình tam giác . Demo khi nào converge 30s , khi nào converge 50s .
  10. Layer 2 of 2 Emphasize: Switch X and Y have the same path cost to the root bridge. The DP for the bottom segment is on switch X because switch X has a lower bridge ID than switch Y.
  11. Emphasize: There are two cost calculation methods. The Catalyst 1900 uses the older method. The new method is designed to accommodate the higher gigabit Ethernet speed. Note: Port priority is used to determine which path has preference when path costs are equal (for example, when you have two parallel links connecting two switches together). The default port priority is 128. The port aggregation protocol and EtherChannels® are not taught in this class. Fast EtherChannel is supported by the Catalyst 1900 switch.
  12. Emphasize: RPs and DPs are normally in the forwarding state. There is only one DP per segment.