Upload
amit-raj-kaushik
View
259
Download
1
Embed Size (px)
Citation preview
8/14/2019 CISCO CCNA ICND PPT 2.0 D20S03L03
1/16
2002, Cisco Systems, Inc. All rights reserved.
8/14/2019 CISCO CCNA ICND PPT 2.0 D20S03L03
2/16
2002, Cisco Systems, Inc. All rights reserved. ICND v2.03-2
2002, Cisco Systems, Inc. All rights reserved. 2
Spanning-Tree ProtocolOverview
8/14/2019 CISCO CCNA ICND PPT 2.0 D20S03L03
3/16
2002, Cisco Systems, Inc. All rights reserved. ICND v2.03-3
Objectives
Upon completing this lesson, you will beable to:
Describe the purpose and operation of the STP Explain how to implement STP to solve the
problems associated with redundant switchedor bridged topologies
8/14/2019 CISCO CCNA ICND PPT 2.0 D20S03L03
4/16
2002, Cisco Systems, Inc. All rights reserved. ICND v2.03-4
Provides a loop-free redundant network topology byplacing certain ports in the blocking state.
Spanning-Tree Protocol
8/14/2019 CISCO CCNA ICND PPT 2.0 D20S03L03
5/16
2002, Cisco Systems, Inc. All rights reserved. ICND v2.03-5
One root bridge per network
One root port per nonroot bridge
One designated port per segment
Nondesignated ports are unused
Spanning-Tree Operation
8/14/2019 CISCO CCNA ICND PPT 2.0 D20S03L03
6/16
2002, Cisco Systems, Inc. All rights reserved. ICND v2.03-6
Bpdu = Bridge Protocol Data Unit
(default = sent every two seconds)
Root bridge = Bridge with the lowest bridge ID
Bridge ID =
In the example, which switch has the lowest bridge ID?
Spanning-Tree ProtocolRoot Bridge Selection
8/14/2019 CISCO CCNA ICND PPT 2.0 D20S03L03
7/16 2002, Cisco Systems, Inc. All rights reserved. ICND v2.03-7
Spanning-tree transits each port throughseveral different states:
Spanning-Tree Port States
8/14/2019 CISCO CCNA ICND PPT 2.0 D20S03L03
8/16 2002, Cisco Systems, Inc. All rights reserved. ICND v2.03-8
Spanning-Tree Port States (Cont.)
8/14/2019 CISCO CCNA ICND PPT 2.0 D20S03L03
9/16 2002, Cisco Systems, Inc. All rights reserved. ICND v2.03-9
Spanning-Tree Path Cost
8/14/2019 CISCO CCNA ICND PPT 2.0 D20S03L03
10/16 2002, Cisco Systems, Inc. All rights reserved. ICND v2.03-10
Spanning-Tree Example
8/14/2019 CISCO CCNA ICND PPT 2.0 D20S03L03
11/16 2002, Cisco Systems, Inc. All rights reserved. ICND v2.03-11
Spanning-Tree Recalculation
8/14/2019 CISCO CCNA ICND PPT 2.0 D20S03L03
12/16 2002, Cisco Systems, Inc. All rights reserved. ICND v2.03-12
Spanning-Tree Convergence
Convergence occurs when all the switch andbridge ports have transitioned to either theforwarding or the blocking state.
When the network topology changes,switches and bridges must recompute the
Spanning-Tree Protocol, which disrupts usertraffic.
8/14/2019 CISCO CCNA ICND PPT 2.0 D20S03L03
13/16 2002, Cisco Systems, Inc. All rights reserved. ICND v2.03-13
Rapid Spanning-Tree Protocol
8/14/2019 CISCO CCNA ICND PPT 2.0 D20S03L03
14/16 2002, Cisco Systems, Inc. All rights reserved. ICND v2.03-14
Rapid Transition to Forwarding
8/14/2019 CISCO CCNA ICND PPT 2.0 D20S03L03
15/16 2002, Cisco Systems, Inc. All rights reserved. ICND v2.03-15
Summary
STP is a bridge-to-bridge protocol used to maintain aloop-free network.
STP establishes a root bridge, a root port, and designatedports.
With STP, the root bridge has the lowest bridge ID, whichis made up of the bridges priority and MAC address.
With STP, ports transition through four states: blocking,listening, learning, and forwarding.
If a change occurs to the network topology, STPmaintains connectivity by transitioning some blockedports to the forwarding state.
RSTP significantly speeds the recalculation of thespanning tree when the network topology changes.
8/14/2019 CISCO CCNA ICND PPT 2.0 D20S03L03
16/16