Switching & Operations. Address learning Forward/filter decision Loop avoidance Three Switch Functions.

Slides:



Advertisements
Similar presentations
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 2: LAN Redundancy Scaling Networks.
Advertisements

CCNA3: Switching Basics and Intermediate Routing v3.0 CISCO NETWORKING ACADEMY PROGRAM Switching Concepts Introduction to Ethernet/802.3 LANs Introduction.
Part 2: Preventing Loops in the Network
Chabot College Chapter 2 Review Questions Semester IIIELEC Semester III ELEC
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.
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.
1 Understanding LAN Switching. 2 Agenda Shared LAN Technology LAN Switching Basics 802.1d Spanning-Tree Protocol.
© 2002, Cisco Systems, Inc. All rights reserved..
© 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.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 2: LAN Redundancy Scaling Networks.
© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—1-1 Configuring Catalyst Switch Operations Configuring a Catalyst Switch.
© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—1-1 Configuring Catalyst Switch Operations Introducing Basic Layer 2 Switching and Bridging Functions.
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..
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 2: LAN Redundancy Scaling Networks.
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.
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.
CS 350 Chapter-11Switching. Switching Service Hardware-based bridging (ASIC: application-specific integrated circuits) Wire speed Low latency Low cost.
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.
S3C2 – LAN Switching Addressing LAN Problems. Congestion is Caused By Multitasking, Faster operating systems, More Web-based applications Client-Server.
Ch. 18/Mod. 7 Spanning Tree Protocol CCNA 3 version 3.0.
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.
Switching Basics and Intermediate Routing CCNA 3 Chapter 7.
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.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 8 Virtual LANs.
Configuring Cisco Switches Chapter 13 powered by DJ 1.
Switching Basics and Intermediate Routing CCNA 3 Chapter 8.
S7C5 – Spanning Tree Protocol And other topics. Switch Port Aggregation Bundling –Combining 2 to 8 links of FE (Fast Ethernet) or GE (Gigabit) Full duplex.
© 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
Spanning Tree V1.2 Slide 1 of 1 Purpose:
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.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 7 Spanning Tree Protocol.
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
© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—1-1 Configuring Catalyst Switch Operations Identifying Problems That Occur in Redundant Switched.
Chapter-5 STP. Introduction Examine a redundant design In a hierarchical design, redundancy is achieved at the distribution and core layers through additional.
CCNA1 v3 Module 8 v3 CCNA 1 Module 8 JEOPARDY S Dow.
Instructor Materials Chapter 3: STP
Spanning Tree Protocol
© 2002, Cisco Systems, Inc. All rights reserved.
CIT 384: Network Administration
Lecture#10: LAN Redundancy
Configuring Catalyst Switch Operations
Spanning Tree Protocol
One Upon A Time Computer Networks
© 2002, Cisco Systems, Inc. All rights reserved.
Spanning Tree Protocol
NT2640 Unit 9 Activity 1 Handout
Connecting LANs, Backbone Networks,
© 2002, Cisco Systems, Inc. All rights reserved.
© 2002, Cisco Systems, Inc. All rights reserved.
Chapter 15. Connecting Devices
© 2002, Cisco Systems, Inc. All rights reserved.
© 2002, Cisco Systems, Inc. All rights reserved.
Presentation transcript:

Switching & Operations

Address learning Forward/filter decision Loop avoidance Three Switch Functions

How Switches Learn Host Locations Initial MAC address table is empty MAC address table c c c c E0E1 E2E3 AB CD

How Switches Learn Hosts Locations Station A sends a frame to Station C Switch caches station A MAC address to port E0 by learning the source address of data frames The frame from station A to station C is flooded out to all ports except port E0 (unknown unicasts are flooded) MAC address table c c c c E0: c E0E1 E2E3 DC BA

How Switches Learn Host Locations Station D sends a frame to station C Switch caches station D MAC address to port E3 by learning the source Address of data frames The frame from station D to station C is flooded out to all ports except port E3 (unknown unicasts are flooded) MAC address table c c c c E0: c E3: c E0E1 E2E3 DC A B

How Switches Filter Frames Station A sends a frame to station C Destination is known, frame is not flooded E0: c E2: c E1: c E3: c c c c c E0E1 E2 E3 X X X X D C AB MAC address table

Broadcast and Multicast Frames Station D sends a broadcast or multicast frame Broadcast and multicast frames are flooded to all ports other than the originating port c c c c E0E1 E2E3 DC AB E0: c E2: c E1: c E3: c MAC address table

Redundant Topology Redundant topology eliminates single points of failure Redundant topology causes broadcast storms, multiple frame copies, and MAC address table instability problems Segment 1 Segment 2 Server/host X Router Y

Broadcast Storms Segment 1 Segment 2 Server/host X Router Y Broadcast Switch A Switch B Host X sends a Broadcast

Broadcast Storms Segment 1 Segment 2 Server/host X Router Y Broadcast Switch ASwitch B Host X sends a Broadcast

Broadcast Storms Segment 1 Segment 2 Server/host X Router Y Broadcast Switches continue to propagate broadcast traffic over and over Switch ASwitch B

Multiple Frame Copies Segment 1 Segment 2 Server/host X Router Y Unicast Switch A Switch B Host X sends an unicast frame to router Y Router Y MAC address has not been learned by either switch yet

Multiple Frame Copies Segment 1 Segment 2 Server/host X Router Y Unicast Switch A Switch B Host X sends an unicast frame to Router Y Router Y MAC Address has not been learned by either Switch yet Router Y will receive two copies of the same frame Unicast

Complex topology can cause multiple loops to occur Layer 2 has no mechanism to stop the loop Server/host Workstations Loop Multiple Loop Problems Broadcast

Solution: Spanning-Tree Protocol Provides a loop free redundant network topology by placing certain ports in the blocking state Block x

Spanning-Tree Operations One root bridge per network One root port per nonroot bridge One designated port per segment x Designated port (F)Root port (F) Designated port (F) Nondesignated port (B) Root bridgeNonroot bridge SW X SW Y 100baseT 10baseT

Spanning-Tree Protocol Path Cost Link SpeedCost (reratify IEEE spec) Cost (previous IEEE spec) Gbps 21 1 Gbps Mbps Mbps100100

Switch Y MAC 0c Default priority Switch X MAC 0c Default priority Port 0 Port 1 Port 0 Port 1 Switch Z Mac 0c Default priority Port 0 Can you figure out: What is the root bridge? What are the designated, nondesignated, and root ports? Which are the forwarding and blocking ports? 100baseT Spanning-Tree:

Switch Y MAC 0c Default priority Switch X MAC 0c Default priority Port 0 Port 1 Port 0 Port 1 Switch Z Mac 0c Default priority Port 0 Can you figure out: What is the root bridge? What are the designated, nondesignated, and root parts? Which are the forwarding and blocking ports? 100baseT Spanning-Tree: Designated port (F) Root port (F) Nondesignated port (BLK)Designated port (F) Root port (F)

Blocking (20 sec) Listening (15 sec) Learning (15 sec) Forwarding Spanning-Tree Port States Spanning-tree transitions each port through several different state:

Spanning-Tree Recalculation Switch Y MAC 0c Default priority Switch X MAC 0c Default priority Port 0 Port 1 Port 0 Port 1 10baseT x x 100baseT Root Bridge Designated portRoot port (F) Nondesignated port (BLK)Designated port

Switch Y MAC 0c Default priority Switch X MAC 0c Default priority Port 0 Port 1 Port 0 Port 1 10baseT x x 100baseT Root Bridge Designated portRoot port (F) Nondesignated port (BLK)Designated port BPDU x x MAXAGE x x Spanning-Tree Recalculation

Key Issue: Time to Convergence Convergence occurs when all the switch and bridge ports have transitioned to either the forwarding or blocking state When network topology changes, switches and bridges must recompute the Spanning-Tree Protocol, which disrupts user traffic

Primarily software based One spanning-tree instance per bridge Usually up to 16 ports per bridge Bridging Primarily hardware based (ASIC) Many spanning-tree instances per switch More ports on a switch LAN Switching Bridging Compared to LAN Switching

Transmitting Frames Through a Switch Cut-through Switch checks destination address and immediately begins forwarding frame Frame

Transmitting Frames through a Switch Store and forward Complete frame is received and checked before forwarding Cut-through Switch checks destination address and immediately begins forwarding frame Frame

Transmitting Frames through a Switch Cut-through Switch checks destination address and immediately begins forwarding frame Frame Fragment free (modified cut-through)—Cat1900 Default Switch checks the first 64 bytes then immediately begins forwarding frame Frame Store and forward Complete frame is received and checked before forwarding Frame

Duplex Overview Half duplex (CSMA/CD) Unidirectional data flow Higher potential for collison Hubs connectivity Switch Hub

Duplex Overview Half duplex (CSMA/CD) Unidirectional data flow Higher potential for collison Hubs connectivity Switch Hub Full duplex Point-to-point only Attached to dedicated switched port Requires full-duplex support on both ends Collision free Collision detect circuit disabled

Configuring the Switch Catalyst 1900 –Menu driven interface –Web-based VSM (Visual Switch Manager) –IOS CLI (command-line interface)

Catalyst 1900 Default Configurations IP address: CDP: Enabled Switching mode: fragment free 100baseT port: Auto-negotiate duplex mode 10baseT port: Half duplex Spanning Tree: Enabled Console password: none

Ports on the Catalyst 1900 Cat1912Cat baseT ports AUI port 100baseT uplink ports e0/1 to e0/12e0/1 to e0/24 e0/25 fa0/26 (port A) fa0/27 (port B) fa0/26 (port A) fa0/27 (port B)

Ports on the Catalyst 1900 wg_sw_d#sh run Building configuration... Current configuration: ! interface Ethernet 0/1 ! interface Ethernet 0/2 wg_sw_d#sh span Port Ethernet 0/1 of VLAN1 is Forwarding Port path cost 100, Port priority 128 Designated root has priority 32768, address Designated bridge has priority 32768, address Designated port is Ethernet 0/1, path cost 0 Timers: message age 20, forward delay 15, hold 1 wg_sw_a#show vlan-membership Port VLAN Membership Type Port VLAN Membership Type Static 13 1Static 2 1 Static 14 1 Static 3 1 Static15 1 Static

Configuring the Switch Configuration Modes Global configuration mode wg_sw_a# conf term wg_sw_a(config)# Interface configuration mode wg_sw_a(config)# interface e0/1 wg_sw_a(config-if)#

Configuring the Switch IP Address wg_sw_a(config)# ip address {ip address} {mask}

wg_sw_a(config)#ip address Configuring the Switch IP Address wg_sw_a(config)# ip address {ip address} {mask}

wg_sw_a(config)# ip default-gateway {ip address} Configuring the Switch Default Gateway

Setting Permanent MAC Address wg_sw_a(config)# mac-address-table permanent {mac-address type module/port}

Setting Permanent MAC Address wg_sw_a(config)# wg_sw_a(config)#mac-address-table permanent ethernet 0/3 mac-address-table permanent {mac-address type module/port}

Setting Permanent MAC Address wg_sw_a#sh mac-address-table Number of permanent addresses : 1 Number of restricted static addresses : 0 Number of dynamic addresses : 4 Address Dest Interface Type Source Interface List E0.1E5D.AE2FEthernet 0/2DynamicAll Ethernet 0/3Permanent All 00D0.588F.B604FastEthernet 0/26 Dynamic All 00E0.1E5D.AE2BFastEthernet 0/26 Dynamic All 00D C4FastEthernet 0/27 Dynamic All wg_sw_a(config)# wg_sw_a(config)#mac-address-table permanent ethernet 0/3 mac-address-table permanent {mac-address type module/port}

Setting Restricted Static MAC Address wg_sw_a(config)# mac-address-table restricted static {mac-address type module/port src-if-list}

Setting Restricted Static MAC Address wg_sw_a(config)#mac-address-table restricted static e0/4 e0/1 wg_sw_a(config)# mac-address-table restricted static {mac-address type module/port src-if-list}

Show Version

Review Questions 1. What function does Spanning-Tree Protocol provide? 2. What are the different spanning-tree port states? 3. Describe the difference between full-duplex and half-duplex operations. What is the default duplex setting on the Catalyst Mbps port and 100Mbps port? 4. What is the default switching mode on the Catalyst 1900?

Review Questions 5. What is the Catalyst 1900 CLI command to assign an IP address to the switch? Why does a Layer 2 switch require an IP address? 6. Which type of MAC address does not age, permanent or dynamic? 7. What is the Catalyst 1900 CLI command to display the contents of the MAC address table?