SlideShare a Scribd company logo
Switching
Chapter 8
Data communication and networks
Switching
• Switches are devices capable of creating
temporary connections between two or more
devices linked to the switch
Circuit-switched Network
• A circuit-switched network is made of a set of switches connected by physical links,
in which each link is divided in “n” channels.
• When end system A needs to communicate with end system M . “A” needs to
request a connection to “M” that must be accepted by all switches as well as by M
itself. This is called the setup phase. Combination of channels defines the
dedicated path. After the dedicated path is established, data transfer can take
place.
• The stations must make a reservation for the resources to be used during the
communication
4x8 means 4 input and 8 output . 4 output ports are folded into the i/p ports to
allow communication between computers in the same office. 4 other o/p ports
allow communication between the two offices.
This example
17
25
38
46
three phase(setup , data transfer ,
teardown phase)
Setup phase :
• system A needs to connect to system M.
• Sends a setup request that includes the address of system M, to switch I.
• Switch I finds a channel between itself and switch IV that can be
dedicated for this purpose.
• Switch I then sends the request to switch IV,.
• Switch IV finds a dedicated channel between itself and switch III.
• Switch III informs system M of system A's intention at this time.
• End-to-End addressing is required for creating a connection between the
two end systems.
Data Transfer Phase : After the establishment of path the two parties can
transfer data
Teardown Phase: When one of the parties (system) needs to disconnect, a
signal is sent to each switch to release the resources.
DATAGRAM-NETWORKS
(Connectionless network)
• In a packet-switched network, there is no resource reservation; resources are
allocated on demand .
• When a switch receives a packet, no matter what is the source or destination, the
packet must wait if there are other packets being processed .
• In a datagram network, each packet is treated independently of all others.
Sometimes referred to as connectionless networks .
• This approach can cause the datagram’s of a transmission to arrive at their
destination out of order with different delays between the packets.
• There are no setup or teardown phases
Routing table , delay , efficiency of
(datagram-network)
• The routing tables are dynamic and are updated periodically.
• A switch in a datagram networks uses a routing table that is based on the
destination address
• The destination address in the header of a packet in a datagram network remains
the same during the entire journey of the packet
• The efficiency of a datagram network is better than that of a circuit-switched
network, resources are allocated only when there are packets to be transferred .
Routing table Delay( transmission time + propagation delay + waiting time)
VIRTUAL-CIRCUIT NETWORKS (VCN)
• It is a hybrid technique.
• Setup, data transfer, and teardown phases as in a “CSN”
• Resource allocated during setup phase, as in a CSN, or on demand as in
(DN)
• As in DN, data are packetized and each packet carries an address in the
header. The address has local jurisdiction, not end-to-end jurisdiction.
• As in CSN, all packets follow the same path established during the
connection
• VCN is normally implemented in the data link layer, while CSN is in
physical layer and DN in the network layer
Addressing
• Two types of addressing in a virtual-circuit network: global and local
(virtual-circuit identifier: VCI)
• Global address is used only to create a VCI
• The identifier that is actually used for data transfer is called the “VCI” .
• When a frame arrives at a switch, it has a VCI; when it leaves, it has a
different VCI .
• VCI does not need to be a large number since each switch can use its own
unique set of VCl’s.
Data Transfer Phases
Setup Phases: Setup Request and
Acknowledgement
Setup request
Setup acknowledgement
Teardown phase and total delay in VCN
• source A, after sending all frames to B, sends a special frame called
a teardown request. Destination B responds with a teardown
confirmation frame. All switches delete the corresponding entry
from their tables .
• In virtual-circuit switching, all packets belonging to the same source
and destination travel the same path; but the packets may arrive at
the destination with different delays if resource allocation is on
demand.
Space-division: crossbar switch
• The number of switches is huge.
connect n inputs by m output  require n * m crosspoint.
• Inefficient
fewer than 25% of the crosspoints are in use at given time , rest are idle .
Space-division: Multistage Switch
• Three steps
– Divide the N input lines into groups, each of n lines. For each group, use one
crossbar of size n x k, where k is the number of crossbars in the middle stage
– Use k crossbars, each of size (N/n) x (N/n) in the middle stage
– Use N/n crossbars, each of size k x n at the third stage
• Total no of crosspoints = N/n(n x k) + k(N/n x N/n) + N/n(k x n)
= 2kN + k(N/n)2
• Which is much smaller than the number of crosspoints in a single-stage switch
(N2).
Drawbacks of multistage switch and
clos criterion
• The multistage switch has one drawback-blocking during
periods of heavy traffic .
• The whole idea of multistage switching is to share the
crosspoints in the middle-stage crossbars.
• Sharing can cause a lack of availability if the resources are
limited and all users want a connection at the same time .
• Clos criterion: condition of non-blocking
– n = (N/2)1/2
– k > 2n – 1
– Crosspoints ≥ 4N [(2N)1/2 – 1]
TDM, with and without TSI (Time slot
interchange)
Time- and Space-Division Switch
Combination
• Space division: instantaneous, crosspoints
• Time division: no crosspoint, processing delay
• Space-and time-division switching combinations take
advantage of the best of both
Structure of Packet Switch
Structure of Packet Switch
• Packets are decapsulated /encapsulated and errors are
detected and corrected at input/output ports
• Routing processor: network layer functions
– Table lookup: searching the routing table by destination
address
• Switching Fabric: Most difficult task is to move from input
queue to output queue. The speed at which this is done
affects the size of the input/output queue and overall delay in
packet delivery.
– Crossbar switch
– Banyan switch
– Batcher-Banyan switch
Banyan Switch
• Multistage switch with micro-switches at each stage that route the
packets based on the output port represented as a binary string
• “n” i/p and “n” o/p with log2n stages with n/2 micro-switches at each
stage
• Input 1 to output 6 
Binary representation (110)
• Input 5 to output 2 
binary representation (010)
Ad

More Related Content

What's hot (20)

02 protocol architecture
02 protocol architecture02 protocol architecture
02 protocol architecture
chameli devi group of institutions
 
Unicasting , Broadcasting And Multicasting New
Unicasting , Broadcasting And Multicasting NewUnicasting , Broadcasting And Multicasting New
Unicasting , Broadcasting And Multicasting New
techbed
 
Framming data link layer
Framming data link layerFramming data link layer
Framming data link layer
PREMAL GAJJAR
 
Transmission Control Protocol (TCP)
Transmission Control Protocol (TCP)Transmission Control Protocol (TCP)
Transmission Control Protocol (TCP)
k33a
 
Go back-n protocol
Go back-n protocolGo back-n protocol
Go back-n protocol
STEFFY D
 
Data link layer
Data link layerData link layer
Data link layer
Abdul MaTéèñ
 
Transport layer services
Transport layer servicesTransport layer services
Transport layer services
Melvin Cabatuan
 
Media Access Control (MAC Layer)
Media Access Control (MAC Layer)Media Access Control (MAC Layer)
Media Access Control (MAC Layer)
Meenakshi Paul
 
Chapter2-PhysicalLayer.ppt
Chapter2-PhysicalLayer.pptChapter2-PhysicalLayer.ppt
Chapter2-PhysicalLayer.ppt
faisalahmed441
 
Protocols and standards
Protocols and standardsProtocols and standards
Protocols and standards
PriyankaM69
 
Chapter 4-The Medium Access Control Sublayer.ppt
Chapter 4-The Medium Access Control Sublayer.pptChapter 4-The Medium Access Control Sublayer.ppt
Chapter 4-The Medium Access Control Sublayer.ppt
vanlinhle3
 
IPv4
IPv4IPv4
IPv4
Dhiraj Mishra
 
Media Access Control
Media Access ControlMedia Access Control
Media Access Control
VijayaLakshmi514
 
Data link layer
Data link layer Data link layer
Data link layer
Mukesh Chinta
 
Osi layer and network protocol
Osi layer and network protocolOsi layer and network protocol
Osi layer and network protocol
Nayan Sarma
 
TCP-IP Reference Model
TCP-IP Reference ModelTCP-IP Reference Model
TCP-IP Reference Model
Mukesh Tekwani
 
Tcp IP Model
Tcp IP ModelTcp IP Model
Tcp IP Model
Ankur Kumar
 
Osi model
Osi modelOsi model
Osi model
Priyanka Sharma
 
User datagram protocol (udp)
User datagram protocol (udp)User datagram protocol (udp)
User datagram protocol (udp)
Ramola Dhande
 
Tcp header/IP Header/Authentication header
Tcp header/IP Header/Authentication headerTcp header/IP Header/Authentication header
Tcp header/IP Header/Authentication header
Faizan Shaikh
 
Unicasting , Broadcasting And Multicasting New
Unicasting , Broadcasting And Multicasting NewUnicasting , Broadcasting And Multicasting New
Unicasting , Broadcasting And Multicasting New
techbed
 
Framming data link layer
Framming data link layerFramming data link layer
Framming data link layer
PREMAL GAJJAR
 
Transmission Control Protocol (TCP)
Transmission Control Protocol (TCP)Transmission Control Protocol (TCP)
Transmission Control Protocol (TCP)
k33a
 
Go back-n protocol
Go back-n protocolGo back-n protocol
Go back-n protocol
STEFFY D
 
Transport layer services
Transport layer servicesTransport layer services
Transport layer services
Melvin Cabatuan
 
Media Access Control (MAC Layer)
Media Access Control (MAC Layer)Media Access Control (MAC Layer)
Media Access Control (MAC Layer)
Meenakshi Paul
 
Chapter2-PhysicalLayer.ppt
Chapter2-PhysicalLayer.pptChapter2-PhysicalLayer.ppt
Chapter2-PhysicalLayer.ppt
faisalahmed441
 
Protocols and standards
Protocols and standardsProtocols and standards
Protocols and standards
PriyankaM69
 
Chapter 4-The Medium Access Control Sublayer.ppt
Chapter 4-The Medium Access Control Sublayer.pptChapter 4-The Medium Access Control Sublayer.ppt
Chapter 4-The Medium Access Control Sublayer.ppt
vanlinhle3
 
Osi layer and network protocol
Osi layer and network protocolOsi layer and network protocol
Osi layer and network protocol
Nayan Sarma
 
TCP-IP Reference Model
TCP-IP Reference ModelTCP-IP Reference Model
TCP-IP Reference Model
Mukesh Tekwani
 
User datagram protocol (udp)
User datagram protocol (udp)User datagram protocol (udp)
User datagram protocol (udp)
Ramola Dhande
 
Tcp header/IP Header/Authentication header
Tcp header/IP Header/Authentication headerTcp header/IP Header/Authentication header
Tcp header/IP Header/Authentication header
Faizan Shaikh
 

Similar to Switching concepts Data communication and networks (20)

switching multiple access control data communication
switching multiple access control data communicationswitching multiple access control data communication
switching multiple access control data communication
krishnakumararunacha5
 
Computer network switching
Computer network switchingComputer network switching
Computer network switching
DivyanshThakur7
 
Unit 1 Circuit and Packet Switching.pptx
Unit 1 Circuit and Packet Switching.pptxUnit 1 Circuit and Packet Switching.pptx
Unit 1 Circuit and Packet Switching.pptx
Vikas Goyal
 
Unit -1 Circuit Switch and Data gram Switch
Unit -1 Circuit Switch and Data gram SwitchUnit -1 Circuit Switch and Data gram Switch
Unit -1 Circuit Switch and Data gram Switch
Nivetha Palanisamy
 
Datagram Switching and Virtual Control Switching
Datagram Switching and Virtual Control SwitchingDatagram Switching and Virtual Control Switching
Datagram Switching and Virtual Control Switching
Mustak Ahmmed
 
Switching
SwitchingSwitching
Switching
Meenakshi Paul
 
unit 3 computer networks-switching,packet switching,internet protocol.
unit 3 computer networks-switching,packet switching,internet protocol.unit 3 computer networks-switching,packet switching,internet protocol.
unit 3 computer networks-switching,packet switching,internet protocol.
venigkrish89
 
Chapter 2 Switches in network.ppt
Chapter 2 Switches in network.pptChapter 2 Switches in network.ppt
Chapter 2 Switches in network.ppt
monikarawat57
 
chapter 5.2.pptx
chapter 5.2.pptxchapter 5.2.pptx
chapter 5.2.pptx
MelkamtseganewTigabi1
 
Switching
Switching Switching
Switching
Abid Ali
 
Structure of switches
Structure of switchesStructure of switches
Structure of switches
Anam Sana
 
Packet switching paradigms Computer Networks: A Systems Approach.ppt
Packet switching paradigms Computer Networks: A Systems Approach.pptPacket switching paradigms Computer Networks: A Systems Approach.ppt
Packet switching paradigms Computer Networks: A Systems Approach.ppt
TIKMAN3KEDIRI
 
Packet Switching Technique in Computer Network
Packet Switching Technique in Computer NetworkPacket Switching Technique in Computer Network
Packet Switching Technique in Computer Network
NiharikaDubey17
 
Switching types-circuit, packet and message
Switching types-circuit, packet and messageSwitching types-circuit, packet and message
Switching types-circuit, packet and message
JebaRaj26
 
DCN-321-Chiwaya_Lesson7_DataElements_Switching.pdf
DCN-321-Chiwaya_Lesson7_DataElements_Switching.pdfDCN-321-Chiwaya_Lesson7_DataElements_Switching.pdf
DCN-321-Chiwaya_Lesson7_DataElements_Switching.pdf
OscarKelvinNsitu
 
Switch networking
Switch networking Switch networking
Switch networking
MohikaJamadari
 
Frame relay
Frame relayFrame relay
Frame relay
Jyothishmathi Institute of Technology and Science Karimnagar
 
Chapter_4_V7.01 Network Layer Batch 3.pptx
Chapter_4_V7.01 Network Layer Batch 3.pptxChapter_4_V7.01 Network Layer Batch 3.pptx
Chapter_4_V7.01 Network Layer Batch 3.pptx
dkb8923
 
CN Unit 2 - cs8591.pptx
CN Unit 2 - cs8591.pptxCN Unit 2 - cs8591.pptx
CN Unit 2 - cs8591.pptx
Pondinesh2
 
Introduction to backwards learning algorithm
Introduction to backwards learning algorithmIntroduction to backwards learning algorithm
Introduction to backwards learning algorithm
Roshan Karunarathna
 
switching multiple access control data communication
switching multiple access control data communicationswitching multiple access control data communication
switching multiple access control data communication
krishnakumararunacha5
 
Computer network switching
Computer network switchingComputer network switching
Computer network switching
DivyanshThakur7
 
Unit 1 Circuit and Packet Switching.pptx
Unit 1 Circuit and Packet Switching.pptxUnit 1 Circuit and Packet Switching.pptx
Unit 1 Circuit and Packet Switching.pptx
Vikas Goyal
 
Unit -1 Circuit Switch and Data gram Switch
Unit -1 Circuit Switch and Data gram SwitchUnit -1 Circuit Switch and Data gram Switch
Unit -1 Circuit Switch and Data gram Switch
Nivetha Palanisamy
 
Datagram Switching and Virtual Control Switching
Datagram Switching and Virtual Control SwitchingDatagram Switching and Virtual Control Switching
Datagram Switching and Virtual Control Switching
Mustak Ahmmed
 
unit 3 computer networks-switching,packet switching,internet protocol.
unit 3 computer networks-switching,packet switching,internet protocol.unit 3 computer networks-switching,packet switching,internet protocol.
unit 3 computer networks-switching,packet switching,internet protocol.
venigkrish89
 
Chapter 2 Switches in network.ppt
Chapter 2 Switches in network.pptChapter 2 Switches in network.ppt
Chapter 2 Switches in network.ppt
monikarawat57
 
Switching
Switching Switching
Switching
Abid Ali
 
Structure of switches
Structure of switchesStructure of switches
Structure of switches
Anam Sana
 
Packet switching paradigms Computer Networks: A Systems Approach.ppt
Packet switching paradigms Computer Networks: A Systems Approach.pptPacket switching paradigms Computer Networks: A Systems Approach.ppt
Packet switching paradigms Computer Networks: A Systems Approach.ppt
TIKMAN3KEDIRI
 
Packet Switching Technique in Computer Network
Packet Switching Technique in Computer NetworkPacket Switching Technique in Computer Network
Packet Switching Technique in Computer Network
NiharikaDubey17
 
Switching types-circuit, packet and message
Switching types-circuit, packet and messageSwitching types-circuit, packet and message
Switching types-circuit, packet and message
JebaRaj26
 
DCN-321-Chiwaya_Lesson7_DataElements_Switching.pdf
DCN-321-Chiwaya_Lesson7_DataElements_Switching.pdfDCN-321-Chiwaya_Lesson7_DataElements_Switching.pdf
DCN-321-Chiwaya_Lesson7_DataElements_Switching.pdf
OscarKelvinNsitu
 
Chapter_4_V7.01 Network Layer Batch 3.pptx
Chapter_4_V7.01 Network Layer Batch 3.pptxChapter_4_V7.01 Network Layer Batch 3.pptx
Chapter_4_V7.01 Network Layer Batch 3.pptx
dkb8923
 
CN Unit 2 - cs8591.pptx
CN Unit 2 - cs8591.pptxCN Unit 2 - cs8591.pptx
CN Unit 2 - cs8591.pptx
Pondinesh2
 
Introduction to backwards learning algorithm
Introduction to backwards learning algorithmIntroduction to backwards learning algorithm
Introduction to backwards learning algorithm
Roshan Karunarathna
 
Ad

More from Nt Arvind (10)

Quantitative Aptitude , Section-Arithmetic , Chapter-Percentages
Quantitative Aptitude , Section-Arithmetic , Chapter-PercentagesQuantitative Aptitude , Section-Arithmetic , Chapter-Percentages
Quantitative Aptitude , Section-Arithmetic , Chapter-Percentages
Nt Arvind
 
Introduction to Sequential circuits and flip flops
Introduction to Sequential circuits and flip flops Introduction to Sequential circuits and flip flops
Introduction to Sequential circuits and flip flops
Nt Arvind
 
Detail explanation about the HOQ ( House of quality ) concept in engineering ...
Detail explanation about the HOQ ( House of quality ) concept in engineering ...Detail explanation about the HOQ ( House of quality ) concept in engineering ...
Detail explanation about the HOQ ( House of quality ) concept in engineering ...
Nt Arvind
 
Philosophy and Introduction of Engineering Design
Philosophy and Introduction of Engineering Design Philosophy and Introduction of Engineering Design
Philosophy and Introduction of Engineering Design
Nt Arvind
 
Introduction of smart bus transportation project @ IICDC 2016-2017
Introduction of smart bus transportation project @ IICDC 2016-2017Introduction of smart bus transportation project @ IICDC 2016-2017
Introduction of smart bus transportation project @ IICDC 2016-2017
Nt Arvind
 
8051 development board project report
8051 development board project report8051 development board project report
8051 development board project report
Nt Arvind
 
Multiple access protocols in data communication networks
Multiple access protocols in data communication networksMultiple access protocols in data communication networks
Multiple access protocols in data communication networks
Nt Arvind
 
Different protocols for data communication networks
Different protocols for data communication networks Different protocols for data communication networks
Different protocols for data communication networks
Nt Arvind
 
Error Detection and correction concepts in Data communication and networks
Error Detection and correction concepts in Data communication and networksError Detection and correction concepts in Data communication and networks
Error Detection and correction concepts in Data communication and networks
Nt Arvind
 
Basics on different types operational amplifier (op-amp)
Basics on different types operational amplifier (op-amp)Basics on different types operational amplifier (op-amp)
Basics on different types operational amplifier (op-amp)
Nt Arvind
 
Quantitative Aptitude , Section-Arithmetic , Chapter-Percentages
Quantitative Aptitude , Section-Arithmetic , Chapter-PercentagesQuantitative Aptitude , Section-Arithmetic , Chapter-Percentages
Quantitative Aptitude , Section-Arithmetic , Chapter-Percentages
Nt Arvind
 
Introduction to Sequential circuits and flip flops
Introduction to Sequential circuits and flip flops Introduction to Sequential circuits and flip flops
Introduction to Sequential circuits and flip flops
Nt Arvind
 
Detail explanation about the HOQ ( House of quality ) concept in engineering ...
Detail explanation about the HOQ ( House of quality ) concept in engineering ...Detail explanation about the HOQ ( House of quality ) concept in engineering ...
Detail explanation about the HOQ ( House of quality ) concept in engineering ...
Nt Arvind
 
Philosophy and Introduction of Engineering Design
Philosophy and Introduction of Engineering Design Philosophy and Introduction of Engineering Design
Philosophy and Introduction of Engineering Design
Nt Arvind
 
Introduction of smart bus transportation project @ IICDC 2016-2017
Introduction of smart bus transportation project @ IICDC 2016-2017Introduction of smart bus transportation project @ IICDC 2016-2017
Introduction of smart bus transportation project @ IICDC 2016-2017
Nt Arvind
 
8051 development board project report
8051 development board project report8051 development board project report
8051 development board project report
Nt Arvind
 
Multiple access protocols in data communication networks
Multiple access protocols in data communication networksMultiple access protocols in data communication networks
Multiple access protocols in data communication networks
Nt Arvind
 
Different protocols for data communication networks
Different protocols for data communication networks Different protocols for data communication networks
Different protocols for data communication networks
Nt Arvind
 
Error Detection and correction concepts in Data communication and networks
Error Detection and correction concepts in Data communication and networksError Detection and correction concepts in Data communication and networks
Error Detection and correction concepts in Data communication and networks
Nt Arvind
 
Basics on different types operational amplifier (op-amp)
Basics on different types operational amplifier (op-amp)Basics on different types operational amplifier (op-amp)
Basics on different types operational amplifier (op-amp)
Nt Arvind
 
Ad

Recently uploaded (20)

How to Manage Cross Selling in Odoo 18 Sales
How to Manage Cross Selling in Odoo 18 SalesHow to Manage Cross Selling in Odoo 18 Sales
How to Manage Cross Selling in Odoo 18 Sales
Celine George
 
IPL QUIZ | THE QUIZ CLUB OF PSGCAS | 2025.pdf
IPL QUIZ | THE QUIZ CLUB OF PSGCAS | 2025.pdfIPL QUIZ | THE QUIZ CLUB OF PSGCAS | 2025.pdf
IPL QUIZ | THE QUIZ CLUB OF PSGCAS | 2025.pdf
Quiz Club of PSG College of Arts & Science
 
Botany Assignment Help Guide - Academic Excellence
Botany Assignment Help Guide - Academic ExcellenceBotany Assignment Help Guide - Academic Excellence
Botany Assignment Help Guide - Academic Excellence
online college homework help
 
IMPACT_OF_SOCIAL-MEDIA- AMONG- TEENAGERS
IMPACT_OF_SOCIAL-MEDIA- AMONG- TEENAGERSIMPACT_OF_SOCIAL-MEDIA- AMONG- TEENAGERS
IMPACT_OF_SOCIAL-MEDIA- AMONG- TEENAGERS
rajaselviazhagiri1
 
MCQS (EMERGENCY NURSING) DR. NASIR MUSTAFA
MCQS (EMERGENCY NURSING) DR. NASIR MUSTAFAMCQS (EMERGENCY NURSING) DR. NASIR MUSTAFA
MCQS (EMERGENCY NURSING) DR. NASIR MUSTAFA
Dr. Nasir Mustafa
 
ITI COPA Question Paper PDF 2017 Theory MCQ
ITI COPA Question Paper PDF 2017 Theory MCQITI COPA Question Paper PDF 2017 Theory MCQ
ITI COPA Question Paper PDF 2017 Theory MCQ
SONU HEETSON
 
114P_English.pdf114P_English.pdf114P_English.pdf
114P_English.pdf114P_English.pdf114P_English.pdf114P_English.pdf114P_English.pdf114P_English.pdf
114P_English.pdf114P_English.pdf114P_English.pdf
paulinelee52
 
Chemotherapy of Malignancy -Anticancer.pptx
Chemotherapy of Malignancy -Anticancer.pptxChemotherapy of Malignancy -Anticancer.pptx
Chemotherapy of Malignancy -Anticancer.pptx
Mayuri Chavan
 
Module_2_Types_and_Approaches_of_Research (2).pptx
Module_2_Types_and_Approaches_of_Research (2).pptxModule_2_Types_and_Approaches_of_Research (2).pptx
Module_2_Types_and_Approaches_of_Research (2).pptx
drroxannekemp
 
UPSA JUDGEMENT.pdfCopyright Infringement: High Court Rules against UPSA: A Wa...
UPSA JUDGEMENT.pdfCopyright Infringement: High Court Rules against UPSA: A Wa...UPSA JUDGEMENT.pdfCopyright Infringement: High Court Rules against UPSA: A Wa...
UPSA JUDGEMENT.pdfCopyright Infringement: High Court Rules against UPSA: A Wa...
businessweekghana
 
Peer Assessment_ Unit 2 Skills Development for Live Performance - for Libby.docx
Peer Assessment_ Unit 2 Skills Development for Live Performance - for Libby.docxPeer Assessment_ Unit 2 Skills Development for Live Performance - for Libby.docx
Peer Assessment_ Unit 2 Skills Development for Live Performance - for Libby.docx
19lburrell
 
INDIA QUIZ FOR SCHOOLS | THE QUIZ CLUB OF PSGCAS | AUGUST 2024
INDIA QUIZ FOR SCHOOLS | THE QUIZ CLUB OF PSGCAS | AUGUST 2024INDIA QUIZ FOR SCHOOLS | THE QUIZ CLUB OF PSGCAS | AUGUST 2024
INDIA QUIZ FOR SCHOOLS | THE QUIZ CLUB OF PSGCAS | AUGUST 2024
Quiz Club of PSG College of Arts & Science
 
Module 1: Foundations of Research
Module 1: Foundations of ResearchModule 1: Foundations of Research
Module 1: Foundations of Research
drroxannekemp
 
Classification of mental disorder in 5th semester bsc. nursing and also used ...
Classification of mental disorder in 5th semester bsc. nursing and also used ...Classification of mental disorder in 5th semester bsc. nursing and also used ...
Classification of mental disorder in 5th semester bsc. nursing and also used ...
parmarjuli1412
 
The History of Kashmir Lohar Dynasty NEP.ppt
The History of Kashmir Lohar Dynasty NEP.pptThe History of Kashmir Lohar Dynasty NEP.ppt
The History of Kashmir Lohar Dynasty NEP.ppt
Arya Mahila P. G. College, Banaras Hindu University, Varanasi, India.
 
PUBH1000 Slides - Module 12: Advocacy for Health
PUBH1000 Slides - Module 12: Advocacy for HealthPUBH1000 Slides - Module 12: Advocacy for Health
PUBH1000 Slides - Module 12: Advocacy for Health
JonathanHallett4
 
How To Maximize Sales Performance using Odoo 18 Diverse views in sales module
How To Maximize Sales Performance using Odoo 18 Diverse views in sales moduleHow To Maximize Sales Performance using Odoo 18 Diverse views in sales module
How To Maximize Sales Performance using Odoo 18 Diverse views in sales module
Celine George
 
The role of wall art in interior designing
The role of wall art in interior designingThe role of wall art in interior designing
The role of wall art in interior designing
meghaark2110
 
2025 The Senior Landscape and SET plan preparations.pptx
2025 The Senior Landscape and SET plan preparations.pptx2025 The Senior Landscape and SET plan preparations.pptx
2025 The Senior Landscape and SET plan preparations.pptx
mansk2
 
"Bridging Cultures Through Holiday Cards: 39 Students Celebrate Global Tradit...
"Bridging Cultures Through Holiday Cards: 39 Students Celebrate Global Tradit..."Bridging Cultures Through Holiday Cards: 39 Students Celebrate Global Tradit...
"Bridging Cultures Through Holiday Cards: 39 Students Celebrate Global Tradit...
AlionaBujoreanu
 
How to Manage Cross Selling in Odoo 18 Sales
How to Manage Cross Selling in Odoo 18 SalesHow to Manage Cross Selling in Odoo 18 Sales
How to Manage Cross Selling in Odoo 18 Sales
Celine George
 
Botany Assignment Help Guide - Academic Excellence
Botany Assignment Help Guide - Academic ExcellenceBotany Assignment Help Guide - Academic Excellence
Botany Assignment Help Guide - Academic Excellence
online college homework help
 
IMPACT_OF_SOCIAL-MEDIA- AMONG- TEENAGERS
IMPACT_OF_SOCIAL-MEDIA- AMONG- TEENAGERSIMPACT_OF_SOCIAL-MEDIA- AMONG- TEENAGERS
IMPACT_OF_SOCIAL-MEDIA- AMONG- TEENAGERS
rajaselviazhagiri1
 
MCQS (EMERGENCY NURSING) DR. NASIR MUSTAFA
MCQS (EMERGENCY NURSING) DR. NASIR MUSTAFAMCQS (EMERGENCY NURSING) DR. NASIR MUSTAFA
MCQS (EMERGENCY NURSING) DR. NASIR MUSTAFA
Dr. Nasir Mustafa
 
ITI COPA Question Paper PDF 2017 Theory MCQ
ITI COPA Question Paper PDF 2017 Theory MCQITI COPA Question Paper PDF 2017 Theory MCQ
ITI COPA Question Paper PDF 2017 Theory MCQ
SONU HEETSON
 
114P_English.pdf114P_English.pdf114P_English.pdf
114P_English.pdf114P_English.pdf114P_English.pdf114P_English.pdf114P_English.pdf114P_English.pdf
114P_English.pdf114P_English.pdf114P_English.pdf
paulinelee52
 
Chemotherapy of Malignancy -Anticancer.pptx
Chemotherapy of Malignancy -Anticancer.pptxChemotherapy of Malignancy -Anticancer.pptx
Chemotherapy of Malignancy -Anticancer.pptx
Mayuri Chavan
 
Module_2_Types_and_Approaches_of_Research (2).pptx
Module_2_Types_and_Approaches_of_Research (2).pptxModule_2_Types_and_Approaches_of_Research (2).pptx
Module_2_Types_and_Approaches_of_Research (2).pptx
drroxannekemp
 
UPSA JUDGEMENT.pdfCopyright Infringement: High Court Rules against UPSA: A Wa...
UPSA JUDGEMENT.pdfCopyright Infringement: High Court Rules against UPSA: A Wa...UPSA JUDGEMENT.pdfCopyright Infringement: High Court Rules against UPSA: A Wa...
UPSA JUDGEMENT.pdfCopyright Infringement: High Court Rules against UPSA: A Wa...
businessweekghana
 
Peer Assessment_ Unit 2 Skills Development for Live Performance - for Libby.docx
Peer Assessment_ Unit 2 Skills Development for Live Performance - for Libby.docxPeer Assessment_ Unit 2 Skills Development for Live Performance - for Libby.docx
Peer Assessment_ Unit 2 Skills Development for Live Performance - for Libby.docx
19lburrell
 
Module 1: Foundations of Research
Module 1: Foundations of ResearchModule 1: Foundations of Research
Module 1: Foundations of Research
drroxannekemp
 
Classification of mental disorder in 5th semester bsc. nursing and also used ...
Classification of mental disorder in 5th semester bsc. nursing and also used ...Classification of mental disorder in 5th semester bsc. nursing and also used ...
Classification of mental disorder in 5th semester bsc. nursing and also used ...
parmarjuli1412
 
PUBH1000 Slides - Module 12: Advocacy for Health
PUBH1000 Slides - Module 12: Advocacy for HealthPUBH1000 Slides - Module 12: Advocacy for Health
PUBH1000 Slides - Module 12: Advocacy for Health
JonathanHallett4
 
How To Maximize Sales Performance using Odoo 18 Diverse views in sales module
How To Maximize Sales Performance using Odoo 18 Diverse views in sales moduleHow To Maximize Sales Performance using Odoo 18 Diverse views in sales module
How To Maximize Sales Performance using Odoo 18 Diverse views in sales module
Celine George
 
The role of wall art in interior designing
The role of wall art in interior designingThe role of wall art in interior designing
The role of wall art in interior designing
meghaark2110
 
2025 The Senior Landscape and SET plan preparations.pptx
2025 The Senior Landscape and SET plan preparations.pptx2025 The Senior Landscape and SET plan preparations.pptx
2025 The Senior Landscape and SET plan preparations.pptx
mansk2
 
"Bridging Cultures Through Holiday Cards: 39 Students Celebrate Global Tradit...
"Bridging Cultures Through Holiday Cards: 39 Students Celebrate Global Tradit..."Bridging Cultures Through Holiday Cards: 39 Students Celebrate Global Tradit...
"Bridging Cultures Through Holiday Cards: 39 Students Celebrate Global Tradit...
AlionaBujoreanu
 

Switching concepts Data communication and networks

  • 2. Switching • Switches are devices capable of creating temporary connections between two or more devices linked to the switch
  • 3. Circuit-switched Network • A circuit-switched network is made of a set of switches connected by physical links, in which each link is divided in “n” channels. • When end system A needs to communicate with end system M . “A” needs to request a connection to “M” that must be accepted by all switches as well as by M itself. This is called the setup phase. Combination of channels defines the dedicated path. After the dedicated path is established, data transfer can take place. • The stations must make a reservation for the resources to be used during the communication
  • 4. 4x8 means 4 input and 8 output . 4 output ports are folded into the i/p ports to allow communication between computers in the same office. 4 other o/p ports allow communication between the two offices. This example 17 25 38 46
  • 5. three phase(setup , data transfer , teardown phase) Setup phase : • system A needs to connect to system M. • Sends a setup request that includes the address of system M, to switch I. • Switch I finds a channel between itself and switch IV that can be dedicated for this purpose. • Switch I then sends the request to switch IV,. • Switch IV finds a dedicated channel between itself and switch III. • Switch III informs system M of system A's intention at this time. • End-to-End addressing is required for creating a connection between the two end systems. Data Transfer Phase : After the establishment of path the two parties can transfer data Teardown Phase: When one of the parties (system) needs to disconnect, a signal is sent to each switch to release the resources.
  • 6. DATAGRAM-NETWORKS (Connectionless network) • In a packet-switched network, there is no resource reservation; resources are allocated on demand . • When a switch receives a packet, no matter what is the source or destination, the packet must wait if there are other packets being processed . • In a datagram network, each packet is treated independently of all others. Sometimes referred to as connectionless networks . • This approach can cause the datagram’s of a transmission to arrive at their destination out of order with different delays between the packets. • There are no setup or teardown phases
  • 7. Routing table , delay , efficiency of (datagram-network) • The routing tables are dynamic and are updated periodically. • A switch in a datagram networks uses a routing table that is based on the destination address • The destination address in the header of a packet in a datagram network remains the same during the entire journey of the packet • The efficiency of a datagram network is better than that of a circuit-switched network, resources are allocated only when there are packets to be transferred . Routing table Delay( transmission time + propagation delay + waiting time)
  • 8. VIRTUAL-CIRCUIT NETWORKS (VCN) • It is a hybrid technique. • Setup, data transfer, and teardown phases as in a “CSN” • Resource allocated during setup phase, as in a CSN, or on demand as in (DN) • As in DN, data are packetized and each packet carries an address in the header. The address has local jurisdiction, not end-to-end jurisdiction. • As in CSN, all packets follow the same path established during the connection • VCN is normally implemented in the data link layer, while CSN is in physical layer and DN in the network layer
  • 9. Addressing • Two types of addressing in a virtual-circuit network: global and local (virtual-circuit identifier: VCI) • Global address is used only to create a VCI • The identifier that is actually used for data transfer is called the “VCI” . • When a frame arrives at a switch, it has a VCI; when it leaves, it has a different VCI . • VCI does not need to be a large number since each switch can use its own unique set of VCl’s.
  • 11. Setup Phases: Setup Request and Acknowledgement Setup request Setup acknowledgement
  • 12. Teardown phase and total delay in VCN • source A, after sending all frames to B, sends a special frame called a teardown request. Destination B responds with a teardown confirmation frame. All switches delete the corresponding entry from their tables . • In virtual-circuit switching, all packets belonging to the same source and destination travel the same path; but the packets may arrive at the destination with different delays if resource allocation is on demand.
  • 13. Space-division: crossbar switch • The number of switches is huge. connect n inputs by m output  require n * m crosspoint. • Inefficient fewer than 25% of the crosspoints are in use at given time , rest are idle .
  • 14. Space-division: Multistage Switch • Three steps – Divide the N input lines into groups, each of n lines. For each group, use one crossbar of size n x k, where k is the number of crossbars in the middle stage – Use k crossbars, each of size (N/n) x (N/n) in the middle stage – Use N/n crossbars, each of size k x n at the third stage • Total no of crosspoints = N/n(n x k) + k(N/n x N/n) + N/n(k x n) = 2kN + k(N/n)2 • Which is much smaller than the number of crosspoints in a single-stage switch (N2).
  • 15. Drawbacks of multistage switch and clos criterion • The multistage switch has one drawback-blocking during periods of heavy traffic . • The whole idea of multistage switching is to share the crosspoints in the middle-stage crossbars. • Sharing can cause a lack of availability if the resources are limited and all users want a connection at the same time . • Clos criterion: condition of non-blocking – n = (N/2)1/2 – k > 2n – 1 – Crosspoints ≥ 4N [(2N)1/2 – 1]
  • 16. TDM, with and without TSI (Time slot interchange)
  • 17. Time- and Space-Division Switch Combination • Space division: instantaneous, crosspoints • Time division: no crosspoint, processing delay • Space-and time-division switching combinations take advantage of the best of both
  • 19. Structure of Packet Switch • Packets are decapsulated /encapsulated and errors are detected and corrected at input/output ports • Routing processor: network layer functions – Table lookup: searching the routing table by destination address • Switching Fabric: Most difficult task is to move from input queue to output queue. The speed at which this is done affects the size of the input/output queue and overall delay in packet delivery. – Crossbar switch – Banyan switch – Batcher-Banyan switch
  • 20. Banyan Switch • Multistage switch with micro-switches at each stage that route the packets based on the output port represented as a binary string • “n” i/p and “n” o/p with log2n stages with n/2 micro-switches at each stage • Input 1 to output 6  Binary representation (110) • Input 5 to output 2  binary representation (010)