21
Sybex CCNA 640-802 Chapter 8: Layer-2 Switching Instructor & Todd Lammle

Chapter8ccna

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: Chapter8ccna

Sybex CCNA 640-802 Chapter 8: Layer-2 Switching

Instructor & Todd Lammle

Page 2: Chapter8ccna

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

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

Before Layer 2 Switching

Page 5: Chapter8ccna

Switched LANs

Page 6: Chapter8ccna

Typical Switched Designs

Page 7: Chapter8ccna

One link to the server!

Page 8: Chapter8ccna

Switching Services

Layer 2 switching provides:– Hardware-based bridging (ASIC)– Wire speed– Low latency– Low cost

Page 9: Chapter8ccna

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

Bridging vs. LAN switching

Page 11: Chapter8ccna

Three Switch Functions at Layer-2

Page 12: Chapter8ccna

Empty MAC table

Page 13: Chapter8ccna

How Switches Learn Hosts’ Locations

Page 14: Chapter8ccna

Switching Loops

Page 15: Chapter8ccna

Switching Loop Problems

Page 16: Chapter8ccna

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

Spanning-Tree Operations

• Selecting the root bridge

• Selecting the designated port

Page 18: Chapter8ccna

Switching Loops

Page 19: Chapter8ccna

Spanning-Tree Port States

• Blocking

• Listening

• Forwarding

• Disabled

Page 20: Chapter8ccna

Spanning-Tree Example

Page 21: Chapter8ccna

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