Docsity

Cisco Switch Operations: Learning, Filtering, and Redundancy, Slides of Data Communication Systems and Computer Networks

Partial preview of the text

Download Cisco Switch Operations: Learning, Filtering, and Redundancy and more Slides Data Communication Systems and Computer Networks in PDF only on Docsity!

© 2000, Cisco Systems, Inc.

6-

Chapter 6

Catalyst Switch

Operations

docsity.com

www.cisco.com

ICND v1.0a—6-

Three Switch FunctionsThree Switch Functions^ •^ Address learning^ •^ Forward/filter decision^ •^ Loop avoidance

www.cisco.com

ICND v1.0a—6-

How Switches Learn Hosts

Locations

How Switches Learn Hosts

Locations

-^ Station A sends a frame to Station C •^ Switch caches station A MAC address to port E0 by learningthe source address of data frames •^ The frame from station A to station C is flooded out to allports except port E0 (unknown unicasts are flooded)

MAC address table 0260.8c01.11110260.8c01.

0260.8c01.33330260.8c01.

E0: 0260.8c01.1111E^

E

E^

E^

D

C

B

A

www.cisco.com

ICND v1.0a—6-

How Switches Learn Host

Locations

How Switches Learn Host

Locations

-^ Station D sends a frame to station C •^ Switch caches station D MAC address to port E3 by learning thesource Address of data frames •^ The frame from station D to station C is flooded out to all portsexcept port E3 (unknown unicasts are flooded)

MAC address table 0260.8c01.11110260.8c01.

0260.8c01.33330260.8c01.

E0: 0260.8c01.1111E3: 0260.8c01.4444E^

E

E^

E^

D

A^ C

B

www.cisco.com

ICND v1.0a—6-

Broadcast and Multicast

Frames

Broadcast and Multicast

Frames

0260.8c01.11110260.8c01.2222 • Station D sends a broadcast or multicast frame • Broadcast and multicast frames are flooded toall ports other than the originating port

0260.8c01.33330260.8c01.

E^

E

E^

E^

D

A^ C

B

MAC address tableE0: 0260.8c01.1111E2: 0260.8c01.2222E1: 0260.8c01.3333E3: 0260.8c01.

www.cisco.com

ICND v1.0a—6-

Redundant TopologyRedundant Topology

-^ Redundant topology eliminates single points of failure •^ Redundant topology causes broadcast storms, multipleframe copies, and MAC address table instability problems

Segment 1 Segment 2

Server/host X

Router Y

www.cisco.com

ICND v1.0a—6-

Broadcast StormsBroadcast Storms

Segment 1 Segment 2

Server/host X

Router Y

BroadcastSwitch A

Switch B

Host X sends a Broadcast

www.cisco.com

ICND v1.0a—6-

Broadcast StormsBroadcast Storms

Segment 1 Segment 2

Server/host X

Router Y

Broadcast

Switch A Switches continue to propagate broadcast traffic overand over

Switch B

www.cisco.com

ICND v1.0a—6-

Multiple Frame CopiesMultiple Frame Copies

Segment 1 Segment 2

Server/host X

Router Y

Unicast

Switch A

Switch B

Unicast • Host X sends an unicast frame to Router Y • Router Y MAC Address has not been learned byeither Switch yet • Router Y will receive two copies of the same frame

Unicast

www.cisco.com

ICND v1.0a—6-

-^ Complex topology can cause multiple loops to occur •^ Layer 2 has no mechanism to stop the loop

Server/host

Workstations

Loop Loop Loop

Multiple Loop ProblemsMultiple Loop ProblemsBroadcast

www.cisco.com

ICND v1.0a—6-

Spanning-Tree OperationsSpanning-Tree Operations •^ One root bridge per network •^ One root port per nonroot bridge •^ One designated port per segment

x

Designated port (F)

Root port (F)

Designated port (F)

Nondesignated port (B)

Root bridge

Nonroot bridge

SW X^

SW Y 100baseT 10baseT

www.cisco.com

ICND v1.0a—6-

Spanning-Tree Protocol

Path Cost

Spanning-Tree Protocol

Path Cost

Link Speed

Cost (reratify IEEE spec)

Cost (previous IEEE spec)

----------------------------------------------------------------------------------------------------10 Gbps

2

1

1 Gbps

4

1

100 Mbps

19

10

10 Mbps

100

100

www.cisco.com

ICND v1.0a—6- Switch YMAC 0c0022222222Default priority 32768

Switch XMAC 0c0011111111Default priority 32768

Port 0 Port 1

Switch ZMac 0c0011110000Default priority 32768Port 0 Port 1 Port 0

Can you figure out:^ •^ What is the root bridge?^ •^ What are the designated, nondesignated, and root parts?^ •^ Which are the forwarding and blocking ports?

100baseT 100baseT

Spanning-Tree:Spanning-Tree:

Designated port (F)

Root port (F)

Nondesignated port (BLK)

Designated port (F)

Root port (F)

www.cisco.com

ICND v1.0a—6-

Blocking

(20 sec) Listening

(15 sec) Learning

(15 sec) Forwarding

Spanning-Tree Port StatesSpanning-Tree Port StatesSpanning-tree transitions each portthrough several different state: