+ All Categories
Home > Documents > 05 Understanding Switch

05 Understanding Switch

Date post: 04-Apr-2018
Category:
Upload: naveed-ramzan
View: 216 times
Download: 0 times
Share this document with a friend

of 38

Transcript
  • 7/30/2019 05 Understanding Switch

    1/38

    1999, Cisco Systems, Inc.www.cisco.com

    Module 5:

    UnderstandingLAN Switching

  • 7/30/2019 05 Understanding Switch

    2/38

    5-2CSE: Networking FundamentalsSwitching 1999, Cisco Systems, Inc.www.cisco.com

    Agenda

    Shared LAN Technology

    LAN Switching Basics

    Key Switching

    Technologies

  • 7/30/2019 05 Understanding Switch

    3/38

    1999, Cisco Systems, Inc.www.cisco.com

    Shared LANTechnology

    1999, Cisco Systems, Inc. www.cisco.com

  • 7/30/2019 05 Understanding Switch

    4/38

    5-4CSE: Networking FundamentalsSwitching 1999, Cisco Systems, Inc.www.cisco.com

    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 thickEthernet

    Still difficult to pull through buildings

    Adding users required network interruptions

  • 7/30/2019 05 Understanding Switch

    5/38

    5-5CSE: Networking FundamentalsSwitching 1999, Cisco Systems, Inc.www.cisco.com

    Hubs Addressed Many ofThese Problems

    Ethernet 10

    One device sending at a time

    Hub

    All nodes share 10 Mbps

    Ethernet concentrator

    Self-contained EthernetLAN in a box

    Passive

    Works at physical layer 1

  • 7/30/2019 05 Understanding Switch

    6/38

    5-6CSE: Networking FundamentalsSwitching 1999, Cisco Systems, Inc.www.cisco.com

    Collisions: Telltale Signs

    Sluggish network response

    Increasing user complaints

    CRASH

    Hub

    I could have walked to

    Finance by now.

    I knew I should have

    stayed home.

    File transfers take

    forever.

    Im waiting all the time.

  • 7/30/2019 05 Understanding Switch

    7/385-7CSE: Networking FundamentalsSwitching 1999, Cisco Systems, Inc.www.cisco.com

    Other Bandwidth Consumers

    Unicast

    Broadcast

    Multicast

  • 7/30/2019 05 Understanding Switch

    8/385-8CSE: Networking FundamentalsSwitching 1999, Cisco Systems, Inc.www.cisco.com

    Apple

    TCP/IP

    Broadcasts Consume Bandwidth

    Resolve addresses

    Distribute route information

    Find network services

  • 7/30/2019 05 Understanding Switch

    9/385-9CSE: Networking FundamentalsSwitching 1999, Cisco Systems, Inc.www.cisco.com

    Broadcasts Consume ProcessorPerformance

    Broadcasts and multicasts interruptall computers on the network

    Broadcasts/Second

    CPU %

    1 0 0 1 0 0 0 3 0 0 0

    0

    1 0

    2 0

    3 04 0

    5 0

    6 0

    7 0

    8 0

    1 0 0 1 0 0 0 3 0 0 0

    SPA R C 2

    SPA R C 5

    Pe nt i um 12 0 MH z

  • 7/30/2019 05 Understanding Switch

    10/385-10CSE: Networking FundamentalsSwitching 1999, Cisco Systems, Inc.www.cisco.com

    Hub-Based LANs

    Shared resources

    Desktop connectionswired to centralizedclosets

    Poor security withinshared segments

    Routers provide scalability

    Adds, moves, and changes

    are easier than withouthubs, but still a hassle

    Groups of usersdetermined by

    physical location

    10BaseTHub

    10BaseTHub

  • 7/30/2019 05 Understanding Switch

    11/385-11CSE: Networking FundamentalsSwitching 1999, Cisco Systems, Inc.www.cisco.com

    Bridges

    More intelligent than a hub

    Eavesdrop on conversations tolearn and maintain address tables

    Collect and pass packets betweentwo network segments

    Control traffic to the network

    Bridge

    Segment 1 Segment 2

    123

    124

    125

    126

    127

    128

    Corporate Intranet

    Hub Hub

  • 7/30/2019 05 Understanding Switch

    12/385-12CSE: Networking FundamentalsSwitching 1999, Cisco Systems, Inc.www.cisco.com

    SwitchesLayer 2

    EthernetSwitch

    Each Node has10 Mbps

    BackboneSwitched Ethernet 10

    Multiple devices sending at the same time

  • 7/30/2019 05 Understanding Switch

    13/385-13CSE: Networking FundamentalsSwitching 1999, Cisco Systems, Inc.www.cisco.com

    Switches versus Hubs

    Ethernet 10One devicesending at

    a time

    Hub

    All nodes share 10 Mbps

    EthernetSwitch

    Each node has 10 Mbps

    Backbone Switched Ethernet 10

    Multiple

    devicessending at thesame time

  • 7/30/2019 05 Understanding Switch

    14/385-14CSE: Networking FundamentalsSwitching 1999, Cisco Systems, Inc.www.cisco.com

    SLOW

    The Need for Speed:Early Warning Signs

    File transfers take forever

    You can take a coffee breakbetween screen refreshes

    Network print jobs: same-day service?

    Multimedia applications

    SLOW

    Mbps

  • 7/30/2019 05 Understanding Switch

    15/385-15CSE: Networking FundamentalsSwitching 1999, Cisco Systems, Inc.www.cisco.com

    Typical Causes of NetworkCongestion

    Too many users on a10-Mbps segment

    Most users accessingone or two servers

    High-performancePCs such as EISA,PCI, and S-Bus

    Network-intensive

    applications suchas color publishing,CAD/CAM, imaging,and relationaldatabases File Transfer Client/Server Image

    Processing

    Backup/Mng Transaction

    Processing

    E-Mail Desktop Video

    Traditional DataRequirements Drive LAN

    Bandwidth

    BandwidthRequirements

  • 7/30/2019 05 Understanding Switch

    16/385-16CSE: Networking FundamentalsSwitching 1999, Cisco Systems, Inc.www.cisco.com

    Network Traffic Impact fromCentralization of Servers

    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

    Servers inWiring Closets

    RandomlyDistributed

    Servers

    CentralizedServers inData Center

    MainframeData Center

  • 7/30/2019 05 Understanding Switch

    17/385-17CSE: Networking FundamentalsSwitching 1999, Cisco Systems, Inc.www.cisco.com

    Todays LANs

    Mostly switchedresources; few

    shared Routers provide

    scalability

    Groups of usersdetermined byphysical location

    10/100Switch

    10-Mbps

    Hub

    10/100Switch

  • 7/30/2019 05 Understanding Switch

    18/38 1999, Cisco Systems, Inc.www.cisco.com

    LAN Switching Basics

    1999, Cisco Systems, Inc. www.cisco.com

  • 7/30/2019 05 Understanding Switch

    19/38

    5-19CSE: Networking FundamentalsSwitching 1999, Cisco Systems, Inc.www.cisco.com

    LAN Switching Basics

    Enables dedicatedaccess

    Eliminatescollisions andincreases capacity

    Supports multipleconversations atthe same time

  • 7/30/2019 05 Understanding Switch

    20/38

    5-20CSE: Networking FundamentalsSwitching 1999, Cisco Systems, Inc.www.cisco.com

    A C

    B

    2

    4

    1

    10 Mbps

    10 Mbps

    LAN Switch Operation

    Forwards packetsbased on a forwardingtable Forwards based on the MAC

    (Layer 2) address

    Operates at OSI Layer 2

    Learns a stationslocation by examiningsource address

    Sends out all ports whendestination address isbroadcast, multicast, orunknown address

    Forwards when destinationis located on different

    interface

    Interface

    Stations

    1 2 3 4

    3Data from A to B

  • 7/30/2019 05 Understanding Switch

    21/38

    5-21CSE: Networking FundamentalsSwitching 1999, Cisco Systems, Inc.www.cisco.com

    A C

    B

    2

    4

    1

    10 Mbps

    10 Mbps

    LAN Switch Operation

    Forwards packetsbased on a forwardingtable Forwards based on the MAC

    (Layer 2) address

    Operates at OSI Layer 2

    Learns a stationslocation by examiningsource address

    Sends out all ports whendestination address isbroadcast, multicast, orunknown address

    Forwards when destinationis located on different

    interface

    Interface

    Stations

    1 2 3 4

    A X

    3

  • 7/30/2019 05 Understanding Switch

    22/38

    5-22CSE: Networking FundamentalsSwitching 1999, Cisco Systems, Inc.www.cisco.com

    A C

    B

    2

    4

    1

    10 Mbps

    10 Mbps

    LAN Switch Operation

    Forwards packetsbased on a forwardingtable Forwards based on the MAC

    (Layer 2) address

    Operates at OSI Layer 2

    Learns a stationslocation by examiningsource address

    Sends out all ports whendestination address isbroadcast, multicast, orunknown address

    Forwards when destinationis located on different

    interface

    Interface

    Stations

    1 2 3 4

    A X

    3Data from A to B

    DatafromAtoB

    DatafromA

    toB

  • 7/30/2019 05 Understanding Switch

    23/38

    5-23CSE: Networking FundamentalsSwitching 1999, Cisco Systems, Inc.www.cisco.com

    A C

    B

    2

    4

    1

    10 Mbps

    10 Mbps

    LAN Switch Operation

    Forwards packetsbased on a forwardingtable Forwards based on the MAC

    (Layer 2) address

    Operates at OSI Layer 2

    Learns a stationslocation by examiningsource address

    Sends out all ports whendestination address isbroadcast, multicast, orunknown address

    Forwards when destinationis located on different

    interface

    Interface

    Stations

    1 2 3 4

    A X

    3

    B X

    DatafromB

    toA

  • 7/30/2019 05 Understanding Switch

    24/38

    5-24CSE: Networking FundamentalsSwitching 1999, Cisco Systems, Inc.www.cisco.com

    A C

    B

    2

    4

    1

    10 Mbps

    10 Mbps

    LAN Switch Operation

    Forwards packetsbased on a forwardingtable Forwards based on the MAC

    (Layer 2) address

    Operates at OSI Layer 2

    Learns a stationslocation by examiningsource address

    Sends out all ports whendestination address isbroadcast, multicast, orunknown address

    Forwards when destinationis located on different

    interface

    Interface

    Stations

    1 2 3 4

    A X

    B X

    3

    Data from B to A

  • 7/30/2019 05 Understanding Switch

    25/38

    5-25CSE: Networking FundamentalsSwitching 1999, Cisco Systems, Inc.www.cisco.com

    Switching Technology: FullDuplex

    Doubles bandwidth between nodes

    e.g. switch and server

    Collision-free transmission

    Two 10- or 100-Mbps data paths

    Full Duplex Switch

    10 or 100 Mbps

    10 or 100 Mbps

    10 or 100 Mbps

    10 or 100 Mbps

  • 7/30/2019 05 Understanding Switch

    26/38

    5-26CSE: Networking FundamentalsSwitching 1999, Cisco Systems, Inc.www.cisco.com

    Switching Technology: TwoMethods

    Frame Frame Frame

    Frame

    Cut-through

    Switch checks DA andimmediately begins

    forwarding frame

    Store-and-forward

    Complete frame isreceived before

    forwarding

  • 7/30/2019 05 Understanding Switch

    27/38

    1999, Cisco Systems, Inc.www.cisco.com

    Key SwitchingTechnologies

    1999, Cisco Systems, Inc. www.cisco.com

  • 7/30/2019 05 Understanding Switch

    28/38

    5-28CSE: Networking FundamentalsSwitching 1999, Cisco Systems, Inc.www.cisco.com

    Key Switching Technologies

    802.1d Spanning-Tree Protocol

    Multicasting

  • 7/30/2019 05 Understanding Switch

    29/38

    5-29CSE: Networking FundamentalsSwitching 1999, Cisco Systems, Inc.www.cisco.com

    Problems with large switched networks

    Local multicast, broadcast, and unknown single-destination event storms become global events

    The Need for Spanning Tree

    Station A

    Station B

    Segment A

    Segment B

    Switch 1 Switch 2

    1/1

    1/2

    2/1

    2/2

    802 1d S i T

  • 7/30/2019 05 Understanding Switch

    30/38

    5-30CSE: Networking FundamentalsSwitching 1999, Cisco Systems, Inc.www.cisco.com

    802.1d Spanning-TreeProtocol (STP)

    Allows redundancy by using parallel links

    Shuts down redundant links to eliminateloops

    Switches communicate with each otherusing BPDUs (Bridge Protocol Data Units)

    Takes 3060 seconds to converge

    Cisco refinements:PortFast

    UplinkFast

  • 7/30/2019 05 Understanding Switch

    31/38

    5-31CSE: Networking FundamentalsSwitching 1999, Cisco Systems, Inc.www.cisco.com

    Multicasting

    Emerging applicationsrequire increasedbandwidth

    E-mail, file transfers, andfile sharing are easy tohandle

    Emerging applications are

    bandwidth hungry Multipoint communications

    are required Simultaneous communication

    between groups of computers

    Video

    LAN TV

    Desktopconferencing

    Corporatebroadcasts

    Collaborativecomputing

  • 7/30/2019 05 Understanding Switch

    32/38

  • 7/30/2019 05 Understanding Switch

    33/38

    5-33CSE: Networking FundamentalsSwitching 1999, Cisco Systems, Inc.www.cisco.com

    WAN

    VideoServers

    Channel 1

    Channel 2

    Channel 3

    1

    2

    3

    Multicast

    Internet Group Management

    Protocol (IGMP)

    Multicast routing protocols

    IGMPMulticast RoutingProtocols

    Switches typically flood allports with multicast traffic

    Problem: How toprevent multicastingflooding?

  • 7/30/2019 05 Understanding Switch

    34/38

    5-34CSE: Networking FundamentalsSwitching 1999, Cisco Systems, Inc.www.cisco.com

    WAN

    VideoServers

    Channel 1

    Channel 2

    Channel 3

    1

    2

    3

    End-to-End Multicast

    Internet Group Management

    Protocol (IGMP)

    Multicast routing protocols

    IGMP

    Cisco Group Management

    Protocol (CGMP)

    CGMP

    Wire-SpeedMulticast

    Multicast RoutingProtocols

  • 7/30/2019 05 Understanding Switch

    35/38

    5-35CSE: Networking FundamentalsSwitching 1999, Cisco Systems, Inc.www.cisco.com

    VideoServers

    Channel 1

    Channel 2

    Channel 3

    1

    2

    3

    End-to-End Multicast

    IGMP

    Internet Group Management

    Protocol (IGMP)

    Multicast routing protocols

    Cisco Group Management

    Protocol (CGMP)

    WAN

    CGMP

    Wire-SpeedMulticast

    Multicast RoutingProtocols

  • 7/30/2019 05 Understanding Switch

    36/38

    5-36CSE: Networking FundamentalsSwitching 1999, Cisco Systems, Inc.www.cisco.com

    Why Use Multicast?

    1 20 40 60 80 100

    Number of Clients

    0.8

    0.6

    0.4

    0.2

    0

    TrafficMbps With multicast

    Without multicast

    100-kbps Video Stream

    Highly scalable information delivery

  • 7/30/2019 05 Understanding Switch

    37/38

    5-37CSE: Networking FundamentalsSwitching 1999, Cisco Systems, Inc.www.cisco.com

    Summary

    Switches provide dedicated access

    Switches eliminate collisions andincrease capacity

    Switches support multiple

    conversations at the same timeSwitches provide intelligence formulticasting

  • 7/30/2019 05 Understanding Switch

    38/38


Recommended