0% found this document useful (0 votes)
18 views38 pages

Understanding LAN Switching: © 1999, Cisco Systems, Inc

Uploaded by

Gyanendra Kumar
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views38 pages

Understanding LAN Switching: © 1999, Cisco Systems, Inc

Uploaded by

Gyanendra Kumar
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 38

Module 5: Understanding LAN Switching

www.cisco.com

1999, Cisco Systems, Inc.

Agenda

Shared LAN Technology


LAN Switching Basics

Key Switching Technologies

CSE: Networking FundamentalsSwitching

www.cisco.com

1999, Cisco Systems, Inc.

5-2

Shared LAN Technology

1999, Cisco Systems, Inc.

www.cisco.com

1999, Cisco Systems, Inc.

Early Local Area Networks


Thick Ethernet
Limited to 500 meters before signal degradation Required repeaters every 500 meters Limitations on number and placement of stations Expensive, large, and difficult to pull through buildings Relatively simple to add new users Provided 10-Mbps shared bandwidth

Thin Ethernet
Less expensive and required less space than thick Ethernet

Still difficult to pull through buildings


Adding users required network interruptions
CSE: Networking FundamentalsSwitching

www.cisco.com

1999, Cisco Systems, Inc.

5-4

Hubs Addressed Many of These Problems


Ethernet
10

Hub

All nodes share 10 Mbps One device sending at a time

Ethernet concentrator Self-contained Ethernet LAN in a box Passive Works at physical layer 1
www.cisco.com
1999, Cisco Systems, Inc. 5-5

CSE: Networking FundamentalsSwitching

Collisions: Telltale Signs

CRASH
Hub

I could have walked to Finance by now. I knew I should have stayed home. File transfers take forever.

Sluggish network response

Im waiting all the time.

Increasing user complaints

CSE: Networking FundamentalsSwitching

www.cisco.com

1999, Cisco Systems, Inc.

5-6

Other Bandwidth Consumers


Unicast

Broadcast

Multicast

CSE: Networking FundamentalsSwitching

www.cisco.com

1999, Cisco Systems, Inc.

5-7

Broadcasts Consume Bandwidth

Apple TCP/IP

Resolve addresses
Distribute route information Find network services
CSE: Networking FundamentalsSwitching

www.cisco.com

1999, Cisco Systems, Inc.

5-8

Broadcasts Consume Processor Performance


CPU %
80 70 60 50 40 30 20 10 0 100
SPARC2 SPARC5 Pe nt ium 12 0 M z H

1000

3000

Broadcasts/Second

Broadcasts and multicasts interrupt all computers on the network


CSE: Networking FundamentalsSwitching

www.cisco.com

1999, Cisco Systems, Inc.

5-9

Hub-Based LANs
Shared resources Desktop connections wired to centralized closets Poor security within shared segments Routers provide scalability Adds, moves, and changes are easier than without hubs, but still a hassle Groups of users determined by physical location
www.cisco.com
1999, Cisco Systems, Inc. 5-10

10BaseT Hub

10BaseT Hub

CSE: Networking FundamentalsSwitching

Bridges
More intelligent than a hub Eavesdrop on conversations to learn and maintain address tables Collect and pass packets between two network segments Control traffic to the network
123 126

124

Bridge
127

Hub
125

Hub
128

Segment 1
CSE: Networking FundamentalsSwitching

Corporate Intranet
www.cisco.com

Segment 2
1999, Cisco Systems, Inc. 5-11

SwitchesLayer 2
Switched Ethernet

10

Ethernet Switch

Backbone

Each Node has 10 Mbps


Multiple devices sending at the same time

CSE: Networking FundamentalsSwitching

www.cisco.com

1999, Cisco Systems, Inc.

5-12

Switches versus Hubs


Hub
Ethernet
10

One device sending at a time


All nodes share 10 Mbps

Ethernet Switch

Backbone

Switched Ethernet

10

Multiple devices sending at the same time

Each node has 10 Mbps

CSE: Networking FundamentalsSwitching

www.cisco.com

1999, Cisco Systems, Inc.

5-13

The Need for Speed: Early Warning Signs


File transfers take forever You can take a coffee break between screen refreshes Network print jobs: sameday service? Multimedia applications
Mbps

SLOW SLOW

CSE: Networking FundamentalsSwitching

www.cisco.com

1999, Cisco Systems, Inc.

5-14

Typical Causes of Network Congestion


Too many users on a 10-Mbps segment Most users accessing one or two servers High-performance PCs such as EISA, PCI, and S-Bus Network-intensive applications such as color publishing, CAD/CAM, imaging, and relational databases
Traditional Data Requirements Drive LAN Bandwidth
Bandwidth Requirements

File Transfer Client/Server

Image Backup/Mng Transaction Processing Processing

E-Mail

Desktop Video

CSE: Networking FundamentalsSwitching

www.cisco.com

1999, Cisco Systems, Inc.

5-15

Network Traffic Impact from Centralization of Servers


Servers in Wiring Closets Centralized Servers in Data Center

Randomly Distributed Servers

Mainframe Data Center

Servers are gradually moving into a central area (data center) versus being located throughout the company to: Ensure company data integrity Maintain the network and ensure operability Maintain security

Perform configuration and administrative functions


More centralized servers increase the bandwidth demands on campus and workgroup backbones
CSE: Networking FundamentalsSwitching

www.cisco.com

1999, Cisco Systems, Inc.

5-16

Todays LANs
Mostly switched resources; few shared
Routers provide scalability
10/100 Switch

10/100 Switch

10-Mbps Hub

Groups of users determined by physical location


www.cisco.com
1999, Cisco Systems, Inc. 5-17

CSE: Networking FundamentalsSwitching

LAN Switching Basics

1999, Cisco Systems, Inc.

www.cisco.com

1999, Cisco Systems, Inc.

LAN Switching Basics


Enables dedicated access

Eliminates collisions and increases capacity Supports multiple conversations at the same time

CSE: Networking FundamentalsSwitching

www.cisco.com

1999, Cisco Systems, Inc.

5-19

LAN Switch Operation


Forwards packets based on a forwarding table
Forwards based on the MAC (Layer 2) address A

10 Mbps

C
3 2 1 10 Mbps 4

Operates at OSI Layer 2 Learns a stations location by examining source address


Sends out all ports when destination address is broadcast, multicast, or unknown address Forwards when destination is located on different interface
CSE: Networking FundamentalsSwitching

Data from A to B

B
Interface 1 Stations 2 3 4

www.cisco.com

1999, Cisco Systems, Inc.

5-20

LAN Switch Operation


Forwards packets based on a forwarding table
Forwards based on the MAC (Layer 2) address A

10 Mbps

C
3 2 1 10 Mbps 4

Operates at OSI Layer 2 Learns a stations location by examining source address


Sends out all ports when destination address is broadcast, multicast, or unknown address Forwards when destination is located on different interface
CSE: Networking FundamentalsSwitching

B
Interface 1 Stations A 2 3 X 4

www.cisco.com

1999, Cisco Systems, Inc.

5-21

LAN Switch Operation


Data from A to B

Forwards packets based on a forwarding table


Forwards based on the MAC (Layer 2) address A

10 Mbps

C
3

Operates at OSI Layer 2 Learns a stations location by examining source address


Sends out all ports when destination address is broadcast, multicast, or unknown address Forwards when destination is located on different interface
CSE: Networking FundamentalsSwitching

1
Data from AMbps 10 to B

Data from A to B

Interface 1 Stations A 2 3 X 4

www.cisco.com

1999, Cisco Systems, Inc.

5-22

LAN Switch Operation


Forwards packets based on a forwarding table
Forwards based on the MAC (Layer 2) address A

10 Mbps

C
3
Data from B to A

Operates at OSI Layer 2 Learns a stations location by examining source address


Sends out all ports when destination address is broadcast, multicast, or unknown address Forwards when destination is located on different interface
CSE: Networking FundamentalsSwitching

1 10 Mbps

Interface 1 Stations A B 2 3 X X 4

www.cisco.com

1999, Cisco Systems, Inc.

5-23

LAN Switch Operation


Forwards packets based on a forwarding table
Forwards based on the MAC (Layer 2) address A

10 Mbps

C
3 2 1 10 Mbps 4

Operates at OSI Layer 2 Learns a stations location by examining source address


Sends out all ports when destination address is broadcast, multicast, or unknown address Forwards when destination is located on different interface
CSE: Networking FundamentalsSwitching

Data from B to A

B
Interface 1 Stations A B 2 3 X X 4

www.cisco.com

1999, Cisco Systems, Inc.

5-24

Switching Technology: Full Duplex


Doubles bandwidth between nodes
e.g. switch and server

Collision-free transmission Two 10- or 100-Mbps data paths


10 or 100 Mbps 10 or 100 Mbps

Full Duplex
10 or 100 Mbps 10 or 100 Mbps

Switch

CSE: Networking FundamentalsSwitching

www.cisco.com

1999, Cisco Systems, Inc.

5-25

Switching Technology: Two Methods


Cut-through Switch checks DA and immediately begins forwarding frame Store-and-forward Complete frame is received before forwarding

Frame

Frame

Frame
Frame

CSE: Networking FundamentalsSwitching

www.cisco.com

1999, Cisco Systems, Inc.

5-26

Key Switching Technologies

1999, Cisco Systems, Inc.

www.cisco.com

1999, Cisco Systems, Inc.

Key Switching Technologies

802.1d Spanning-Tree Protocol

Multicasting

CSE: Networking FundamentalsSwitching

www.cisco.com

1999, Cisco Systems, Inc.

5-28

The Need for Spanning Tree


Problems with large switched networks Local multicast, broadcast, and unknown singledestination event storms become global events
Station A Segment A 1/1 Switch 1 1/2 2/2 2/1 Switch 2 Segment B

Station B

CSE: Networking FundamentalsSwitching

www.cisco.com

1999, Cisco Systems, Inc.

5-29

802.1d Spanning-Tree Protocol (STP)


Allows redundancy by using parallel links

Shuts down redundant links to eliminate loops


Switches communicate with each other using BPDUs (Bridge Protocol Data Units) Takes 3060 seconds to converge Cisco refinements:
PortFast UplinkFast
CSE: Networking FundamentalsSwitching

www.cisco.com

1999, Cisco Systems, Inc.

5-30

Multicasting
Emerging applications require increased bandwidth
E-mail, file transfers, and file sharing are easy to handle Emerging applications are bandwidth hungry Multipoint communications are required
Simultaneous communication between groups of computers
CSE: Networking FundamentalsSwitching

Video LAN TV Desktop conferencing Corporate broadcasts Collaborative computing

www.cisco.com

1999, Cisco Systems, Inc.

5-31

Multipoint Communications
Broadcast
Applications address each packet to a single broadcast address Packets are broadcast to every station

Multicast
Applications address each packet to a group of receivers Network forwards the packets to only the networks that need to receive them

CSE: Networking FundamentalsSwitching

www.cisco.com

1999, Cisco Systems, Inc.

5-32

Multicast
Problem: How to prevent multicasting flooding? Multicast Routing Protocols IGMP

WAN

2
Video Servers Channel 1 Channel 2 Channel 3

Internet Group Management Protocol (IGMP) Multicast routing protocols Switches typically flood all ports with multicast traffic

CSE: Networking FundamentalsSwitching

www.cisco.com

1999, Cisco Systems, Inc.

5-33

End-to-End Multicast
Multicast Routing Protocols IGMP

WAN

Wire-Speed Multicast

Video Servers Channel 1 Channel 2 Channel 3

CGMP

Internet Group Management Protocol (IGMP) Multicast routing protocols Cisco Group Management Protocol (CGMP)

CSE: Networking FundamentalsSwitching

www.cisco.com

1999, Cisco Systems, Inc.

5-34

End-to-End Multicast
Multicast Routing Protocols IGMP

WAN

Wire-Speed Multicast

Video Servers Channel 1 Channel 2 Channel 3

CGMP

Internet Group Management Protocol (IGMP) Multicast routing protocols Cisco Group Management Protocol (CGMP)

CSE: Networking FundamentalsSwitching

www.cisco.com

1999, Cisco Systems, Inc.

5-35

Why Use Multicast?


100-kbps Video Stream

0.8

Traffic 0.6 Mbps


0.4 0.2 0 1 20 40 60 80 100

Without multicast With multicast

Number of Clients

Highly scalable information delivery


CSE: Networking FundamentalsSwitching

www.cisco.com

1999, Cisco Systems, Inc.

5-36

Summary
Switches provide dedicated access Switches eliminate collisions and increase capacity Switches support multiple conversations at the same time Switches provide intelligence for multicasting
CSE: Networking FundamentalsSwitching

www.cisco.com

1999, Cisco Systems, Inc.

5-37

Presentation_ID

1999, Cisco Systems, Inc.

www.cisco.com

38

You might also like