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)

Application Layer
Application LayerApplication Layer
Application Layer
ushabarad142
 
Transmission media (data communication)
Transmission media (data communication)Transmission media (data communication)
Transmission media (data communication)
Pritom Chaki
 
switching techniques in data communication and networking
switching techniques in data communication and networkingswitching techniques in data communication and networking
switching techniques in data communication and networking
Harshita Yadav
 
Osi reference model
Osi reference modelOsi reference model
Osi reference model
vasanthimuniasamy
 
Tcp IP Model
Tcp IP ModelTcp IP Model
Tcp IP Model
Ankur Kumar
 
data-link layer protocols
data-link layer protocols  data-link layer protocols
data-link layer protocols
BE Smârt
 
WAN Technologies slide show
WAN Technologies slide showWAN Technologies slide show
WAN Technologies slide show
NavleshKumar singh
 
The medium access sublayer
 The medium  access sublayer The medium  access sublayer
The medium access sublayer
Lal Bahadur Gehlot
 
Csma
CsmaCsma
Csma
myrajendra
 
Routing algorithm
Routing algorithmRouting algorithm
Routing algorithm
Bushra M
 
Dc ch10 : circuit switching and packet switching
Dc ch10 : circuit switching and packet switchingDc ch10 : circuit switching and packet switching
Dc ch10 : circuit switching and packet switching
Syaiful Ahdan
 
Point To Point Protocol
Point To Point ProtocolPoint To Point Protocol
Point To Point Protocol
Phan Vuong
 
Mac layer
Mac  layerMac  layer
Mac layer
Shubham Kansal
 
Transmission impairments(presentation)
Transmission impairments(presentation)Transmission impairments(presentation)
Transmission impairments(presentation)
Vivek Kumar
 
Multiple access protocol
Multiple access protocolMultiple access protocol
Multiple access protocol
Merlin Florrence
 
Media Access Control (MAC Layer)
Media Access Control (MAC Layer)Media Access Control (MAC Layer)
Media Access Control (MAC Layer)
Meenakshi Paul
 
Token ring
Token ringToken ring
Token ring
selvakumar_b1985
 
Gprs architecture
Gprs architectureGprs architecture
Gprs architecture
DeekshithaReddy23
 
Computer Network - Network Layer
Computer Network - Network LayerComputer Network - Network Layer
Computer Network - Network Layer
Manoj Kumar
 
Introduction to switching & circuit switching
Introduction to switching & circuit switchingIntroduction to switching & circuit switching
Introduction to switching & circuit switching
Dr Rajiv Srivastava
 
Transmission media (data communication)
Transmission media (data communication)Transmission media (data communication)
Transmission media (data communication)
Pritom Chaki
 
switching techniques in data communication and networking
switching techniques in data communication and networkingswitching techniques in data communication and networking
switching techniques in data communication and networking
Harshita Yadav
 
data-link layer protocols
data-link layer protocols  data-link layer protocols
data-link layer protocols
BE Smârt
 
Routing algorithm
Routing algorithmRouting algorithm
Routing algorithm
Bushra M
 
Dc ch10 : circuit switching and packet switching
Dc ch10 : circuit switching and packet switchingDc ch10 : circuit switching and packet switching
Dc ch10 : circuit switching and packet switching
Syaiful Ahdan
 
Point To Point Protocol
Point To Point ProtocolPoint To Point Protocol
Point To Point Protocol
Phan Vuong
 
Transmission impairments(presentation)
Transmission impairments(presentation)Transmission impairments(presentation)
Transmission impairments(presentation)
Vivek Kumar
 
Media Access Control (MAC Layer)
Media Access Control (MAC Layer)Media Access Control (MAC Layer)
Media Access Control (MAC Layer)
Meenakshi Paul
 
Computer Network - Network Layer
Computer Network - Network LayerComputer Network - Network Layer
Computer Network - Network Layer
Manoj Kumar
 
Introduction to switching & circuit switching
Introduction to switching & circuit switchingIntroduction to switching & circuit switching
Introduction to switching & circuit switching
Dr Rajiv Srivastava
 

Similar to Switching concepts Data communication and networks (20)

Computer network switching
Computer network switchingComputer network switching
Computer network switching
Shivani Godha
 
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
 
Computer network switching
Computer network switchingComputer network switching
Computer network switching
Shivani Godha
 
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
 
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)

COPA Apprentice exam Questions and answers PDF
COPA Apprentice exam Questions and answers PDFCOPA Apprentice exam Questions and answers PDF
COPA Apprentice exam Questions and answers PDF
SONU HEETSON
 
Search Matching Applicants in Odoo 18 - Odoo Slides
Search Matching Applicants in Odoo 18 - Odoo SlidesSearch Matching Applicants in Odoo 18 - Odoo Slides
Search Matching Applicants in Odoo 18 - Odoo Slides
Celine George
 
CNS infections (encephalitis, meningitis & Brain abscess
CNS infections (encephalitis, meningitis & Brain abscessCNS infections (encephalitis, meningitis & Brain abscess
CNS infections (encephalitis, meningitis & Brain abscess
Mohamed Rizk Khodair
 
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
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 9 THEO ĐƠN VỊ BÀI HỌC - GLOBAL SUCCESS - CẢ NĂM (TỪ...
BÀI TẬP BỔ TRỢ TIẾNG ANH 9 THEO ĐƠN VỊ BÀI HỌC - GLOBAL SUCCESS - CẢ NĂM (TỪ...BÀI TẬP BỔ TRỢ TIẾNG ANH 9 THEO ĐƠN VỊ BÀI HỌC - GLOBAL SUCCESS - CẢ NĂM (TỪ...
BÀI TẬP BỔ TRỢ TIẾNG ANH 9 THEO ĐƠN VỊ BÀI HỌC - GLOBAL SUCCESS - CẢ NĂM (TỪ...
Nguyen Thanh Tu Collection
 
ANTI-VIRAL DRUGS unit 3 Pharmacology 3.pptx
ANTI-VIRAL DRUGS unit 3 Pharmacology 3.pptxANTI-VIRAL DRUGS unit 3 Pharmacology 3.pptx
ANTI-VIRAL DRUGS unit 3 Pharmacology 3.pptx
Mayuri Chavan
 
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
 
puzzle Irregular Verbs- Simple Past Tense
puzzle Irregular Verbs- Simple Past Tensepuzzle Irregular Verbs- Simple Past Tense
puzzle Irregular Verbs- Simple Past Tense
OlgaLeonorTorresSnch
 
Unit 5 ACUTE, SUBACUTE,CHRONIC TOXICITY.pptx
Unit 5 ACUTE, SUBACUTE,CHRONIC TOXICITY.pptxUnit 5 ACUTE, SUBACUTE,CHRONIC TOXICITY.pptx
Unit 5 ACUTE, SUBACUTE,CHRONIC TOXICITY.pptx
Mayuri Chavan
 
Final Evaluation.docx...........................
Final Evaluation.docx...........................Final Evaluation.docx...........................
Final Evaluation.docx...........................
l1bbyburrell
 
libbys peer assesment.docx..............
libbys peer assesment.docx..............libbys peer assesment.docx..............
libbys peer assesment.docx..............
19lburrell
 
The History of Kashmir Karkota Dynasty NEP.pptx
The History of Kashmir Karkota Dynasty NEP.pptxThe History of Kashmir Karkota Dynasty NEP.pptx
The History of Kashmir Karkota Dynasty NEP.pptx
Arya Mahila P. G. College, Banaras Hindu University, Varanasi, India.
 
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
 
Myopathies (muscle disorders) for undergraduate
Myopathies (muscle disorders) for undergraduateMyopathies (muscle disorders) for undergraduate
Myopathies (muscle disorders) for undergraduate
Mohamed Rizk Khodair
 
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
 
Cyber security COPA ITI MCQ Top Questions
Cyber security COPA ITI MCQ Top QuestionsCyber security COPA ITI MCQ Top Questions
Cyber security COPA ITI MCQ Top Questions
SONU HEETSON
 
How to Manage Amounts in Local Currency in Odoo 18 Purchase
How to Manage Amounts in Local Currency in Odoo 18 PurchaseHow to Manage Amounts in Local Currency in Odoo 18 Purchase
How to Manage Amounts in Local Currency in Odoo 18 Purchase
Celine George
 
U3 ANTITUBERCULAR DRUGS Pharmacology 3.pptx
U3 ANTITUBERCULAR DRUGS Pharmacology 3.pptxU3 ANTITUBERCULAR DRUGS Pharmacology 3.pptx
U3 ANTITUBERCULAR DRUGS Pharmacology 3.pptx
Mayuri Chavan
 
How to Add Button in Chatter in Odoo 18 - Odoo Slides
How to Add Button in Chatter in Odoo 18 - Odoo SlidesHow to Add Button in Chatter in Odoo 18 - Odoo Slides
How to Add Button in Chatter in Odoo 18 - Odoo Slides
Celine George
 
COPA Apprentice exam Questions and answers PDF
COPA Apprentice exam Questions and answers PDFCOPA Apprentice exam Questions and answers PDF
COPA Apprentice exam Questions and answers PDF
SONU HEETSON
 
Search Matching Applicants in Odoo 18 - Odoo Slides
Search Matching Applicants in Odoo 18 - Odoo SlidesSearch Matching Applicants in Odoo 18 - Odoo Slides
Search Matching Applicants in Odoo 18 - Odoo Slides
Celine George
 
CNS infections (encephalitis, meningitis & Brain abscess
CNS infections (encephalitis, meningitis & Brain abscessCNS infections (encephalitis, meningitis & Brain abscess
CNS infections (encephalitis, meningitis & Brain abscess
Mohamed Rizk Khodair
 
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
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 9 THEO ĐƠN VỊ BÀI HỌC - GLOBAL SUCCESS - CẢ NĂM (TỪ...
BÀI TẬP BỔ TRỢ TIẾNG ANH 9 THEO ĐƠN VỊ BÀI HỌC - GLOBAL SUCCESS - CẢ NĂM (TỪ...BÀI TẬP BỔ TRỢ TIẾNG ANH 9 THEO ĐƠN VỊ BÀI HỌC - GLOBAL SUCCESS - CẢ NĂM (TỪ...
BÀI TẬP BỔ TRỢ TIẾNG ANH 9 THEO ĐƠN VỊ BÀI HỌC - GLOBAL SUCCESS - CẢ NĂM (TỪ...
Nguyen Thanh Tu Collection
 
ANTI-VIRAL DRUGS unit 3 Pharmacology 3.pptx
ANTI-VIRAL DRUGS unit 3 Pharmacology 3.pptxANTI-VIRAL DRUGS unit 3 Pharmacology 3.pptx
ANTI-VIRAL DRUGS unit 3 Pharmacology 3.pptx
Mayuri Chavan
 
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
 
puzzle Irregular Verbs- Simple Past Tense
puzzle Irregular Verbs- Simple Past Tensepuzzle Irregular Verbs- Simple Past Tense
puzzle Irregular Verbs- Simple Past Tense
OlgaLeonorTorresSnch
 
Unit 5 ACUTE, SUBACUTE,CHRONIC TOXICITY.pptx
Unit 5 ACUTE, SUBACUTE,CHRONIC TOXICITY.pptxUnit 5 ACUTE, SUBACUTE,CHRONIC TOXICITY.pptx
Unit 5 ACUTE, SUBACUTE,CHRONIC TOXICITY.pptx
Mayuri Chavan
 
Final Evaluation.docx...........................
Final Evaluation.docx...........................Final Evaluation.docx...........................
Final Evaluation.docx...........................
l1bbyburrell
 
libbys peer assesment.docx..............
libbys peer assesment.docx..............libbys peer assesment.docx..............
libbys peer assesment.docx..............
19lburrell
 
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
 
Myopathies (muscle disorders) for undergraduate
Myopathies (muscle disorders) for undergraduateMyopathies (muscle disorders) for undergraduate
Myopathies (muscle disorders) for undergraduate
Mohamed Rizk Khodair
 
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
 
Cyber security COPA ITI MCQ Top Questions
Cyber security COPA ITI MCQ Top QuestionsCyber security COPA ITI MCQ Top Questions
Cyber security COPA ITI MCQ Top Questions
SONU HEETSON
 
How to Manage Amounts in Local Currency in Odoo 18 Purchase
How to Manage Amounts in Local Currency in Odoo 18 PurchaseHow to Manage Amounts in Local Currency in Odoo 18 Purchase
How to Manage Amounts in Local Currency in Odoo 18 Purchase
Celine George
 
U3 ANTITUBERCULAR DRUGS Pharmacology 3.pptx
U3 ANTITUBERCULAR DRUGS Pharmacology 3.pptxU3 ANTITUBERCULAR DRUGS Pharmacology 3.pptx
U3 ANTITUBERCULAR DRUGS Pharmacology 3.pptx
Mayuri Chavan
 
How to Add Button in Chatter in Odoo 18 - Odoo Slides
How to Add Button in Chatter in Odoo 18 - Odoo SlidesHow to Add Button in Chatter in Odoo 18 - Odoo Slides
How to Add Button in Chatter in Odoo 18 - Odoo Slides
Celine George
 

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)
  翻译: