© Wiley Inc All Rights Reserved. CCNA: Cisco Certified Network Associate Study Guide CHAPTER 7: Layer 2 Switching
© Wiley Inc All Rights Reserved. The CCNA exam topics covered in this chapter include the following: Technology Describe the Spanning Tree process
© Wiley Inc All Rights Reserved. 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
© Wiley Inc All Rights Reserved. Before Layer 2 Switching
© Wiley Inc All Rights Reserved. Switched LANs
© Wiley Inc All Rights Reserved. Typical Switched Designs
© Wiley Inc All Rights Reserved. One link to the server!
© Wiley Inc All Rights Reserved. Switching Services Layer 2 switching provides: –Hardware-based bridging (ASIC) –Wire speed –Low latency –Low cost
© Wiley Inc All Rights Reserved. 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.
© Wiley Inc All Rights Reserved. Bridging vs. LAN switching
© Wiley Inc All Rights Reserved. Three Switch Functions at Layer-2
© Wiley Inc All Rights Reserved. Empty MAC table
© Wiley Inc All Rights Reserved. How Switches Learn Hosts’ Locations
© Wiley Inc All Rights Reserved. Switching Loops
© Wiley Inc All Rights Reserved. Switching Loop Problems
© Wiley Inc All Rights Reserved. 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
© Wiley Inc All Rights Reserved. Spanning-Tree Operations Selecting the root bridge Selecting the designated port
© Wiley Inc All Rights Reserved. Switching Loops
© Wiley Inc All Rights Reserved. Spanning-Tree Port States Blocking Listening Forwarding Disabled
© Wiley Inc All Rights Reserved. Spanning-Tree Example
© Wiley Inc All Rights Reserved. LAN Switch Types Cut-through (FastForward) FragmentFree (modified cut-through) Store-and-forward