Chapter8ccna
-
Upload
ernestlithur -
Category
Technology
-
view
612 -
download
0
description
Transcript of Chapter8ccna
![Page 1: Chapter8ccna](https://reader034.fdocuments.net/reader034/viewer/2022051609/54636929af79596e3a8b4759/html5/thumbnails/1.jpg)
Sybex CCNA 640-802 Chapter 8: Layer-2 Switching
Instructor & Todd Lammle
![Page 2: Chapter8ccna](https://reader034.fdocuments.net/reader034/viewer/2022051609/54636929af79596e3a8b4759/html5/thumbnails/2.jpg)
Chapter 8 Objectives
The CCNA Topics Covered in this chapter include:
• What is layer-2 switching• Switching services• Bridges vs. LAN switching• Three switch functions• MAC table• Switching loops Spanning-Tree Protocol
(STP)
2
![Page 3: Chapter8ccna](https://reader034.fdocuments.net/reader034/viewer/2022051609/54636929af79596e3a8b4759/html5/thumbnails/3.jpg)
Layer 2 Switching
• Purposes for using switching– Breaks up collision domains– Cost-effective, resilient
internetwork
• Purpose for Spanning-Tree Protocol (STP)– Stops loops in layer 2 switched
networks
![Page 4: Chapter8ccna](https://reader034.fdocuments.net/reader034/viewer/2022051609/54636929af79596e3a8b4759/html5/thumbnails/4.jpg)
Before Layer 2 Switching
![Page 5: Chapter8ccna](https://reader034.fdocuments.net/reader034/viewer/2022051609/54636929af79596e3a8b4759/html5/thumbnails/5.jpg)
Switched LANs
![Page 6: Chapter8ccna](https://reader034.fdocuments.net/reader034/viewer/2022051609/54636929af79596e3a8b4759/html5/thumbnails/6.jpg)
Typical Switched Designs
![Page 7: Chapter8ccna](https://reader034.fdocuments.net/reader034/viewer/2022051609/54636929af79596e3a8b4759/html5/thumbnails/7.jpg)
One link to the server!
![Page 8: Chapter8ccna](https://reader034.fdocuments.net/reader034/viewer/2022051609/54636929af79596e3a8b4759/html5/thumbnails/8.jpg)
Switching Services
Layer 2 switching provides:– Hardware-based bridging (ASIC)– Wire speed– Low latency– Low cost
![Page 9: Chapter8ccna](https://reader034.fdocuments.net/reader034/viewer/2022051609/54636929af79596e3a8b4759/html5/thumbnails/9.jpg)
Limitations of Layer 2 Switching
• Must break up the collision domains correctly.
• Make sure that users spend 80 percent of their time on the local segment.
• Switches do not break up broadcast domains by default.
![Page 10: Chapter8ccna](https://reader034.fdocuments.net/reader034/viewer/2022051609/54636929af79596e3a8b4759/html5/thumbnails/10.jpg)
Bridging vs. LAN switching
![Page 11: Chapter8ccna](https://reader034.fdocuments.net/reader034/viewer/2022051609/54636929af79596e3a8b4759/html5/thumbnails/11.jpg)
Three Switch Functions at Layer-2
![Page 12: Chapter8ccna](https://reader034.fdocuments.net/reader034/viewer/2022051609/54636929af79596e3a8b4759/html5/thumbnails/12.jpg)
Empty MAC table
![Page 13: Chapter8ccna](https://reader034.fdocuments.net/reader034/viewer/2022051609/54636929af79596e3a8b4759/html5/thumbnails/13.jpg)
How Switches Learn Hosts’ Locations
![Page 14: Chapter8ccna](https://reader034.fdocuments.net/reader034/viewer/2022051609/54636929af79596e3a8b4759/html5/thumbnails/14.jpg)
Switching Loops
![Page 15: Chapter8ccna](https://reader034.fdocuments.net/reader034/viewer/2022051609/54636929af79596e3a8b4759/html5/thumbnails/15.jpg)
Switching Loop Problems
![Page 16: Chapter8ccna](https://reader034.fdocuments.net/reader034/viewer/2022051609/54636929af79596e3a8b4759/html5/thumbnails/16.jpg)
Spanning-Tree Protocol (STP)Solves Switching loops at layer 2
• STP
• Root Bridge
• BPDU
• Bridge ID
• Nonroot Bridge
•Root port
•Designated port
•Port cost
•Nondesignated port
•Forwarding port
•Block port
![Page 17: Chapter8ccna](https://reader034.fdocuments.net/reader034/viewer/2022051609/54636929af79596e3a8b4759/html5/thumbnails/17.jpg)
Spanning-Tree Operations
• Selecting the root bridge
• Selecting the designated port
![Page 18: Chapter8ccna](https://reader034.fdocuments.net/reader034/viewer/2022051609/54636929af79596e3a8b4759/html5/thumbnails/18.jpg)
Switching Loops
![Page 19: Chapter8ccna](https://reader034.fdocuments.net/reader034/viewer/2022051609/54636929af79596e3a8b4759/html5/thumbnails/19.jpg)
Spanning-Tree Port States
• Blocking
• Listening
• Forwarding
• Disabled
![Page 20: Chapter8ccna](https://reader034.fdocuments.net/reader034/viewer/2022051609/54636929af79596e3a8b4759/html5/thumbnails/20.jpg)
Spanning-Tree Example
![Page 21: Chapter8ccna](https://reader034.fdocuments.net/reader034/viewer/2022051609/54636929af79596e3a8b4759/html5/thumbnails/21.jpg)
Written Labs and Review Questions
– Open your books and go through all the written labs and the review questions.
– Review the answers in class.
21