Module 09 (Spanning Tree)
Module 09 (Spanning Tree)
© 2008 Extreme Networks, Inc. All rights reserved. ExtremeXOS Operation and Configuration, Version 12.1. Part number DOC-00919.
Student Objectives
Depending on the needs of the students, the instructor may choose to reduce or eliminate the protocol
overview portion of this module.
Slide 2
Spanning Tree
Detects and
Allows for
reroutes any
redundant
broken
bridging paths
network paths
Prevents
network
loops from
occurring
Slide 3
Network Redundancy
Slide 4
Looped Topologies Cause Broadcast Storms
Broadcast Storm
Broadcast
Slide 5
Identifying the Solution
Slide 6
Spanning Tree Algorithm
Slide 7
Reconfiguration After a Link Failure
Link
Lost
Link
Restored
Slide 8
Spanning Tree Port States
Slide 9
How Spanning Tree Works
Root Bridge
Root Port Root Port
Root Port
Slide 10
Spanning Tree Protocol Building Block
Slide 11
Selecting the Root Bridge
Slide 12
Selecting the Root Bridge (Continued…)
79:00:00:01:30:00:00:01 80:00:00:01:30:00:00:02
1 1000 2
Root
100 1000
100 100
3 100 4
80:00:00:01:30:00:00:03 80:00:00:01:30:00:00:04
Slide 13
Selecting the Root Port
Each switch except the root bridge selects the root port as follows:
• The port that provides the lowest total cost to the root bridge.
• If the cost is the same, whichever has the lowest port number.
Root ports are allowed to forward traffic.
Only one root port per spanning tree, per bridge.
Slide 14
Selecting the Root Port (Continued…)
79:00:00:01:30:00:00:01 80:00:00:01:30:00:00:02
3 1
1 4 R 2
Root 1 2 2 3
19 4
R 2 19 19 2 R
1 3
3 1
3 19 4
80:00:00:01:30:00:00:03 80:00:00:01:30:00:00:04
Slide 15
Selecting the Designated Bridge
79:00:00:01:30:00:00:01 80:00:00:01:30:00:00:02
1 D 4 R 2
3 1
Root 1 D D 2 2 D D 3
19 4
R
2 19 19 2
R
1 3
3 1
3 D 19 4
80:00:00:01:30:00:00:03 80:00:00:01:30:00:00:04
Slide 16
Selecting the Designated Port
79:00:00:01:30:00:00:01 80:00:00:01:30:00:00:02
1 D 4 R 2
3 1
Root 1 D D 2 2 D D 3
19 4
R
2 19 19 2
R
1 3
3 D 19 4
3 1
80:00:00:01:30:00:00:03 80:00:00:01:30:00:00:04
Slide 17
Forwarding and Blocking Ports
79:00:00:01:30:00:00:01 80:00:00:01:30:00:00:02
1 D 4 R 2
3 1
Root 1 D D
2 2 D 3
D
19 4
19 19
2 2
1 R R 3
3 19 D 4
3 1
80:00:00:01:30:00:00:03 80:00:00:01:30:00:00:04
Slide 18
Active Topology
79:00:00:01:30:00:00:01 80:00:00:01:30:00:00:02
1 2
3 1
Root 1 2 2 3
2 2
1 3
3 4
3 1
80:00:00:01:30:00:00:03 80:00:00:01:30:00:00:04
Slide 19
Detecting Topology Changes
Slide 20
A Change in Active Topology
1 2
3 1
Root 1 2 2 3
Break
2 2
1 3
3 4
3 1
80:00:00:01:30:00:00:03 80:00:00:01:30:00:00:04
Slide 21
Recalculating Port States
79:00:00:01:30:00:00:01 80:00:00:01:30:00:00:02
1 D 4 R 2
3 1
Root 1 D D
2 2 3
D
19
19 19
2 R 2
1 R 3
D
3 19 4
3 1
80:00:00:01:30:00:00:03 80:00:00:01:30:00:00:04
Slide 22
New Active Topology
1 2
3 1
Root 1 2 2 3
Break
2 2
1 3
3 4
3 1
80:00:00:01:30:00:00:03 80:00:00:01:30:00:00:04
Slide 23
Planning a Spanning Tree Topology
Slide 24
Spanning Tree Enhancements
Slide 25
Spanning Tree Enhancements (Continued…)
Slide 26
Configuring a Single Spanning Tree in dot1w Mode
Enable the STP protocol for the STPD, by using the following syntax. The
default spanning tree domain is s0.
• enable stpd {<stpd_name>}
Configure the default STP domain for 802.1w mode:
• configure stpd s0 mode dot1w
Add VLANs to the spanning tree domain:
• configure stpd <stpd_name> add vlan <vlan name> port <portlist>
Optionally, configure bridge priority to control election of the root bridge:
• configure stpd <stpd_name> priority <priority>
For RSTP and MSTP priorities are in increments of 4096
Optionally, configure port cost to control election of designated bridge and
designated port:
• configure stpd <stpd_name> ports cost <auto | cost> <portlist>
Slide 27
Configuring a Single STPD in dot1w Mode (Continued...)
Slide 28
Configuring STP Parameters
Slide 29
Verifying STP Configuration
If the local BridgeID and the Designated root ID match, then this switch is a root bridge.
Slide 30
Verifying STP Ports
Slide 31
Notes on Spanning Tree Configuration
Slide 32
Notes on Spanning Tree Operation
You should remove all VLANs associated with the STP before
deleting the STPD. If you delete an STPD, member VLANs are
automatically deleted.
STP, load-sharing, and redundant physical ports/links work
together.
Blocked ports only process BPDU packets.
Slide 33
Summary
Slide 34
Lab
Slide 35
Review Questions
© 2008 Extreme Networks, Inc. All rights reserved. ExtremeXOS Operation and Configuration, Version 12.1. Part number DOC-00919.
This presentation contains forward-looking statements that involve
risks and uncertainties, including statements regarding our
expectations as to products, trends and our performance. There can be
no assurances that any forward-looking statements will be achieved,
and actual results could differ materially from forecasts and estimates.
For factors that may affect our business and financial results please
refer to our filings with the Securities and Exchange Commission,
including, without limitation, under the captions: “Management’s
Discussion and Analysis of Financial Condition and Results of
Operations,” and “Risk Factors,” which is on file with the Securities
and Exchange Commission (http://www.sec.gov). We undertake no
obligation to update the forward-looking information in this release.
© 2008 Extreme Networks, Inc. All rights reserved. ExtremeXOS Operation and Configuration, Version 12.1. Part number DOC-00919.
©
© 2008
2008 Extreme
Extreme Networks,
Networks, Inc.
Inc. All
All rights
rights reserved.
reserved. ExtremeXOS
ExtremeXOS Operation
Operation and
and Configuration,
Configuration, Version
Version 12.1.
12.1. Part
Part number
number DOC-00919.
DOC-00919.