SlideShare a Scribd company logo
1 of 4
Download to read offline
Multilayer Switching
Multilayer switching is a function performed by a multilayer switch. A
multilayer switch brings the functions of a switch and a router together in one
device. Traditionally, a switch forwards traffic based on Layer 2 information and a
router forwards traffic based on Layer 3 information. With a multilayer switch, the
device can forward traffic that is in the same VLAN at Layer 2 and that same
device has the ability to do inter-VLAN routing and forward traffic between
VLANs at Layer 3.
Multilayer switches can forward traffic at line speed. (Line speed is a nice
way of saying that it forwards the traffic with very little delay.) The forwarding
lookups are done in hardware rather than in software. Software lookups require
that the forwarding decisions be made by the central processor, a process that
takes considerably longer. The hardware that is used to accomplish this is called
an application-specific integrated circuit (ASIC).
The routing and required forwarding information are held in the hardware.
The information is built into tables that are stored in content-addressable memory
(CAM) and ternary content-addressable memory (TCAM). Having this
information readily available in hardware makes the forwarding process much
more efficient, hence the reason for multilayer switches having wide spread use. In
devices today, Cisco Express Forwarding (CEF) is the mechanism that performs
this forwarding and uses these tables. We are going to look at CEF in a little more
detail in the next section.
In order for a multilayer switch to have the ability to route, it needs a route
processor. However, remember that on routers each interface is a separate subnet;
this is a fundamental part of its functionality. A router routes traffic from one
network or subnet to another. On a switch, when we think about the physical ports,
they are Layer 2 ports and cannot have an IP address configured on them. So
where do we put Layer 3 information on a switch?
If you remember from chapters 10 and 11, we always assign the
management IP address for a switch to the VLAN 1 interface by default. This
interface exists by default on all switches. The interface itself is called a switched
virtual interface (SVI). The SVI provides the Layer 3 path and default gateway for
hosts in the VLAN. These SVI are the Layer 3 interfaces that the route processor
uses to route between subnets. On a Layer 2 switch such as 2950 or 2960, there is
only one SVI that can be used at a time. On a multilayer switch, however, you can
create an SVI for each of the VLANs that you wish to route to.
The maximum number of SVIs that you can have on a switch depends on a
few things:
 Switch platform
 Number of supported VLANs
 Processing overhead
TIP: Processing overhead isn’t so much a hard limit but something you will have
to watch. If your switch is acting slow or has a constantly maxed out processor,
then you may have too many interfaces configured or too much data being
routed across the device.
Multilayer switches can also be configured with true routed ports, which
means you can configure the port to act just as a port on a real router would. You
can place the IP address and router interface commands directly on the interface.
The port when configured this way is no longer part of any VLAN; it represents a
subnet just as a router interface would.
Cisco Express Forwarding (CEF)
CEF is the newest Cisco proprietary switching or forward type. CEF makes
the forwarding process in multilayer switches and routers much faster and more
efficient. The history of switching includes a couple of different forwarding types.
Routing
The lineage of switching really started in routers. When you hear switching, you
typically think Layer 2 switches; however, switching is really moving a piece of
data from one interface to another. So, when a router moved a packet from one
interface to another internally, it is really switching the traffic. Routing was the
process the router used to determine which interface had to be the outgoing
interface to move the data toward its destination.
Process Switching
The first switching was just process switching; all of the data packets had to be
processed through the central processor. Process switching was very time
consuming and delayed the packets.
Cache-Based Switching
Cache-based switching has had a few different names—Netflow switching, “route
one switch many”—but they refer to the same thing. When the first packet enters
the device, it is process switched so that all the appropriate information can be
determined. Once the device has the forwarding information, it is cached in a fast
lookup table. When the rest of the packets in the flow enter the device, the
forwarding lookup can be accomplished in RAM by looking at the information in
the cache table.
Cisco Express Forwarding
The current forwarding type is CEF. CEF is also called topology-based switching.
CEF allows for fast forwarding of data at Layers 2 and 3 by building new tables to
hold the information in hardware.
Building the Forwarding Information Base (FIB) Table
CEF builds a new routing table called the forwarding information base
(FIB). The FIB table holds all of the routes the same way the routing table does;
the FIB is constructed from the routing table. CEF is not a routing protocol itself.
It relies on a routing protocol to build and update the routing table from which the
FIB is built. When CEF is enabled, the FIB table has the same authority as the
routing table. If a destination network is not in the FIB when a packet comes into
the device, then the packet is dropped just as it would be with the standard routing
table.
Building the Adjacency Table
CEF also builds an adjacency table that houses the Layer 2 information for
forwarding decisions. The adjacency table is stored in CAM and lookup time is
improved through the use of search algorithms. A key is created to compare the
frame to the table content. Let me give you an example. The destination MAC
address and VLAN ID (VID) of a frame constitute the key for Layer 2 table
lookup. This key is fed into a hashing algorithm, which produces a pointer into the
table. The system uses the pointer to access a smaller specific area of the table
without requiring a search of the entire table.
Preparing to Transmit
Once the forwarding decision has been made and the packet has been
switched across the routing device, the frame must be rewritten to be transmitted
on the new network. IP unicast packets are rewritten on the output interface like
this. First, the device must change the source MAC address from the sender’s to its
own. Second, the device must change the destination MAC address from its
address to the next hop’s address. Third, the time to live (TTL) must be
decremented by one, which means that the IP header checksum must be
recalculated. Last, the frame checksum must be recalculated.

More Related Content

What's hot

network convergence problem and solutions
network convergence  problem and solutionsnetwork convergence  problem and solutions
network convergence problem and solutionsSiddhi Viradiya
 
CCNA ppt Day 5
CCNA ppt Day 5CCNA ppt Day 5
CCNA ppt Day 5VISHNU N
 
ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)
ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)
ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)anilinvns
 
ospf routing protocol
ospf routing protocolospf routing protocol
ospf routing protocolAmeer Agel
 
Routers.ppt
Routers.pptRouters.ppt
Routers.pptkirbadh
 
Bidirectional Forwarding Detection (BFD)
Bidirectional Forwarding Detection (BFD) Bidirectional Forwarding Detection (BFD)
Bidirectional Forwarding Detection (BFD) KHNOG
 
Open shortest path first (ospf)
Open shortest path first (ospf)Open shortest path first (ospf)
Open shortest path first (ospf)Respa Peter
 
CCNA Routing and Switching Lessons 08-09 - Routing Protocols - Eric Vanderburg
CCNA Routing and Switching Lessons 08-09 - Routing Protocols - Eric VanderburgCCNA Routing and Switching Lessons 08-09 - Routing Protocols - Eric Vanderburg
CCNA Routing and Switching Lessons 08-09 - Routing Protocols - Eric VanderburgEric Vanderburg
 
CCNA- Router on stick, VLAN and Trunking
CCNA- Router on stick, VLAN and TrunkingCCNA- Router on stick, VLAN and Trunking
CCNA- Router on stick, VLAN and TrunkingRafat Khandaker
 
Internet Routing Protocols: Fundamental Concepts of Distance-Vector and Link-...
Internet Routing Protocols: Fundamental Concepts of Distance-Vector and Link-...Internet Routing Protocols: Fundamental Concepts of Distance-Vector and Link-...
Internet Routing Protocols: Fundamental Concepts of Distance-Vector and Link-...Vishal Sharma, Ph.D.
 
Open Shortest Path First
Open Shortest Path FirstOpen Shortest Path First
Open Shortest Path FirstAtakan ATAK
 
Layer 2 & layer 3 switching
Layer 2 & layer 3 switchingLayer 2 & layer 3 switching
Layer 2 & layer 3 switchingMuhd Mu'izuddin
 
Open Shortest Path First
Open Shortest Path FirstOpen Shortest Path First
Open Shortest Path FirstKashif Latif
 
RIP (routing information protocol)
RIP (routing information protocol)RIP (routing information protocol)
RIP (routing information protocol)Netwax Lab
 
Day 3 ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)
Day 3 ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)Day 3 ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)
Day 3 ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)anilinvns
 
Lab view the switch mac address table lab - view the switch
Lab   view the switch mac address table lab - view the switchLab   view the switch mac address table lab - view the switch
Lab view the switch mac address table lab - view the switchADDY50
 
Лекц 7
Лекц 7Лекц 7
Лекц 7Muuluu
 

What's hot (20)

MPLS Layer 3 VPN
MPLS Layer 3 VPN MPLS Layer 3 VPN
MPLS Layer 3 VPN
 
network convergence problem and solutions
network convergence  problem and solutionsnetwork convergence  problem and solutions
network convergence problem and solutions
 
CCNA ppt Day 5
CCNA ppt Day 5CCNA ppt Day 5
CCNA ppt Day 5
 
ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)
ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)
ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)
 
IP ROUTING
IP ROUTINGIP ROUTING
IP ROUTING
 
ospf routing protocol
ospf routing protocolospf routing protocol
ospf routing protocol
 
Routers.ppt
Routers.pptRouters.ppt
Routers.ppt
 
Bidirectional Forwarding Detection (BFD)
Bidirectional Forwarding Detection (BFD) Bidirectional Forwarding Detection (BFD)
Bidirectional Forwarding Detection (BFD)
 
Open shortest path first (ospf)
Open shortest path first (ospf)Open shortest path first (ospf)
Open shortest path first (ospf)
 
CCNA Routing and Switching Lessons 08-09 - Routing Protocols - Eric Vanderburg
CCNA Routing and Switching Lessons 08-09 - Routing Protocols - Eric VanderburgCCNA Routing and Switching Lessons 08-09 - Routing Protocols - Eric Vanderburg
CCNA Routing and Switching Lessons 08-09 - Routing Protocols - Eric Vanderburg
 
CCNA- Router on stick, VLAN and Trunking
CCNA- Router on stick, VLAN and TrunkingCCNA- Router on stick, VLAN and Trunking
CCNA- Router on stick, VLAN and Trunking
 
Internet Routing Protocols: Fundamental Concepts of Distance-Vector and Link-...
Internet Routing Protocols: Fundamental Concepts of Distance-Vector and Link-...Internet Routing Protocols: Fundamental Concepts of Distance-Vector and Link-...
Internet Routing Protocols: Fundamental Concepts of Distance-Vector and Link-...
 
Open Shortest Path First
Open Shortest Path FirstOpen Shortest Path First
Open Shortest Path First
 
Switching
SwitchingSwitching
Switching
 
Layer 2 & layer 3 switching
Layer 2 & layer 3 switchingLayer 2 & layer 3 switching
Layer 2 & layer 3 switching
 
Open Shortest Path First
Open Shortest Path FirstOpen Shortest Path First
Open Shortest Path First
 
RIP (routing information protocol)
RIP (routing information protocol)RIP (routing information protocol)
RIP (routing information protocol)
 
Day 3 ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)
Day 3 ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)Day 3 ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)
Day 3 ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)
 
Lab view the switch mac address table lab - view the switch
Lab   view the switch mac address table lab - view the switchLab   view the switch mac address table lab - view the switch
Lab view the switch mac address table lab - view the switch
 
Лекц 7
Лекц 7Лекц 7
Лекц 7
 

Viewers also liked

Viewers also liked (20)

1. Introduction
1. Introduction1. Introduction
1. Introduction
 
Switching Types
Switching TypesSwitching Types
Switching Types
 
CCNA presentation.
CCNA presentation.CCNA presentation.
CCNA presentation.
 
Ccnp course details
Ccnp course detailsCcnp course details
Ccnp course details
 
Red Hat Training
Red Hat   TrainingRed Hat   Training
Red Hat Training
 
RIP Update Timers
RIP Update TimersRIP Update Timers
RIP Update Timers
 
Recognizing security threats
Recognizing security threatsRecognizing security threats
Recognizing security threats
 
Ccna simulation exam practice guide
Ccna simulation exam practice guideCcna simulation exam practice guide
Ccna simulation exam practice guide
 
OSPF 3
OSPF 3OSPF 3
OSPF 3
 
Internal & External of Routers
Internal & External of RoutersInternal & External of Routers
Internal & External of Routers
 
Frame Relay
Frame RelayFrame Relay
Frame Relay
 
Integrated Service Digital Network
Integrated Service Digital NetworkIntegrated Service Digital Network
Integrated Service Digital Network
 
Initial Configuration of Router
Initial Configuration of RouterInitial Configuration of Router
Initial Configuration of Router
 
Multi Static Routng & Default Routing
Multi Static Routng & Default RoutingMulti Static Routng & Default Routing
Multi Static Routng & Default Routing
 
OSPF 2
OSPF 2OSPF 2
OSPF 2
 
Ip addressing
Ip addressingIp addressing
Ip addressing
 
Password Recovery
Password RecoveryPassword Recovery
Password Recovery
 
Dynamic Routing RIP
Dynamic Routing RIPDynamic Routing RIP
Dynamic Routing RIP
 
Static Routing
Static RoutingStatic Routing
Static Routing
 
Computer networking
Computer networkingComputer networking
Computer networking
 

Similar to Switching Types

1164 Routers
1164 Routers1164 Routers
1164 Routerstechbed
 
Network Connecting Devices UNIT 5
Network Connecting Devices UNIT 5Network Connecting Devices UNIT 5
Network Connecting Devices UNIT 5Raj vardhan
 
Introduction to Layer 2 switching
Introduction to Layer 2 switchingIntroduction to Layer 2 switching
Introduction to Layer 2 switchingaibad ahmed
 
Computer Networking Tasks.docx
Computer Networking Tasks.docxComputer Networking Tasks.docx
Computer Networking Tasks.docxUsamaAliLone3
 
Study materials for software defined networks
Study materials for software defined networksStudy materials for software defined networks
Study materials for software defined networkstguna21
 
Inter VLAN Routing
Inter VLAN RoutingInter VLAN Routing
Inter VLAN RoutingNetwax Lab
 
Imperfection_Is_Beautiful.111_2016_04_13_19_07_54_722
Imperfection_Is_Beautiful.111_2016_04_13_19_07_54_722Imperfection_Is_Beautiful.111_2016_04_13_19_07_54_722
Imperfection_Is_Beautiful.111_2016_04_13_19_07_54_722Prince Mishra
 
Ip protocol tedting
Ip protocol tedtingIp protocol tedting
Ip protocol tedtingH K
 
equipment list.pdf
equipment list.pdfequipment list.pdf
equipment list.pdfngusyirga
 
OSI and TCP/IP reference models in networking
OSI and TCP/IP reference models in networkingOSI and TCP/IP reference models in networking
OSI and TCP/IP reference models in networkingMeenakshiGupta233101
 
Presentation on ccna
Presentation on ccnaPresentation on ccna
Presentation on ccnaRahul Kumar
 
Presentation on ccna
Presentation on ccnaPresentation on ccna
Presentation on ccnaRahul Kumar
 
Design and Implementation of Network Security using Inter-VLAN-Routing and DHCP
Design and Implementation of Network Security using Inter-VLAN-Routing and DHCPDesign and Implementation of Network Security using Inter-VLAN-Routing and DHCP
Design and Implementation of Network Security using Inter-VLAN-Routing and DHCPAssociate Professor in VSB Coimbatore
 

Similar to Switching Types (20)

Switching
SwitchingSwitching
Switching
 
Switching
SwitchingSwitching
Switching
 
1164 Routers
1164 Routers1164 Routers
1164 Routers
 
unit5-190409094326.pdf
unit5-190409094326.pdfunit5-190409094326.pdf
unit5-190409094326.pdf
 
Network Connecting Devices UNIT 5
Network Connecting Devices UNIT 5Network Connecting Devices UNIT 5
Network Connecting Devices UNIT 5
 
Introduction to Layer 2 switching
Introduction to Layer 2 switchingIntroduction to Layer 2 switching
Introduction to Layer 2 switching
 
Computer Networking Tasks.docx
Computer Networking Tasks.docxComputer Networking Tasks.docx
Computer Networking Tasks.docx
 
Study materials for software defined networks
Study materials for software defined networksStudy materials for software defined networks
Study materials for software defined networks
 
PPT Backbone And Networks
PPT Backbone And NetworksPPT Backbone And Networks
PPT Backbone And Networks
 
Inter VLAN Routing
Inter VLAN RoutingInter VLAN Routing
Inter VLAN Routing
 
Imperfection_Is_Beautiful.111_2016_04_13_19_07_54_722
Imperfection_Is_Beautiful.111_2016_04_13_19_07_54_722Imperfection_Is_Beautiful.111_2016_04_13_19_07_54_722
Imperfection_Is_Beautiful.111_2016_04_13_19_07_54_722
 
Router vs Switch layer3
Router vs Switch layer3Router vs Switch layer3
Router vs Switch layer3
 
3 2
3 23 2
3 2
 
Ip protocol tedting
Ip protocol tedtingIp protocol tedting
Ip protocol tedting
 
Computer network_network devices
Computer network_network devicesComputer network_network devices
Computer network_network devices
 
equipment list.pdf
equipment list.pdfequipment list.pdf
equipment list.pdf
 
OSI and TCP/IP reference models in networking
OSI and TCP/IP reference models in networkingOSI and TCP/IP reference models in networking
OSI and TCP/IP reference models in networking
 
Presentation on ccna
Presentation on ccnaPresentation on ccna
Presentation on ccna
 
Presentation on ccna
Presentation on ccnaPresentation on ccna
Presentation on ccna
 
Design and Implementation of Network Security using Inter-VLAN-Routing and DHCP
Design and Implementation of Network Security using Inter-VLAN-Routing and DHCPDesign and Implementation of Network Security using Inter-VLAN-Routing and DHCP
Design and Implementation of Network Security using Inter-VLAN-Routing and DHCP
 

More from Kishore Kumar

More from Kishore Kumar (13)

OSI Layers
OSI LayersOSI Layers
OSI Layers
 
Password Recovery
Password RecoveryPassword Recovery
Password Recovery
 
OSPF 3
OSPF 3OSPF 3
OSPF 3
 
OSPF 2
OSPF 2OSPF 2
OSPF 2
 
IP Addressing
IP AddressingIP Addressing
IP Addressing
 
Internal & External of Routers
Internal & External of RoutersInternal & External of Routers
Internal & External of Routers
 
Integrated Service Digital Network
Integrated Service Digital NetworkIntegrated Service Digital Network
Integrated Service Digital Network
 
Initial Configuration of Router
Initial Configuration of RouterInitial Configuration of Router
Initial Configuration of Router
 
Dynamic Routing RIP
Dynamic Routing RIPDynamic Routing RIP
Dynamic Routing RIP
 
Rip Update Timers
Rip Update TimersRip Update Timers
Rip Update Timers
 
Wan Interface Configuration
Wan Interface ConfigurationWan Interface Configuration
Wan Interface Configuration
 
Switching 2
Switching 2Switching 2
Switching 2
 
Subnetting
SubnettingSubnetting
Subnetting
 

Recently uploaded

Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4JOYLYNSAMANIEGO
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfPatidar M
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxlancelewisportillo
 
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnvESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnvRicaMaeCastro1
 
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Association for Project Management
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptxMan or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptxDhatriParmar
 
Multi Domain Alias In the Odoo 17 ERP Module
Multi Domain Alias In the Odoo 17 ERP ModuleMulti Domain Alias In the Odoo 17 ERP Module
Multi Domain Alias In the Odoo 17 ERP ModuleCeline George
 
Narcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfNarcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfPrerana Jadhav
 
Mythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWMythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWQuiz Club NITW
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Seán Kennedy
 
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptxDIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptxMichelleTuguinay1
 
MS4 level being good citizen -imperative- (1) (1).pdf
MS4 level   being good citizen -imperative- (1) (1).pdfMS4 level   being good citizen -imperative- (1) (1).pdf
MS4 level being good citizen -imperative- (1) (1).pdfMr Bounab Samir
 
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxGrade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxkarenfajardo43
 
Expanded definition: technical and operational
Expanded definition: technical and operationalExpanded definition: technical and operational
Expanded definition: technical and operationalssuser3e220a
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 

Recently uploaded (20)

Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdf
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
 
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnvESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
 
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 
Faculty Profile prashantha K EEE dept Sri Sairam college of Engineering
Faculty Profile prashantha K EEE dept Sri Sairam college of EngineeringFaculty Profile prashantha K EEE dept Sri Sairam college of Engineering
Faculty Profile prashantha K EEE dept Sri Sairam college of Engineering
 
Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"
 
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptxMan or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
 
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptxINCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
 
Multi Domain Alias In the Odoo 17 ERP Module
Multi Domain Alias In the Odoo 17 ERP ModuleMulti Domain Alias In the Odoo 17 ERP Module
Multi Domain Alias In the Odoo 17 ERP Module
 
Narcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfNarcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdf
 
Mythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWMythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITW
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...
 
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptxDIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
 
MS4 level being good citizen -imperative- (1) (1).pdf
MS4 level   being good citizen -imperative- (1) (1).pdfMS4 level   being good citizen -imperative- (1) (1).pdf
MS4 level being good citizen -imperative- (1) (1).pdf
 
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxGrade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
 
Expanded definition: technical and operational
Expanded definition: technical and operationalExpanded definition: technical and operational
Expanded definition: technical and operational
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 

Switching Types

  • 2. Multilayer switching is a function performed by a multilayer switch. A multilayer switch brings the functions of a switch and a router together in one device. Traditionally, a switch forwards traffic based on Layer 2 information and a router forwards traffic based on Layer 3 information. With a multilayer switch, the device can forward traffic that is in the same VLAN at Layer 2 and that same device has the ability to do inter-VLAN routing and forward traffic between VLANs at Layer 3. Multilayer switches can forward traffic at line speed. (Line speed is a nice way of saying that it forwards the traffic with very little delay.) The forwarding lookups are done in hardware rather than in software. Software lookups require that the forwarding decisions be made by the central processor, a process that takes considerably longer. The hardware that is used to accomplish this is called an application-specific integrated circuit (ASIC). The routing and required forwarding information are held in the hardware. The information is built into tables that are stored in content-addressable memory (CAM) and ternary content-addressable memory (TCAM). Having this information readily available in hardware makes the forwarding process much more efficient, hence the reason for multilayer switches having wide spread use. In devices today, Cisco Express Forwarding (CEF) is the mechanism that performs this forwarding and uses these tables. We are going to look at CEF in a little more detail in the next section. In order for a multilayer switch to have the ability to route, it needs a route processor. However, remember that on routers each interface is a separate subnet; this is a fundamental part of its functionality. A router routes traffic from one network or subnet to another. On a switch, when we think about the physical ports, they are Layer 2 ports and cannot have an IP address configured on them. So where do we put Layer 3 information on a switch? If you remember from chapters 10 and 11, we always assign the management IP address for a switch to the VLAN 1 interface by default. This interface exists by default on all switches. The interface itself is called a switched virtual interface (SVI). The SVI provides the Layer 3 path and default gateway for hosts in the VLAN. These SVI are the Layer 3 interfaces that the route processor uses to route between subnets. On a Layer 2 switch such as 2950 or 2960, there is only one SVI that can be used at a time. On a multilayer switch, however, you can create an SVI for each of the VLANs that you wish to route to. The maximum number of SVIs that you can have on a switch depends on a few things:  Switch platform  Number of supported VLANs  Processing overhead
  • 3. TIP: Processing overhead isn’t so much a hard limit but something you will have to watch. If your switch is acting slow or has a constantly maxed out processor, then you may have too many interfaces configured or too much data being routed across the device. Multilayer switches can also be configured with true routed ports, which means you can configure the port to act just as a port on a real router would. You can place the IP address and router interface commands directly on the interface. The port when configured this way is no longer part of any VLAN; it represents a subnet just as a router interface would. Cisco Express Forwarding (CEF) CEF is the newest Cisco proprietary switching or forward type. CEF makes the forwarding process in multilayer switches and routers much faster and more efficient. The history of switching includes a couple of different forwarding types. Routing The lineage of switching really started in routers. When you hear switching, you typically think Layer 2 switches; however, switching is really moving a piece of data from one interface to another. So, when a router moved a packet from one interface to another internally, it is really switching the traffic. Routing was the process the router used to determine which interface had to be the outgoing interface to move the data toward its destination. Process Switching The first switching was just process switching; all of the data packets had to be processed through the central processor. Process switching was very time consuming and delayed the packets. Cache-Based Switching Cache-based switching has had a few different names—Netflow switching, “route one switch many”—but they refer to the same thing. When the first packet enters the device, it is process switched so that all the appropriate information can be determined. Once the device has the forwarding information, it is cached in a fast lookup table. When the rest of the packets in the flow enter the device, the forwarding lookup can be accomplished in RAM by looking at the information in the cache table. Cisco Express Forwarding The current forwarding type is CEF. CEF is also called topology-based switching. CEF allows for fast forwarding of data at Layers 2 and 3 by building new tables to hold the information in hardware.
  • 4. Building the Forwarding Information Base (FIB) Table CEF builds a new routing table called the forwarding information base (FIB). The FIB table holds all of the routes the same way the routing table does; the FIB is constructed from the routing table. CEF is not a routing protocol itself. It relies on a routing protocol to build and update the routing table from which the FIB is built. When CEF is enabled, the FIB table has the same authority as the routing table. If a destination network is not in the FIB when a packet comes into the device, then the packet is dropped just as it would be with the standard routing table. Building the Adjacency Table CEF also builds an adjacency table that houses the Layer 2 information for forwarding decisions. The adjacency table is stored in CAM and lookup time is improved through the use of search algorithms. A key is created to compare the frame to the table content. Let me give you an example. The destination MAC address and VLAN ID (VID) of a frame constitute the key for Layer 2 table lookup. This key is fed into a hashing algorithm, which produces a pointer into the table. The system uses the pointer to access a smaller specific area of the table without requiring a search of the entire table. Preparing to Transmit Once the forwarding decision has been made and the packet has been switched across the routing device, the frame must be rewritten to be transmitted on the new network. IP unicast packets are rewritten on the output interface like this. First, the device must change the source MAC address from the sender’s to its own. Second, the device must change the destination MAC address from its address to the next hop’s address. Third, the time to live (TTL) must be decremented by one, which means that the IP header checksum must be recalculated. Last, the frame checksum must be recalculated.