Sie sind auf Seite 1von 38

CCNA Semester 3 Chapter 04 SWITCHING CONCEPTS

Objectives
Compare and contrast store-and-forward and cut-through switching Understand the differences between hubs, bridges, and switches Describe the main functions of switches List the major switch frame transmission modes Describe the process by which switches learn addresses Identify and define forwarding modes Define LAN segmentation
2

Table of Content
1 Introduction to Ethernet/802.3 LANs 2 Introduction to LAN Switching 3 Switch Operation

INTRODUCTION TO ETHERNET/802.3 LANS

Ethernet/802.3 LAN Development


Thick Ethernet
Limited to 500m before signal degradation Limitations on number and placement of stations Expensive, large and difficult to pull through buildings 10Mbps shared bandwidth

Thin Ethernet
Limited to 185m before signal degradation Less expensive and still difficult to pull through buildings 10Mbps shared bandwidth
5

Ethernet/802.3 LAN Development (cont.)


Each node share 10Mbps Each node has 10Mbps

Segment

Segment

Factors That Impact Network Performance

Elements Of Ethernet/802.3 Networks

All nodes on a shared Ethernet media transmit and receive data using a data frame broadcast method
8

Elements Of Ethernet/802.3 Networks

Half-duplex Networks

Full-duplex Transmitting
10 or 100 Mbps Full-Duplex 10 or 100 Mbps 10 or 100 Mbps 10 or 100 Mbps

Full-duplex Ethernet allows the transmission of a packet and the reception of a different packet at the same time. This connection is considered point-to-point and is collision free Full-duplex Ethernet offers 100% of the bandwidth in both directions
1

Network Latency
There is the time it takes the source NIC to place voltage pulses on the wire and the time it takes the receiving NIC to interpret these pulses. There is the actual propagation delay as the signal takes time to travel along the cable. Latency is added according to which networking devices, whether they are Layer 1, Layer 2, or Layer 3, are added to the path between the two communicating computers.
1

The Benefits Of Using Repeaters

INTRODUCTION TO LAN SWITCHING

LAN Segmentation

solate traffic between segment achieve more bandwid


1

LAN Segmentation With Bridges

LAN Segmentation With Routers

LAN Segmentation With Switches

Switches eliminate the impacts of collisions through the micro-segmentation Work with existing 802.3(CSMA/CD)
1

Basic Operations Of A Switch

A 4 Data A to B C 3

1 Interface 2

1 2 3 4
Station

A B C

Forward packets based on forwarding table - Based on MAC address

Basic Operations Of A Switch


Data A to B
4 Data A to B C 3

Data A to B

Interface

1 2 3 4
Station
B

A B C

Operate at layer 2 Learn stations location by examination source addre


2

Basic Operations Of A Switch

A 4

1 Interface C 3

Data B to A

1 2 3 4
Station

A B C X

- Send out all port when destination address is broadcast, multicast, unknown - Forwards when destination on different segment

Basic Operations Of A Switch

A 4 Data B to A C 3

Interface

1 2 3 4
Station
B

A B C X

Ethernet Switch Latency

Latency is the period of time from when the beginning of a frame enters to when the end of the frame exits the switch. Latency is directly related to the configured switching process and volume of traffic.

Layer 2 And Layer 3 Switching


Switching is the process of receiving an incoming frame on one interface and delivering that frame out another interface Layer 2 switching is based on MAC address information. Layer 3 switching is based on network layer addresses or IP addresses. Layer 3 switching is a function of the network layer. Traffic flow in a switched or flat network is inherently different from the traffic flow in a routed or hierarchical network.
2

Symmetric And Asymmetric Switching

Memory Buffering
In port-based memory buffering frames are stored in queues that are linked to specific incoming ports. A frame is transmitted to the outgoing port only when all the frames ahead of it in the queue have been successfully transmitted. Shared memory buffering deposits all frames into a common memory buffer which all the ports on the switch share. The frames in the buffer are linked dynamically to the transmit port.
2

Two Switching Methods


Store-and-forward
The entire frame is received before any forwarding takes place. Latency occurs while the frame is being received. Latency is greater with larger frames The switch is able to check the entire frame for errors

Cut-through
The frame is forwarded through the switch before the entire frame is received. At a minimum the frame destination address must be read before the frame can be forwarded. This mode decreases the latency of the transmission, but also reduces error detection

Two Forms Of Cut-through Switching


Fast-forward
Fast-forward switching offers the lowest level of latency. Fast-forward switching immediately forwards a packet after reading the destination address.

Fragment-free
Fragment-free switching filters out collision fragments before forwarding begins. Fragment-free switching waits until the packet is determined not to be a collision fragment before forwarding.
2

Frame Transmission Modes

How Switches And Bridges Learn Addresses

Reading the source MAC address of each received frame Recording the port on which the MAC address was received If the address is not found, the bridge forwards the frame out all ports except the port on which it was received. If the address is found in an address table and the address is associated with the port on which it was received, the frame is discarded. If the address is found in an address table and the address is not associated with the port on which it was received, the bridge forwards the frame to the port associated with the address.

How Switches And Bridges Filter Frames

Bridges are capable of filtering frames based on any Layer 2 fields Most Ethernet bridges can filter broadcast and multicast frames Today, bridges are also able to filter according to the network-layer protocol

LAN Segmentation Using Bridging

Why segment LANs?

Microsegmentation Implementation

Switches And Collision Domains


The network area where frames originate and collide is called the collision domain. A switch builds a switching table by learning the MAC addresses of the hosts that are connected to each switch port. When two connected hosts want to communicate with each other, the switch looks up the switching table and establishes a virtual connection between the ports. The virtual circuit is maintained until the session is terminated.
3

Switches And Broadcast Domains


Broadcasting is when one transmitter tries to reach all the receivers in the network When a device wants to send out a Layer 2 broadcast, the destination MAC address in the frame is set to all ones The broadcast domain at Layer 2 in referred to as the MAC broadcast domain. The MAC broadcast domain consists of all devices on the LAN that receive frame broadcasts by a host to all other machines on the LAN
3

Summary
The basic operations of a switch The differences between Layer 2 and Layer 3 switching Symmetric and asymmetric switching Memory buffering Store-and-forward and cut-through switchings The differences between hubs, bridges, and switches The main functions of switches Major switch frame transmission modes The process by which switches learn addresses The frame-filtering process LAN segmentation Microsegmentation using switching
3

Q&A

Das könnte Ihnen auch gefallen