SlideShare a Scribd company logo
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

Switching 1
Switching 1Switching 1
Switching 1
Kishore Kumar
 
CCNA ppt Day 2
CCNA ppt Day 2CCNA ppt Day 2
CCNA ppt Day 2
VISHNU N
 
Day 4 LAYER 2 SWITCHING
Day 4 LAYER 2 SWITCHINGDay 4 LAYER 2 SWITCHING
Day 4 LAYER 2 SWITCHING
anilinvns
 
Routing Protocols
Routing Protocols Routing Protocols
Routing Protocols
KhushbirSinghSandhu
 
Switching
SwitchingSwitching
Rip ospf and bgp
Rip ospf and bgpRip ospf and bgp
Rip ospf and bgp
Abhishek Kesharwani
 
Spanning tree protocol
Spanning tree protocolSpanning tree protocol
Spanning tree protocol
hazimalghalayini
 
CCNA ppt Day 5
CCNA ppt Day 5CCNA ppt Day 5
CCNA ppt Day 5
VISHNU N
 
CCNA Exam 200-120 pdf
CCNA Exam 200-120 pdfCCNA Exam 200-120 pdf
CCNA Exam 200-120 pdf
Madhan Banda
 
Routing Information Protocol
Routing Information ProtocolRouting Information Protocol
Routing Information Protocol
Kashif Latif
 
CCNA- part 10 wan link-isdn
CCNA- part 10 wan link-isdnCCNA- part 10 wan link-isdn
Layer 2 switching fundamentals(networking)
Layer 2 switching fundamentals(networking)Layer 2 switching fundamentals(networking)
Layer 2 switching fundamentals(networking)
welcometofacebook
 
Dynamic Routing RIP
Dynamic Routing RIPDynamic Routing RIP
Dynamic Routing RIP
Kishore Kumar
 
Layer3protocols
Layer3protocolsLayer3protocols
Layer3protocols
assinha
 
MPLS Layer 3 VPN
MPLS Layer 3 VPN MPLS Layer 3 VPN
MPLS Layer 3 VPN
NetProtocol Xpert
 
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 Vanderburg
Eric Vanderburg
 
CCNA ppt Day 3
CCNA ppt Day 3CCNA ppt Day 3
CCNA ppt Day 3
VISHNU N
 
Switching
SwitchingSwitching
Switching
Netwax Lab
 
Internal & External of Routers
Internal & External of RoutersInternal & External of Routers
Internal & External of Routers
Kishore Kumar
 

What's hot (20)

Switching 1
Switching 1Switching 1
Switching 1
 
CCNA ppt Day 2
CCNA ppt Day 2CCNA ppt Day 2
CCNA ppt Day 2
 
Day 4 LAYER 2 SWITCHING
Day 4 LAYER 2 SWITCHINGDay 4 LAYER 2 SWITCHING
Day 4 LAYER 2 SWITCHING
 
Routing Protocols
Routing Protocols Routing Protocols
Routing Protocols
 
Switching
SwitchingSwitching
Switching
 
Rip ospf and bgp
Rip ospf and bgpRip ospf and bgp
Rip ospf and bgp
 
Spanning tree protocol
Spanning tree protocolSpanning tree protocol
Spanning tree protocol
 
CCNA ppt Day 5
CCNA ppt Day 5CCNA ppt Day 5
CCNA ppt Day 5
 
CCNA Exam 200-120 pdf
CCNA Exam 200-120 pdfCCNA Exam 200-120 pdf
CCNA Exam 200-120 pdf
 
Routing Information Protocol
Routing Information ProtocolRouting Information Protocol
Routing Information Protocol
 
CCNA- part 10 wan link-isdn
CCNA- part 10 wan link-isdnCCNA- part 10 wan link-isdn
CCNA- part 10 wan link-isdn
 
Layer 2 switching fundamentals(networking)
Layer 2 switching fundamentals(networking)Layer 2 switching fundamentals(networking)
Layer 2 switching fundamentals(networking)
 
Dynamic Routing RIP
Dynamic Routing RIPDynamic Routing RIP
Dynamic Routing RIP
 
Layer3protocols
Layer3protocolsLayer3protocols
Layer3protocols
 
MPLS Layer 3 VPN
MPLS Layer 3 VPN MPLS Layer 3 VPN
MPLS Layer 3 VPN
 
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 ppt Day 3
CCNA ppt Day 3CCNA ppt Day 3
CCNA ppt Day 3
 
Switching
SwitchingSwitching
Switching
 
Internal & External of Routers
Internal & External of RoutersInternal & External of Routers
Internal & External of Routers
 

Viewers also liked

IP Addressing
IP AddressingIP Addressing
IP Addressing
Kishore Kumar
 
1. Introduction
1. Introduction1. Introduction
1. Introduction
Open Source Group
 
Subnetting
SubnettingSubnetting
Subnetting
Kishore Kumar
 
CCNA presentation.
CCNA presentation.CCNA presentation.
CCNA presentation.
Ajaigururaj R
 
Integrated Service Digital Network
Integrated Service Digital NetworkIntegrated Service Digital Network
Integrated Service Digital Network
Kishore Kumar
 
Initial Configuration of Router
Initial Configuration of RouterInitial Configuration of Router
Initial Configuration of Router
Kishore Kumar
 
Wan Interface Configuration
Wan Interface ConfigurationWan Interface Configuration
Wan Interface Configuration
Kishore Kumar
 
Dynamic Routing IGRP
Dynamic Routing IGRPDynamic Routing IGRP
Dynamic Routing IGRP
Kishore Kumar
 
Ip addressing
Ip addressingIp addressing
Ip addressing
Kishore Kumar
 
Password Recovery
Password RecoveryPassword Recovery
Password Recovery
Kishore Kumar
 
Computer networking
Computer networkingComputer networking
Computer networking
Chinmoy Jena
 
Ccnp course details
Ccnp course detailsCcnp course details
Ccnp course details
cisco training
 
Red Hat Training
Red Hat   TrainingRed Hat   Training
Red Hat Training
Open Source Group
 
RIP Update Timers
RIP Update TimersRIP Update Timers
RIP Update Timers
Kishore Kumar
 
Recognizing security threats
Recognizing security threatsRecognizing security threats
Recognizing security threats
Kishore Kumar
 
Ccna simulation exam practice guide
Ccna simulation exam practice guideCcna simulation exam practice guide
Ccna simulation exam practice guide
Kishore Kumar
 
OSPF 3
OSPF 3OSPF 3
Internal & External of Routers
Internal & External of RoutersInternal & External of Routers
Internal & External of Routers
Kishore Kumar
 
OSPF 2
OSPF 2OSPF 2
Dynamic routing EIGRP
Dynamic routing EIGRPDynamic routing EIGRP
Dynamic routing EIGRP
Kishore Kumar
 

Viewers also liked (20)

IP Addressing
IP AddressingIP Addressing
IP Addressing
 
1. Introduction
1. Introduction1. Introduction
1. Introduction
 
Subnetting
SubnettingSubnetting
Subnetting
 
CCNA presentation.
CCNA presentation.CCNA presentation.
CCNA presentation.
 
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
 
Wan Interface Configuration
Wan Interface ConfigurationWan Interface Configuration
Wan Interface Configuration
 
Dynamic Routing IGRP
Dynamic Routing IGRPDynamic Routing IGRP
Dynamic Routing IGRP
 
Ip addressing
Ip addressingIp addressing
Ip addressing
 
Password Recovery
Password RecoveryPassword Recovery
Password Recovery
 
Computer networking
Computer networkingComputer networking
Computer networking
 
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
 
OSPF 2
OSPF 2OSPF 2
OSPF 2
 
Dynamic routing EIGRP
Dynamic routing EIGRPDynamic routing EIGRP
Dynamic routing EIGRP
 

Similar to Switching Types

Switching
SwitchingSwitching
Tcp/ip Protocol presentation on Networking .pptx
Tcp/ip Protocol presentation on Networking .pptxTcp/ip Protocol presentation on Networking .pptx
Tcp/ip Protocol presentation on Networking .pptx
HinaAsghar16
 
1164 Routers
1164 Routers1164 Routers
1164 Routers
techbed
 
unit5-190409094326.pdf
unit5-190409094326.pdfunit5-190409094326.pdf
unit5-190409094326.pdf
FranzLawrenzDeTorres1
 
Network Connecting Devices UNIT 5
Network Connecting Devices UNIT 5Network Connecting Devices UNIT 5
Network Connecting Devices UNIT 5
Raj vardhan
 
Introduction to Layer 2 switching
Introduction to Layer 2 switchingIntroduction to Layer 2 switching
Introduction to Layer 2 switching
aibad ahmed
 
Computer Networking Tasks.docx
Computer Networking Tasks.docxComputer Networking Tasks.docx
Computer Networking Tasks.docx
UsamaAliLone3
 
Study materials for software defined networks
Study materials for software defined networksStudy materials for software defined networks
Study materials for software defined networks
tguna21
 
PPT Backbone And Networks
PPT Backbone And NetworksPPT Backbone And Networks
PPT Backbone And Networks
kishorekommu kommu
 
Inter VLAN Routing
Inter VLAN RoutingInter VLAN Routing
Inter VLAN Routing
Netwax 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_722
Prince Mishra
 
Router vs Switch layer3
Router vs Switch layer3Router vs Switch layer3
Router vs Switch layer3
Khan Mohammad Habibi
 
3 2
3 23 2
Ip protocol tedting
Ip protocol tedtingIp protocol tedting
Ip protocol tedting
H K
 
Computer network_network devices
Computer network_network devicesComputer network_network devices
Computer network_network devices
Sweta Kumari Barnwal
 
equipment list.pdf
equipment list.pdfequipment list.pdf
equipment list.pdf
ngusyirga
 
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
MeenakshiGupta233101
 
Presentation on ccna
Presentation on ccnaPresentation on ccna
Presentation on ccna
Rahul Kumar
 
Presentation on ccna
Presentation on ccnaPresentation on ccna
Presentation on ccna
Rahul 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 DHCP
Associate Professor in VSB Coimbatore
 

Similar to Switching Types (20)

Switching
SwitchingSwitching
Switching
 
Tcp/ip Protocol presentation on Networking .pptx
Tcp/ip Protocol presentation on Networking .pptxTcp/ip Protocol presentation on Networking .pptx
Tcp/ip Protocol presentation on Networking .pptx
 
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

OSPF 2
OSPF 2OSPF 2
Frame Relay
Frame RelayFrame Relay
Frame Relay
Kishore Kumar
 
Dynamic Routing RIP
Dynamic Routing RIPDynamic Routing RIP
Dynamic Routing RIP
Kishore Kumar
 
Multi Static Routng & Default Routing
Multi Static Routng & Default RoutingMulti Static Routng & Default Routing
Multi Static Routng & Default Routing
Kishore Kumar
 
OSI Layers
OSI LayersOSI Layers
OSI Layers
Kishore Kumar
 
Password Recovery
Password RecoveryPassword Recovery
Password Recovery
Kishore Kumar
 
OSPF 3
OSPF 3OSPF 3
Integrated Service Digital Network
Integrated Service Digital NetworkIntegrated Service Digital Network
Integrated Service Digital Network
Kishore Kumar
 
Initial Configuration of Router
Initial Configuration of RouterInitial Configuration of Router
Initial Configuration of Router
Kishore Kumar
 
Rip Update Timers
Rip Update TimersRip Update Timers
Rip Update Timers
Kishore Kumar
 
Switching 2
Switching 2Switching 2
Switching 2
Kishore Kumar
 
Static Routing
Static RoutingStatic Routing
Static Routing
Kishore Kumar
 

More from Kishore Kumar (12)

OSPF 2
OSPF 2OSPF 2
OSPF 2
 
Frame Relay
Frame RelayFrame Relay
Frame Relay
 
Dynamic Routing RIP
Dynamic Routing RIPDynamic Routing RIP
Dynamic Routing RIP
 
Multi Static Routng & Default Routing
Multi Static Routng & Default RoutingMulti Static Routng & Default Routing
Multi Static Routng & Default Routing
 
OSI Layers
OSI LayersOSI Layers
OSI Layers
 
Password Recovery
Password RecoveryPassword Recovery
Password Recovery
 
OSPF 3
OSPF 3OSPF 3
OSPF 3
 
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
 
Rip Update Timers
Rip Update TimersRip Update Timers
Rip Update Timers
 
Switching 2
Switching 2Switching 2
Switching 2
 
Static Routing
Static RoutingStatic Routing
Static Routing
 

Recently uploaded

clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
Priyankaranawat4
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
Celine George
 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Fajar Baskoro
 
Wound healing PPT
Wound healing PPTWound healing PPT
Wound healing PPT
Jyoti Chand
 
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptxBeyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
EduSkills OECD
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
Dr. Shivangi Singh Parihar
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
Dr. Mulla Adam Ali
 
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
สมใจ จันสุกสี
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
adhitya5119
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptxNEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
iammrhaywood
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
AyyanKhan40
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
Celine George
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
History of Stoke Newington
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
WaniBasim
 
How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
Celine George
 
How to deliver Powerpoint Presentations.pptx
How to deliver Powerpoint  Presentations.pptxHow to deliver Powerpoint  Presentations.pptx
How to deliver Powerpoint Presentations.pptx
HajraNaeem15
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
Priyankaranawat4
 
How to Create a More Engaging and Human Online Learning Experience
How to Create a More Engaging and Human Online Learning Experience How to Create a More Engaging and Human Online Learning Experience
How to Create a More Engaging and Human Online Learning Experience
Wahiba Chair Training & Consulting
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
Nicholas Montgomery
 

Recently uploaded (20)

clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
 
Wound healing PPT
Wound healing PPTWound healing PPT
Wound healing PPT
 
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptxBeyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
 
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
 
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptxNEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
 
How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
 
How to deliver Powerpoint Presentations.pptx
How to deliver Powerpoint  Presentations.pptxHow to deliver Powerpoint  Presentations.pptx
How to deliver Powerpoint Presentations.pptx
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
 
How to Create a More Engaging and Human Online Learning Experience
How to Create a More Engaging and Human Online Learning Experience How to Create a More Engaging and Human Online Learning Experience
How to Create a More Engaging and Human Online Learning Experience
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
 

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.