1 26-Jun-16 Switches CCNA Exploration Semester 3 Chapter 2-Part 1 Warning – horribly long! Taken from Slides provided by S Ward Abingdon and Witney College.

Slides:



Advertisements
Similar presentations
CCNA3: Switching Basics and Intermediate Routing v3.0 CISCO NETWORKING ACADEMY PROGRAM Switching Concepts Introduction to Ethernet/802.3 LANs Introduction.
Advertisements

Chapter 5 Intro to Routing & Switching.  Upon completion of this chapter, you should be able to:  Describe the operation of the Ethernet sublayers.
Switching & Operations. Address learning Forward/filter decision Loop avoidance Three Switch Functions.
Chabot College Chapter 2 Review Questions Semester IIIELEC Semester III ELEC
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 5: Ethernet Introduction to Networks.
1 Version 3 Module 8 Ethernet Switching. 2 Version 3 Ethernet Switching Ethernet is a shared media –One node can transmit data at a time More nodes increases.
CIM 2465 Fundamentals of Ethernet1 Fundamentals of Ethernet (Topic 3) Textbook: Networking Basics, CCNA 1 Companion Guide, Cisco Press Cisco Networking.
CCNA 3 v3.1 Module 4.
1 Version 3 Module 8 Ethernet Switching. 2 Version 3 Ethernet Switching Ethernet is a shared media –One node can transmit data at a time More nodes increases.
Nov-03 ©Cisco Systems CCNA Semester 1 Version 3 Comp11 Mod8 – St. Lawrence College – Cornwall Campus, ON, Canada – Clark slide 1 Cisco Systems CCNA Version.
1 27-Jun-15 S Ward Abingdon and Witney College VLAN Trunking protocol CCNA Exploration Semester 3 Chapter 4.
5-1 Data Link Layer r Today, we will study the data link layer… r This is the last layer in the network protocol stack we will study in this class…
1 28-Jun-15 S Ward Abingdon and Witney College Inter-VLAN routing CCNA Exploration Semester 3 Chapter 6.
Ethernet Frame PreambleDestination Address Source Address Length/ Type LLC/ Data Frame Check Sequence.
© Wiley Inc All Rights Reserved. CCNA: Cisco Certified Network Associate Study Guide CHAPTER 1: Internetworking.
Layer 2 Switch  Layer 2 Switching is hardware based.  Uses the host's Media Access Control (MAC) address.  Uses Application Specific Integrated Circuits.
VLANs.ppt CCNA Exploration Semester 3 Chapter 3
Chapter 4: Managing LAN Traffic
Chapter 5 Intro to Routing & Switching.  Upon completion of this chapter, you should be able to:  Describe the operation of the Ethernet sublayers.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 5: Ethernet Introduction to Networks.
Common Devices Used In Computer Networks
Brierley 1 Module 4 Module 4 Introduction to LAN Switching.
Network Devices.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 4 Switching Concepts.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 5: Ethernet Introduction to Networks.
S3C2 – LAN Switching Addressing LAN Problems. Congestion is Caused By Multitasking, Faster operating systems, More Web-based applications Client-Server.
Switches 1RD-CSY  In this lecture, we will learn about  Collision Domain and Microsegmentation  Switches – a layer two device ◦ MAC address.
Secured Network Design
Chapter Overview Bridging Switching Routing.
CCNA 3 Week 4 Switching Concepts. Copyright © 2005 University of Bolton Introduction Lan design has moved away from using shared media, hubs and repeaters.
Data Link Layer Moving Frames. Link Layer Protocols: ethernet, wireless, Token Ring and PPP Has node-to-node job of moving network layer.
The University of Bolton School of Games Computing & Creative Technologies LCT2516 Network Architecture CCNA Exploration LAN Switching and Wireless Chapter.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Configure a Switch LAN Switching and Wireless – Chapter 2.
Cisco 3 – Switching Concepts Perrine. J Page 16/1/2016 Module 4 The use of bridges and switches for segmentation results in ____? 1.Multiple broadcast.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 4 Switching Concepts.
Networks and Protocols CE Week 2a. Network hardware.
Version 4.0 Ethernet Network Fundamentals – Chapter 9 Sandra Coleman, CCNA, CCAI.
Semester 3—LAN Switching Chapter 2 Objectives  By the end of this chapter we will be able to perform tasks related to: – Various LAN Communication Problems.
Cisco 3 - Switching Perrine. J Page 16/4/2016 Chapter 4 Switches The performance of shared-medium Ethernet is affected by several factors: data frame broadcast.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 4 Switching Concepts.
Switches 1RD-CSY  In this lecture, we will learn about  Collision Domain and Microsegmentation  Switches – a layer two device ◦ MAC address.
Sem1 - Module 8 Ethernet Switching. Shared media environments Shared media environment: –Occurs when multiple hosts have access to the same medium. –For.
1 2-Dec-15 Ethernet CCNA Exploration Semester 1 Chapter 9.
LAN Switching and Wireless Basic Switch Concepts and Configuration.
LAN Switching Concepts. Overview Ethernet networks used to be built using repeaters. When the performance of these networks began to suffer because too.
1. 2 It is a Physical layer device (Layer 1) It is Dummy Device It works with 0’s and 1’s (Bits) It works with broadcasting It works with shared bandwidth.
Copyright 2002Cisco Press: CCNA Instructor’s Manual Year 2 - Chapter 16/Cisco 4 - Module 9 CCNA Certification Exam Review By Your Name.
Switching Topic 1 Basic concepts. Agenda Ethernet CSMA/CD and duplex Frames and MACs Switching process – Store, forward and buffers Issues – Collisions.
Ethernet Overview it the IEEE standard for Ethernet.
Switching Concepts Introduction to Ethernet/802.3 LANs
LAN Switching Semester 3, Chapter 2 Allan Johnson.
CCNA3 Module 4 Brierley Module 4. CCNA3 Module 4 Brierley Topics LAN congestion and its effect on network performance Advantages of LAN segmentation in.
1 CCNA 3 v3.1 Module 4 Switching Concepts Claes Larsen, CCAI.
1 4-Mar-16 S Ward Abingdon and Witney College CCNA Exploration Semester 1 Ethernet CCNA Exploration Semester 1 Chapter 9.
CCNA3 v3 Module 4 v3 CCNA 3 Module 4 JEOPARDY K. Martin.
+ Lecture#2: Ethernet Asma ALOsaimi. + Objectives In this chapter, you will learn to: Describe the operation of the Ethernet sublayers. Identify the major.
Chapter Objectives After completing this chapter you will be able to: Describe in detail the following Local Area Network (LAN) technologies: Ethernet.
Interconnecting Cisco Networking Devices Part 1 Pass4sureusa Pass4sure.
Lec # 25 Computer Network Muhammad Waseem Iqbal. Learn about the Internetworking Devices – Repeaters – Hubs – Switches – Bridges – Routers.
1 28-Sep-16 S Ward Abingdon and Witney College CCNA Exploration Semester 1 OSI network layer CCNA Exploration Semester 1 Chapter 5.
Chapter-2 Basic switch concept and configuration.
Youngstown State University Cisco Regional Academy
Introduction to Networks v6.0
Switch Concepts and Configuration Part I
Instructor Materials Chapter 5: Ethernet
Instructor: Mr. Malik Zaib
Chapter 4: Switched Networks
Chapter 10: Ethernet Network Basics Chapter 10: Ethernet
Ethernet: A Multi-access Network
Instructor: Mr. Malik Zaib
Presentation transcript:

1 26-Jun-16 Switches CCNA Exploration Semester 3 Chapter 2-Part 1 Warning – horribly long! Taken from Slides provided by S Ward Abingdon and Witney College and St. Clair College in Windsor, Ontario

2CSE490, SKZ CCNA Exploration Semester 3 LAN DesignBasic Switch Concepts VLANs VTP STP Inter-VLAN routing Wireless

3CSE490, SKZ Topics Key Elements of Ethernet/802.3 Networks Switches and how they forward frames Configure a switch Basic security on a switch

4CSE490, SKZ Key Elements of Ethernet /802.3 Networks

5CSE490, SKZ CSMA/CD Shared medium Physical shared cable or hub. Ethernet was designed to work with collisions. Uses carrier sense multiple access collision detection (CSMA/CD) for media access.

6CSE490, SKZ CSMA/CD reminder Device needs to transmit. It “listens” for signals on the medium. If finds signals – it waits. If clear – it sends. Carry on listening. If it receives while sending the first 64 bytes of the frame then collision. Stop sending frame, send jam signal. Wait for random time (backoff) Try again – listen for signals etc.

7CSE490, SKZ NOTES: No collisions Fully switched network with full duplex operation = no collisions. Higher bandwidth Ethernet does not define collisions – must be fully switched. Cable length limited if CSMA/CD needed. Fibre optic – always fully switched, full duplex. (Shared medium must use half duplex in order to detect collisions.)

8CSE490, SKZ Ethernet Communications Efficiency is typically rated at 50 to 60 percent of the 10-Mb/s bandwidth. 100 percent efficiency in both directions.

9CSE490, SKZ Switch Port Settings AUTO: Auto-negotiation of duplex mode. The two ports communicate to determine the best mode. Default for FastEthernet and 10/100/1000 ports. Auto is fine if both devices are using it. Potential problem if switch uses it and other device does not. Switch defaults to half. FULL: Full-duplex mode. Default for 100BASE-FX ports. HALF: Half-duplex mode. Full one end and half the other – errors.

10CSE490, SKZ Auto-MDIX feature: Command makes switch detect whether cable is straight through or crossover and compensate so you can use either. Depends on IOS version Enabled by default from 12.2(18)SE on Switch Port Settings Cross Over CableStraight Through Cable

11CSE490, SKZ Ethernet Communications

12CSE490, SKZ Communication types reminder Unicast – to a single host address e.g. most user traffic: http, ftp, smtp etc. Broadcast – addressed to all hosts on the network e.g. ARP requests. Multicast – to a group of devices e.g. routers running EIGRP, group of hosts using videoconferencing. IP addresses have first octet in range 224 – 239.

13CSE490, SKZ Ethernet Communications Ethernet Frame: Minimum 64 bytes, Maximum 1518 bytes Preamble/SOFD: To synchronize. Destination Address: MAC Address of destination device. Source Address: MAC address of source device. Length/Type: Length of frame or protocol type code. Data: Encapsulated data from OSI Layers 7 to 3. FCS: Frame Check Sequence.

14CSE490, SKZ MAC address 48-bits written as 12 hexadecimal digits. Format varies: A-3C-78-00, 00:05:9A:3C:78:00, or A3C MAC address can be permanently encoded into a ROM chip on a NIC - burned in address (BIA). Some manufacturers allow the MAC address to be modified locally.

15CSE490, SKZ Ethernet Communications MAC Address: 12 hexadecimal digits Broadcast: Indicates a broadcast or multicast frame. Local: indicates whether the address can be modified locally. OUI Number: Manufacturer of the NIC, allocated by IEEE Vendor Number: Unique identifier for port on device, vendor assigned number.

16CSE490, SKZ Switch MAC Address Table Table matches switch port with MAC address of attached device Built by inspecting source MAC address of incoming frames Destination MAC address checked against table, frame sent through correct port If not in table, frame flooded Broadcasts flooded

17CSE490, SKZ Switch MAC Address Table Example Step 1: The switch receives a broadcast frame from PC 1 on Port 1. The switch receives a broadcast frame from PC 1 on Port 1.

18CSE490, SKZ Switch MAC Address Table Example Step 2: The switch enters the and the into the address table. The switch enters the source MAC address and the switch port that received the frame into the address table.

19CSE490, SKZ Example Step 3: Because the destination address is a broadcast, the switch Because the destination address is a broadcast, the switch floods the frame to all ports, except the port on which it received the frame. Switch MAC Address Table

20CSE490, SKZ Example Step 4: The destination device replies to the broadcast with a The destination device replies to the broadcast with a unicast frame addressed to PC 1. Switch MAC Address Table

21CSE490, SKZ Example Step 5: The switch enters the source MAC address of PC 2 and the port number of the switch port that received the frame into the address table. The switch enters the source MAC address of PC 2 and the port number of the switch port that received the frame into the address table. Switch MAC Address Table

22CSE490, SKZ Example Step 6: The switch can now forward frames between source and destination devices because it has entries in the address table that identify the associated ports. The switch can now forward frames between source and destination devices because it has entries in the address table that identify the associated ports. Switch MAC Address Table

23CSE490, SKZ Design Considerations – Collision Domains A of Ethernet is. A major disadvantage of Ethernet is collisions. to either eliminate or reduce collisions. A hub offers no mechanisms to either eliminate or reduce collisions. Shared medium – same collision domain. The more devices – the more collisions. A Switch (+ full duplex) dedicated link each way 100% bandwidth in each direction. Link regarded as an individual collision domain if you are asked to count them.

24CSE490, SKZ How many collision domains?

25CSE490, SKZ How many collision domains? 11

26CSE490, SKZ Broadcast Domains Layer 2 switches flood broadcasts. Devices linked by switches are in the same broadcast domain. A layer 3 device (router) splits up broadcast domains, does not forward broadcasts Destination MAC address for broadcast is all 1s, that is FF:FF:FF:FF:FF:FF (We ignore VLANs here – they come later.)

27CSE490, SKZ Interconnecting switches extends the broadcast domain. Broadcast Domains

28CSE490, SKZ How many broadcast domains? No VLANs

29CSE490, SKZ How many broadcast domains?

30CSE490, SKZ Design Considerations – Network Latency is the time a frame or a packet takes to travel from the source to the final destination. Latency is the time a frame or a packet takes to travel from the source to the final destination. NIC Delay Propagation Delay Intermediate Devices Delay NIC Delay

31CSE490, SKZ Design Considerations – Network Congestion : Most common causes: More powerful PCs can send and process more data at higher rates. Increasing use of remote resources (servers, Internet) generates more traffic. More broadcasts, more congestion. Applications make more use of advanced graphics, video etc. Need more bandwidth.

32CSE490, SKZ Design Considerations – Network Congestion Solution: Segmenting LANs into smaller parts LANs are segmented into a number of smaller and using routers and switches. LANs are segmented into a number of smaller collision and broadcast domains using routers and switches. The is to isolate traffic and to achieve better use of bandwidth per user. The primary reason is to isolate traffic and to achieve better use of bandwidth per user.

33CSE490, SKZ Design Considerations – Network Congestion HubHub No LAN Segmentation:

34CSE490, SKZ HubHub JAMJAMJAMJAM JAMJAMJAMJAM JAMJAMJAMJAM JAMJAMJAMJAM Design Considerations – Network Congestion No LAN Segmentation:

35CSE490, SKZ Broadcast Domain SwitchSwitch Collision Domains LAN Segmentation: Design Considerations – Network Congestion Solution

36CSE490, SKZ Broadcast Domains LAN Segmentation: RouterRouter Collision Domains Design Considerations – Network Congestion Solution

37CSE490, SKZ Controlled Collision and Broadcast Domains

38CSE490, SKZ Design Considerations – Network Congestion Control latency Consider the latency caused by each device on the network. Consider the latency caused by each device on the network. Removing Bottle Necks Use a faster link. Have several links and use link aggregation so that they act as one link with the combined bandwidth.

39CSE490, SKZ Remove bottlenecks

40CSE490, SKZ Forwarding Frames Using a Switch Two Methods: Store and Forward. Cut Through. Fast Forward Fragment Free Cisco switches now all use Store and Forward. Some older switches used Cut Through.

41CSE490, SKZ Store-and forward: Receives the entire frame. Receives the entire frame. Computes the CRC and checks the frame length. Computes the CRC and checks the frame length. If valid, checks the switch table for the destination address and forwards the frame. If valid, checks the switch table for the destination address and forwards the frame. If invalid, the frame is dropped. If invalid, the frame is dropped. Allows entry and exit at different bandwidths Switch Forwarding Methods DestinationSourceDataFCS = CRC Frame is Good Destination found in Switching Table

42CSE490, SKZ Cut Through - Fast forward Read start of frame as it comes in, as far as end of destination MAC address (first 6 bytes after start delimiter) Look up port and start forwarding while remainder of frame is still coming in. No checks or discarding of bad frames Entry and exit must be same bandwidth Lowest latency Switch Forwarding Methods

43CSE490, SKZ Cut Through - Fragment Free Read start of frame as it comes in, as far as end of byte 64 Look up port and start forwarding while remainder of frame (if any) is still coming in. Discards collision fragments (too short) but other bad frames are forwarded Entry and exit must be same bandwidth Compromise between low latency and checks Switch Forwarding Methods

44CSE490, SKZ Symmetric: All ports are of the same bandwidth. All ports are of the same bandwidth. Optimized for a reasonably distributed traffic load. Optimized for a reasonably distributed traffic load. Symmetric and Asymmetric Switching

45CSE490, SKZ Asymmetric: Provides switched connections between ports of unlike bandwidth. Provides switched connections between ports of unlike bandwidth. For example, more bandwidth can be assigned to a server to prevent bottlenecks. For example, more bandwidth can be assigned to a server to prevent bottlenecks. Symmetric and Asymmetric Switching

46CSE490, SKZ A switch analyzes some or all of a packet before it forwards it to the destination host based on the forwarding method. A switch analyzes some or all of a packet before it forwards it to the destination host based on the forwarding method. It stores the packet for the brief time in a It stores the packet for the brief time in a memory buffer. Built into the hardware Built into the hardware Two types: Port based. Port based. Shared. Shared. Memory Buffering

47CSE490, SKZ Port Based: Each incoming port has its own queue. Frames stay in buffer until outgoing port is free. Frame destined for busy outgoing port can hold up all the others even if their outgoing ports are free. Each incoming port has a fixed and limited amount of memory. Memory Buffering

48CSE490, SKZ Shared: Deposits all frames into a common memory buffer that all the ports on the switch share. Deposits all frames into a common memory buffer that all the ports on the switch share. The amount of buffer memory required by a port is dynamically allocated. The amount of buffer memory required by a port is dynamically allocated. The frames in the buffer are linked dynamically to the destination port. The frames in the buffer are linked dynamically to the destination port. Allows the packet to be received on one port and then transmitted on another port, without moving it to a different queue. Allows the packet to be received on one port and then transmitted on another port, without moving it to a different queue. Memory Buffering

49CSE490, SKZ Layer 2 and Layer 3 Switching Traditional Ethernet switches work at layer 2. They use MAC addresses to make forwarding decisions. They do not look at layer 3 information. Cisco Catalyst 2960 Series

50CSE490, SKZ Layer 2 and Layer 3 Switching Layer 3 switches can carry out the same functions as layer 2 switches. They can also use layer 3 IP addresses to route between networks. The can control the spread of broadcasts. Cisco Catalyst 3560 Series

51CSE490, SKZ Layer 3 switches do not completely replace the need for routers on a network. Routers perform additional Layer 3 services that Layer 3 switches are not capable of performing. Routers perform additional Layer 3 services that Layer 3 switches are not capable of performing. Routers and Switches

52 26-Jun-16 Part 1- End