spanning tree protocol stp stp 1. 2 3 4 5 a broadcast storm occurs when there are so many broadcast...
TRANSCRIPT
![Page 1: Spanning Tree Protocol STP STP 1. 2 3 4 5 A broadcast storm occurs when there are so many broadcast frames caught in a Layer 2 loop that all available](https://reader030.vdocument.in/reader030/viewer/2022032800/56649d355503460f94a0bd37/html5/thumbnails/1.jpg)
Spanning Tree ProtocolSpanning Tree Protocol
STPSTP
1
![Page 2: Spanning Tree Protocol STP STP 1. 2 3 4 5 A broadcast storm occurs when there are so many broadcast frames caught in a Layer 2 loop that all available](https://reader030.vdocument.in/reader030/viewer/2022032800/56649d355503460f94a0bd37/html5/thumbnails/2.jpg)
TopicsTopics
2
• REDUNDANT LINKSREDUNDANT LINKS
• Issues (layer2 loop - broadcast storm - Duplicate Unicast Issues (layer2 loop - broadcast storm - Duplicate Unicast frame)frame)
• Spanning tree algorithmSpanning tree algorithm
• Choose the root bridgeChoose the root bridge
• Select root portsSelect root ports
![Page 3: Spanning Tree Protocol STP STP 1. 2 3 4 5 A broadcast storm occurs when there are so many broadcast frames caught in a Layer 2 loop that all available](https://reader030.vdocument.in/reader030/viewer/2022032800/56649d355503460f94a0bd37/html5/thumbnails/3.jpg)
REDUNDANT LINKSREDUNDANT LINKS
3
![Page 4: Spanning Tree Protocol STP STP 1. 2 3 4 5 A broadcast storm occurs when there are so many broadcast frames caught in a Layer 2 loop that all available](https://reader030.vdocument.in/reader030/viewer/2022032800/56649d355503460f94a0bd37/html5/thumbnails/4.jpg)
layer2 looplayer2 loop
4
![Page 5: Spanning Tree Protocol STP STP 1. 2 3 4 5 A broadcast storm occurs when there are so many broadcast frames caught in a Layer 2 loop that all available](https://reader030.vdocument.in/reader030/viewer/2022032800/56649d355503460f94a0bd37/html5/thumbnails/5.jpg)
broadcast stormbroadcast storm
5
A broadcast storm occurs when there are so many broadcast frames caught in a Layer 2 loop that all available bandwidth is consumed.
1
2
12
1
2
3
1
1
2
2
![Page 6: Spanning Tree Protocol STP STP 1. 2 3 4 5 A broadcast storm occurs when there are so many broadcast frames caught in a Layer 2 loop that all available](https://reader030.vdocument.in/reader030/viewer/2022032800/56649d355503460f94a0bd37/html5/thumbnails/6.jpg)
Duplicate Unicast frameDuplicate Unicast frame
6
![Page 7: Spanning Tree Protocol STP STP 1. 2 3 4 5 A broadcast storm occurs when there are so many broadcast frames caught in a Layer 2 loop that all available](https://reader030.vdocument.in/reader030/viewer/2022032800/56649d355503460f94a0bd37/html5/thumbnails/7.jpg)
BPDUBPDU
7
3276932769 000A00222222000A00222222
BRIDGE PROTOCOL DATA BRIDGE PROTOCOL DATA UNITUNIT
![Page 8: Spanning Tree Protocol STP STP 1. 2 3 4 5 A broadcast storm occurs when there are so many broadcast frames caught in a Layer 2 loop that all available](https://reader030.vdocument.in/reader030/viewer/2022032800/56649d355503460f94a0bd37/html5/thumbnails/8.jpg)
Choose the root bridgeChoose the root bridge
8
• Each switch has a bridge ID (BID) of priority value followed by MAC address
• Switches exchange Bridge Protocol Data Units (BPDUs) to compare bridge IDs
• The switch with the lowest bridge ID becomes the root bridge
• Administrator can set the priority to fix the selection
![Page 9: Spanning Tree Protocol STP STP 1. 2 3 4 5 A broadcast storm occurs when there are so many broadcast frames caught in a Layer 2 loop that all available](https://reader030.vdocument.in/reader030/viewer/2022032800/56649d355503460f94a0bd37/html5/thumbnails/9.jpg)
Spanning tree algorithmSpanning tree algorithm
9
The switches use this algorithm to decide which ports should be shut down.
1. Choose one switch to be “root bridge”
2. Choose a “root port” on each other switch
3. Choose a “designated port” on each segment.
4. Close down all other ports.
![Page 10: Spanning Tree Protocol STP STP 1. 2 3 4 5 A broadcast storm occurs when there are so many broadcast frames caught in a Layer 2 loop that all available](https://reader030.vdocument.in/reader030/viewer/2022032800/56649d355503460f94a0bd37/html5/thumbnails/10.jpg)
• Every non-root bridge (Switch) selects a root port
• This is the port with the lowest cost path to the root bridge
Select root portsSelect root ports
Set by IEEE
![Page 11: Spanning Tree Protocol STP STP 1. 2 3 4 5 A broadcast storm occurs when there are so many broadcast frames caught in a Layer 2 loop that all available](https://reader030.vdocument.in/reader030/viewer/2022032800/56649d355503460f94a0bd37/html5/thumbnails/11.jpg)
Choose the port on the switch with the lower bridge ID.
Suppose this is switch B.
If the cost is same and Close down If the cost is same and Close down redundant linksredundant links
![Page 12: Spanning Tree Protocol STP STP 1. 2 3 4 5 A broadcast storm occurs when there are so many broadcast frames caught in a Layer 2 loop that all available](https://reader030.vdocument.in/reader030/viewer/2022032800/56649d355503460f94a0bd37/html5/thumbnails/12.jpg)
Best pathBest path
![Page 13: Spanning Tree Protocol STP STP 1. 2 3 4 5 A broadcast storm occurs when there are so many broadcast frames caught in a Layer 2 loop that all available](https://reader030.vdocument.in/reader030/viewer/2022032800/56649d355503460f94a0bd37/html5/thumbnails/13.jpg)
13
![Page 14: Spanning Tree Protocol STP STP 1. 2 3 4 5 A broadcast storm occurs when there are so many broadcast frames caught in a Layer 2 loop that all available](https://reader030.vdocument.in/reader030/viewer/2022032800/56649d355503460f94a0bd37/html5/thumbnails/14.jpg)
Video
14
https://www.youtube.com/watch?v=ihF_78oIaDI