1 Understanding LAN Switching. 2 Agenda Shared LAN Technology LAN Switching Basics 802.1d Spanning-Tree Protocol.

Slides:



Advertisements
Similar presentations
Part 2: Preventing Loops in the Network
Advertisements

Switching & Operations. Address learning Forward/filter decision Loop avoidance Three Switch Functions.
Cisco 3 - Switch Perrine. J Page 15/8/2015 Chapter 8 What happens to the member ports of a VLAN when the VLAN is deleted? 1.They become inactive. 2.They.
1 CCNA 3 v3.1 Module 7. 2 CCNA 3 Module 7 Spanning Tree Protocol (STP)
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.
CSEE W4140 Networking Laboratory Lecture 8: LAN Switching Jong Yul Kim
Introduction to Computer Networks 09/23 Presenter: Fatemah Panahi.
1 25\10\2010 Unit-V Connecting LANs Unit – 5 Connecting DevicesConnecting Devices Backbone NetworksBackbone Networks Virtual LANsVirtual LANs.
© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—1-1 Configuring Catalyst Switch Operations Introducing Spanning Tree Protocol.
LOGO Local Area Network (LAN) Layer 2 Switching and Virtual LANs (VLANs) Local Area Network (LAN) Layer 2 Switching and Virtual LANs (VLANs) Chapter 6.
Layer 2 Switch  Layer 2 Switching is hardware based.  Uses the host's Media Access Control (MAC) address.  Uses Application Specific Integrated Circuits.
Layer 2 Switching. Overview Introduction Spanning Tree Protocol Spanning Tree Terms Spanning Tree Operations LAN Switch Types Configuring Switches.
© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—1-1 Configuring Catalyst Switch Operations Configuring a Catalyst Switch.
Introduction to IT and Communications Technology Justin Champion C208 – 3292 Ethernet Switching CE
Semester 1 Module 8 Ethernet Switching Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology
Switching Chapter 9 Switching By Dr.Sukchatri P..
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.1 Module 7 Spanning Tree Protocol.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Lecture 12: LAN Redundancy Switched Networks Assistant Professor Pongpisit.
Connecting LANs, Backbone Networks, and Virtual LANs
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 6 Switch Configuration Cisco Networking Academy.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 7 Spanning-Tree Protocol Cisco Networking Academy.
CCNA Guide to Cisco Networking Fundamentals Fourth Edition
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Implement Spanning Tree Protocols LAN Switching and Wireless – Chapter 5.
1 CISCO NETWORKING ACADEMY PROGRAM (CNAP) SEMESTER 1/ MODULE 8 Ethernet Switching.
Saeed Darvish Pazoki – MCSE, CCNA Abstracted From: Cisco Press – ICND 2 – Chapter 2 Spanning tree Protocol 1.
CN2668 Routers and Switches (V2) Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+
Cisco 3 - Switch Perrine. J Page 110/3/2015 Chapter 7 How does STP provide a loop-free network? 1.By placing all ports in the blocking state 2.By placing.
Sybex CCNA Chapter 8: Layer-2 Switching Instructor & Todd Lammle.
1/28/2010 Network Plus Network Device Review. Physical Layer Devices Repeater –Repeats all signals or bits from one port to the other –Can be used extend.
VLAN V irtual L ocal A rea N etwork VLAN Network performance is a key factor in the productivity of an organization. One of the technologies used to.
S3C2 – LAN Switching Addressing LAN Problems. Congestion is Caused By Multitasking, Faster operating systems, More Web-based applications Client-Server.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 LAN Switching and Wireless Implement Spanning Tree Protocols (STP) Chapter.
Discovery 2 Internetworking Module 5 JEOPARDY John Celum.
The Medium Access Control Sublayer Chapter 4. The Channel Allocation Problem Static Channel Allocation Dynamic Channel Allocation  Delay for the divided.
Module 8: Ethernet Switching
Cisco 3 – Switching STP Perrine. J Page 110/19/2015 Chapter 8 Spanning Tree Protocol (STP) Having redundancy in a network is important, and allows the.
Created By NGIT. LAN Switching  A LAN switch is a device that provides much higher port density at a lower cost than traditional bridges. For this.
Review: –Ethernet What is the MAC protocol in Ethernet? –CSMA/CD –Binary exponential backoff Is there any relationship between the minimum frame size and.
LOGO Local Area Network (LAN) Layer 2 Switching and Virtual LANs (VLANs) Local Area Network (LAN) Layer 2 Switching and Virtual LANs (VLANs) Chapter 6.
15.1 Chapter 15 Connecting LANs, Backbone Networks, and Virtual LANs Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or.
Computer Networks 15-1 Connecting Devices. Connecting Device We divide connecting devices into five different categories based on the layer in which they.
OSI Model. Switches point to point bridges two types store & forward = entire frame received the decision made, and can handle frames with errors cut-through.
Computer Networks 15-1 Chapter 15. Connecting LANs, Backbone Networks, and Virtual LANs 15.1 Connecting devices 15.2 Backbone networks 15.3 Virtual LANs.
Configuring Cisco Switches Chapter 13 powered by DJ 1.
Click to edit Master subtitle style
© 1999, Cisco Systems, Inc. 6-1 Chapter 6 Catalyst Switch Operations.
Sem1 - Module 8 Ethernet Switching. Shared media environments Shared media environment: –Occurs when multiple hosts have access to the same medium. –For.
Instructor & Todd Lammle
STP LAN Redundancy Introduction Network redundancy is a key to maintaining network reliability. Multiple physical links between devices provide redundant.
STORE AND FORWARD & CUT THROUGH FORWARD Switches can use different forwarding techniques— two of these are store-and-forward switching and cut-through.
Copyright 2002Cisco Press: CCNA Instructor’s Manual Year 2 - Chapter 16/Cisco 4 - Module 9 CCNA Certification Exam Review By Your Name.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 7 Spanning Tree Protocol.
Finish up from Monday:. Today’s Agenda…  Day 1 Switching Technologies (Chapter 2 Sybex)Switching Technologies (Chapter 2 Sybex) VIRTUAL LAN’s [VLAN’S]
1 Version 3.0 Module 7 Spanning Tree Protocol. 2 Version 3.0 Redundancy Redundancy in a network is needed in case there is loss of connectivity in one.
Topic 5 Spanning tree protocol
CO5023 LAN Redundancy.
Layer-2 Switching and STP
Ch. 15 Connecting LANs.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Implement Spanning Tree Protocols (STP) LAN Switching and Wireless – Chapter.
Chapter-5 STP. Introduction Examine a redundant design In a hierarchical design, redundancy is achieved at the distribution and core layers through additional.
15.1 Chapter 15 Connecting LANs, Backbone Networks, and Virtual LANs Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or.
TCP/IP Layer 4 Protocols. TCP and UDP TCP provides error recovery, but to do so, it consumes more bandwidth and uses more processing cycles. UDP does.
Chapter 6.  Upon completion of this chapter, you should be able to:  Configure switches  Configure VLANs  Verify configuration settings  Troubleshoot.
Instructor Materials Chapter 3: STP
Lab 2 – Hub/Switch Data Link Layer
Chapter 4 Data Link Layer Switching
Lab 2 – Hub/Switch Data Link Layer
One Upon A Time Computer Networks
Chapter 16 Connecting LANs, Backbone Networks, and Virtual LANs
Chapter 15. Connecting Devices
Presentation transcript:

1 Understanding LAN Switching

2 Agenda Shared LAN Technology LAN Switching Basics 802.1d Spanning-Tree Protocol

3 Shared LAN Technology

4 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

5 Hubs Addressed Many of These Problems Ethernet 10 One device sending at a time Hub All nodes share 10 Mbps Ethernet concentrator “Self-contained” Ethernet LAN in a box Passive Works at physical layer 1

6 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.” “I’m waiting all the time.”

7 Other Bandwidth Consumers Unicast Broadcast Multicast

8 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 10BaseT Hub

9 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 Bridge Segment 1 Segment Corporate Intranet Hub

10 Switches—Layer 2 Ethernet Switch Each Node has 10 Mbps Backbone Switched Ethernet 10 Multiple devices sending at the same time

11 Switches versus Hubs Ethernet 10 One device sending at a time Hub All nodes share 10 Mbps Ethernet Switch Each node has 10 Mbps Backbone Switched Ethernet 10 Multiple devices sending at the same time

12 Today’s LANs Mostly switched resources; few shared Routers provide scalability Groups of users determined by physical location 10/100 Switch 10-Mbps Hub 10/100 Switch

13 LAN Switching Basics

14 LAN Switching Basics Enables dedicated access Eliminates collisions and increases capacity Supports multiple conversations at the same time

15 A C B Mbps LAN Switch Operation Forwards packets based on a forwarding table Forwards based on the MAC (Layer 2) address Operates at OSI Layer 2 Learns a station’s 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 Interface Stations Data from A to B

16 A C B Mbps LAN Switch Operation Forwards packets based on a forwarding table Forwards based on the MAC (Layer 2) address Operates at OSI Layer 2 Learns a station’s 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 Interface Stations AX 3

17 A C B Mbps LAN Switch Operation Forwards packets based on a forwarding table Forwards based on the MAC (Layer 2) address Operates at OSI Layer 2 Learns a station’s 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 Interface Stations AX 3 Data from A to B

18 A C B Mbps LAN Switch Operation Forwards packets based on a forwarding table Forwards based on the MAC (Layer 2) address Operates at OSI Layer 2 Learns a station’s 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 Interface Stations AX 3 BX Data from B to A

19 A C B Mbps LAN Switch Operation Forwards packets based on a forwarding table Forwards based on the MAC (Layer 2) address Operates at OSI Layer 2 Learns a station’s 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 Interface Stations AX BX 3 Data from B to A

20 Switching Technology: Full Duplex 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

21 Switching Technology: Two Methods Frame Cut-through Switch checks DA and immediately begins forwarding frame Store-and-forward Complete frame is received before forwarding

d Spanning-Tree Protocol

23 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 1Switch 2 1/1 1/2 2/1 2/2

d 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 30–60 seconds to converge

25 Spanning Tree Terms (1) STP  bridge protocol that uses the STA to find redundant links dynamically and create a spanning-tree topology database. Bridge ID  combination of the bridge priority (32,768 by default on all Cisco switches) and base MAC address. BPDU  protocol that used by switches to exchange information. Root bridge  bridge with the best bridge ID. Nonroot bridge  all bridge that are not the root bridge.

26 Spanning Tree Terms (2) Port cost  determined by the bandwidth of a link. Root port  shortest path to the root bridge. Forwarding port  a port that forwards frames. Blocked port  not forward frames  to prevent loops. Designated port  a port that has been determined as having the best (lowest) cost  forwarding port. Nondesignated port  port with a higher cost than the designated port  blocking port.

27 Spanning Tree Port States Disabled  administratively down. Blocking  it won’t forward frames  it just listens to BPDUs. Listening  prepares to forward data frames without populating the MAC address table. Learning  populates the MAC address table but doesn’t forward data frames. Forwarding  sends and receives all data frames.

28 Spanning Tree Example (1)

29 Spanning Tree Example (2)

30 1 user(s) now active on Management Console. User Interface Menu [M] Menus [K] Command Line [I] IP Configuration [P] Console Password Enter Selection: K CLI session with the switch is open. To end the CLI session, enter [Exit]. > 1900 Series (1)

31 >enable #conf t Enter configuration commands, one per line. End with CNTL/Z (config)#enable password ? level Set exec level password (config)#enable password level ? Level number (config)#enable password level 1 console (config)#enable password level 15 cisco (config)#enable secret c (config)# 1900 Series (2)

32 (config)#hostname uniti_1900 uniti_1900(config)# uniti_1900#sh ip IP Address: Subnet Mask: Default Gateway: Management VLAN: 1 Domain name: uniti.net Name server 1: Name server 2: HTTP server : Enabled HTTP port : 80 RIP : Enabled uniti_1900# 1900 Series (3)

33 uniti_1900(config)#ip address uniti_1900(config)#ip default-gateway uniti_1900(config)# uniti_1900(config)#int e0/1 uniti_1900(config-if)#description connect_to_building_1 uniti_1900(config-if)# uniti_1900 #delete nvram 1900 Series (4)

Series (1) Would you like to enter the initial configuration dialog? [yes/no]: no Press RETURN to get started! Switch> 00:32:52: %LINK-5-CHANGED: Interface Vlan1, changed state to administratively down 00:32:53: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to down Switch>

Series (2) Switch(config)#line ? First Line number console Primary terminal line vty Virtual terminal Switch(config)#line vty ? First Line number Switch(config)#line vty 0 15 Switch(config-line)#login Switch(config-line)#password telnet Switch(config-line)#line console 0 Switch(config-line)#login Switch(config-line)#password console

Series (3) Switch(config)#enable password cisco Switch(config)#enable secret c Switch(config)#hostname uniti_2950 uniti_2950(config)#int vlan 1 uniti_2950(config-if)#ip address uniti_2950(config-if)#no shut uniti_2950(config-if)# 00:41:40: %LINK-3-UPDOWN: Interface Vlan1, changed state to up 00:41:41: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up uniti_2950(config-if)#exit uniti_2950(config)#ip default-gateway

Series (4) uniti_2950(config)# uniti_2950(config)#int fastEthernet 0/1 uniti_2950(config-if)#description connect to pc1 uniti_2950(config-if)#int f0/2 uniti_2950(config-if)#description connect to pc2 uniti_2950(config-if)#^Z uniti_2950 #copy run start Destination filename [startup-config]? Building configuration... [OK] uniti_2950 #erase startup-config Erasing the nvram filesystem will remove all configuration files! Continue? [confirm] [OK]

38 Summary Switches provide dedicated access Switches eliminate collisions and increase capacity Switches support multiple conversations at the same time