SlideShare a Scribd company logo
1 of 46
8.1
Chapter 8
Switching
Copyright Β© The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
8.2
Figure 8.1 Switched network
8.3
Figure 8.2 Taxonomy of switched networks
8.4
8-1 CIRCUIT-SWITCHED NETWORKS8-1 CIRCUIT-SWITCHED NETWORKS
A circuit-switched network consists of a set of switchesA circuit-switched network consists of a set of switches
connected by physical links. A connection between twoconnected by physical links. A connection between two
stations is a dedicated path made of one or more links.stations is a dedicated path made of one or more links.
However, each connection uses only one dedicatedHowever, each connection uses only one dedicated
channel on each link. Each link is normally dividedchannel on each link. Each link is normally divided
into n channels by using FDM or TDM.into n channels by using FDM or TDM.
Three Phases
Efficiency
Delay
Circuit-Switched Technology in Telephone Networks
Topics discussed in this section:Topics discussed in this section:
8.5
A circuit-switched network is made of a
set of switches connected by physical
links, in which each link is
divided into n channels.
Note
8.6
Figure 8.3 A trivial circuit-switched network
8.7
In circuit switching, the resources need
to be reserved during the setup phase;
the resources remain dedicated for the
entire duration of data transfer until the
teardown phase.
Note
8.8
As a trivial example, let us use a circuit-switched network
to connect eight telephones in a small area.
Communication is through 4-kHz voice channels. We
assume that each link uses FDM to connect a maximum
of two voice channels. The bandwidth of each link is then
8 kHz. Figure 8.4 shows the situation. Telephone 1 is
connected to telephone 7; 2 to 5; 3 to 8; and 4 to 6. Of
course the situation may change when new connections
are made. The switch controls the connections.
Example 8.1
8.9
Figure 8.4 Circuit-switched network used in Example 8.1
8.10
As another example, consider a circuit-switched network
that connects computers in two remote offices of a private
company. The offices are connected using a T-1 line
leased from a communication service provider. There are
two 4 Γ— 8 (4 inputs and 8 outputs) switches in this
network. For each switch, four output ports are folded
into the input ports to allow communication between
computers in the same office. Four other output ports
allow communication between the two offices. Figure 8.5
shows the situation.
Example 8.2
8.11
Figure 8.5 Circuit-switched network used in Example 8.2
8.12
Figure 8.6 Delay in a circuit-switched network
8.13
Switching at the physical layer in the
traditional telephone network uses
the circuit-switching approach.
Note
8.14
8-2 DATAGRAM NETWORKS8-2 DATAGRAM NETWORKS
In data communications, we need to send messagesIn data communications, we need to send messages
from one end system to another. If the message isfrom one end system to another. If the message is
going to pass through a packet-switched network, itgoing to pass through a packet-switched network, it
needs to be divided into packets of fixed or variableneeds to be divided into packets of fixed or variable
size. The size of the packet is determined by thesize. The size of the packet is determined by the
network and the governing protocol.network and the governing protocol.
Routing Table
Efficiency
Delay
Datagram Networks in the Internet
Topics discussed in this section:Topics discussed in this section:
8.15
In a packet-switched network, there
is no resource reservation;
resources are allocated on demand.
Note
8.16
Figure 8.7 A datagram network with four switches (routers)
8.17
Figure 8.8 Routing table in a datagram network
8.18
A switch in a datagram network uses a
routing table that is based on the
destination address.
Note
8.19
The destination address in the header of
a packet in a datagram network
remains the same during the entire
journey of the packet.
Note
8.20
Figure 8.9 Delay in a datagram network
8.21
Switching in the Internet is done by
using the datagram approach
to packet switching at
the network layer.
Note
8.22
8-3 VIRTUAL-CIRCUIT NETWORKS8-3 VIRTUAL-CIRCUIT NETWORKS
A virtual-circuit network is a cross between a circuit-A virtual-circuit network is a cross between a circuit-
switched network and a datagram network. It hasswitched network and a datagram network. It has
some characteristics of both.some characteristics of both.
Addressing
Three Phases
Efficiency
Delay
Circuit-Switched Technology in WANs
Topics discussed in this section:Topics discussed in this section:
8.23
Figure 8.10 Virtual-circuit network
8.24
Figure 8.11 Virtual-circuit identifier
8.25
Figure 8.12 Switch and tables in a virtual-circuit network
8.26
Figure 8.13 Source-to-destination data transfer in a virtual-circuit network
8.27
Figure 8.14 Setup request in a virtual-circuit network
8.28
Figure 8.15 Setup acknowledgment in a virtual-circuit network
8.29
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.
Note
8.30
Figure 8.16 Delay in a virtual-circuit network
8.31
Switching at the data link layer in a
switched WAN is normally
implemented by using
virtual-circuit techniques.
Note
8.32
8-4 STRUCTURE OF A SWITCH8-4 STRUCTURE OF A SWITCH
We use switches in circuit-switched and packet-We use switches in circuit-switched and packet-
switched networks. In this section, we discuss theswitched networks. In this section, we discuss the
structures of the switches used in each type ofstructures of the switches used in each type of
network.network.
Structure of Circuit Switches
Structure of Packet Switches
Topics discussed in this section:Topics discussed in this section:
8.33
Figure 8.17 Crossbar switch with three inputs and four outputs
8.34
Figure 8.18 Multistage switch
8.35
In a three-stage switch, the total
number of crosspoints is
2kN + k(N/n)2
which is much smaller than the number of
crosspoints in a single-stage switch (N2
).
Note
8.36
Design a three-stage, 200 Γ— 200 switch (N = 200) with
k = 4 and n = 20.
Solution
In the first stage we have N/n or 10 crossbars, each of size
20 Γ— 4. In the second stage, we have 4 crossbars, each of
size 10 Γ— 10. In the third stage, we have 10 crossbars,
each of size 4 Γ— 20. The total number of crosspoints is
2kN + k(N/n)2
, or 2000 crosspoints. This is 5 percent of
the number of crosspoints in a single-stage switch (200 Γ—
200 = 40,000).
Example 8.3
8.37
According to the Clos criterion:
n = (N/2)1/2
k > 2n – 1
Crosspoints β‰₯ 4N [(2N)1/2
– 1]
Note
8.38
Redesign the previous three-stage, 200 Γ— 200 switch,
using the Clos criteria with a minimum number of
crosspoints.
Solution
We let n = (200/2)1/2
, or n = 10. We calculate k = 2n 1 =βˆ’
19. In the first stage, we have 200/10, or 20, crossbars,
each with 10 Γ— 19 crosspoints. In the second stage, we
have 19 crossbars, each with 10 Γ— 10 crosspoints. In the
third stage, we have 20 crossbars each with 19 Γ— 10
crosspoints. The total number of crosspoints is 20(10 Γ—
19) + 19(10 Γ— 10) + 20(19 Γ—10) = 9500.
Example 8.4
8.39
Figure 8.19 Time-slot interchange
8.40
Figure 8.20 Time-space-time switch
8.41
Figure 8.21 Packet switch components
8.42
Figure 8.22 Input port
8.43
Figure 8.23 Output port
8.44
Figure 8.24 A banyan switch
8.45
Figure 8.25 Examples of routing in a banyan switch
8.46
Figure 8.26 Batcher-banyan switch

More Related Content

What's hot (20)

Ch13
Ch13Ch13
Ch13
Β 
Chapter 22
Chapter 22Chapter 22
Chapter 22
Β 
Ch14
Ch14Ch14
Ch14
Β 
22 Network Layer_Delivery_forwarding_and_Routing
22 Network Layer_Delivery_forwarding_and_Routing22 Network Layer_Delivery_forwarding_and_Routing
22 Network Layer_Delivery_forwarding_and_Routing
Β 
Ch19
Ch19Ch19
Ch19
Β 
Ch17
Ch17Ch17
Ch17
Β 
Chapter 21
Chapter 21Chapter 21
Chapter 21
Β 
Ch 14
Ch 14Ch 14
Ch 14
Β 
Ars msr 1-intradomain
Ars msr 1-intradomainArs msr 1-intradomain
Ars msr 1-intradomain
Β 
Chapter 8: Switching
Chapter 8: SwitchingChapter 8: Switching
Chapter 8: Switching
Β 
Ch23
Ch23Ch23
Ch23
Β 
Network switching
Network switchingNetwork switching
Network switching
Β 
Ch08
Ch08Ch08
Ch08
Β 
4c Address Mapping, Error Reporting and Multicasting
4c Address Mapping, Error Reporting and Multicasting4c Address Mapping, Error Reporting and Multicasting
4c Address Mapping, Error Reporting and Multicasting
Β 
Ch15
Ch15Ch15
Ch15
Β 
11 Data Link_Control
11 Data Link_Control11 Data Link_Control
11 Data Link_Control
Β 
Ppt 01 10
Ppt 01 10Ppt 01 10
Ppt 01 10
Β 
23 Process to_Process_Delivery_UDP_TCP_and_SCTP
23 Process to_Process_Delivery_UDP_TCP_and_SCTP23 Process to_Process_Delivery_UDP_TCP_and_SCTP
23 Process to_Process_Delivery_UDP_TCP_and_SCTP
Β 
Cs8591 Computer Networks
Cs8591 Computer NetworksCs8591 Computer Networks
Cs8591 Computer Networks
Β 
Ch18
Ch18Ch18
Ch18
Β 

Viewers also liked

Link State Protocol
Link State ProtocolLink State Protocol
Link State ProtocolJignesh Patel
Β 
IP adress and routing(networking)
IP adress and routing(networking)IP adress and routing(networking)
IP adress and routing(networking)welcometofacebook
Β 
Link state routing protocol
Link state routing protocolLink state routing protocol
Link state routing protocolAung Thu Rha Hein
Β 
Routers and Routing Configuration
Routers and Routing ConfigurationRouters and Routing Configuration
Routers and Routing Configurationyasir1122
Β 
Ppt of routing protocols
Ppt of routing protocolsPpt of routing protocols
Ppt of routing protocolsBhagyashri Dhoke
Β 

Viewers also liked (6)

Link State Protocol
Link State ProtocolLink State Protocol
Link State Protocol
Β 
Ch13
Ch13Ch13
Ch13
Β 
IP adress and routing(networking)
IP adress and routing(networking)IP adress and routing(networking)
IP adress and routing(networking)
Β 
Link state routing protocol
Link state routing protocolLink state routing protocol
Link state routing protocol
Β 
Routers and Routing Configuration
Routers and Routing ConfigurationRouters and Routing Configuration
Routers and Routing Configuration
Β 
Ppt of routing protocols
Ppt of routing protocolsPpt of routing protocols
Ppt of routing protocols
Β 

Similar to 08 Switching

heloo mzdnvnjbszdjgfjkhadsgvbxczvznxbvmcxv
heloo mzdnvnjbszdjgfjkhadsgvbxczvznxbvmcxvheloo mzdnvnjbszdjgfjkhadsgvbxczvznxbvmcxv
heloo mzdnvnjbszdjgfjkhadsgvbxczvznxbvmcxvJOHN35307
Β 
Data Communication and Computer Networks
Data Communication and Computer NetworksData Communication and Computer Networks
Data Communication and Computer Networksssusere481c4
Β 
08-Switching.ppt
08-Switching.ppt08-Switching.ppt
08-Switching.pptSanaMateen7
Β 
2b switching in networks
2b switching in networks2b switching in networks
2b switching in networkskavish dani
Β 
lecture2829atmframerelay-180429142508 (1).pptx
lecture2829atmframerelay-180429142508 (1).pptxlecture2829atmframerelay-180429142508 (1).pptx
lecture2829atmframerelay-180429142508 (1).pptxAMITKUMAR938671
Β 
Switching
SwitchingSwitching
SwitchingHala Kamal
Β 
VIRTUAL CIRCUIT NETWORKS, atm , frame relay
VIRTUAL CIRCUIT NETWORKS, atm , frame relayVIRTUAL CIRCUIT NETWORKS, atm , frame relay
VIRTUAL CIRCUIT NETWORKS, atm , frame relayAKSHIT KOHLI
Β 
RTB: BIDIRECTIONAL TRANSCEIVER (ESSCIRC85)
RTB: BIDIRECTIONAL TRANSCEIVER (ESSCIRC85)RTB: BIDIRECTIONAL TRANSCEIVER (ESSCIRC85)
RTB: BIDIRECTIONAL TRANSCEIVER (ESSCIRC85)Piero Belforte
Β 
Low Power Full Adder using 9T Structure
Low Power Full Adder using 9T StructureLow Power Full Adder using 9T Structure
Low Power Full Adder using 9T Structureidescitation
Β 
Chapter10 switching
Chapter10 switchingChapter10 switching
Chapter10 switchingSuneel Varma
Β 
Design of Quaternary Logical Circuit Using Voltage and Current Mode Logic
Design of Quaternary Logical Circuit Using Voltage and Current Mode LogicDesign of Quaternary Logical Circuit Using Voltage and Current Mode Logic
Design of Quaternary Logical Circuit Using Voltage and Current Mode LogicVLSICS Design
Β 

Similar to 08 Switching (20)

Ch8 Switching.pdf
Ch8 Switching.pdfCh8 Switching.pdf
Ch8 Switching.pdf
Β 
Lecture-8 Data Communication ~www.fida.com.bd
Lecture-8 Data Communication ~www.fida.com.bdLecture-8 Data Communication ~www.fida.com.bd
Lecture-8 Data Communication ~www.fida.com.bd
Β 
heloo mzdnvnjbszdjgfjkhadsgvbxczvznxbvmcxv
heloo mzdnvnjbszdjgfjkhadsgvbxczvznxbvmcxvheloo mzdnvnjbszdjgfjkhadsgvbxczvznxbvmcxv
heloo mzdnvnjbszdjgfjkhadsgvbxczvznxbvmcxv
Β 
Chapter 8
Chapter 8Chapter 8
Chapter 8
Β 
Data Communication and Computer Networks
Data Communication and Computer NetworksData Communication and Computer Networks
Data Communication and Computer Networks
Β 
08-Switching.ppt
08-Switching.ppt08-Switching.ppt
08-Switching.ppt
Β 
Swiching
SwichingSwiching
Swiching
Β 
Ch08
Ch08Ch08
Ch08
Β 
Unit_I - 5
Unit_I - 5Unit_I - 5
Unit_I - 5
Β 
Ch08
Ch08Ch08
Ch08
Β 
2b switching in networks
2b switching in networks2b switching in networks
2b switching in networks
Β 
lecture2829atmframerelay-180429142508 (1).pptx
lecture2829atmframerelay-180429142508 (1).pptxlecture2829atmframerelay-180429142508 (1).pptx
lecture2829atmframerelay-180429142508 (1).pptx
Β 
Switching
SwitchingSwitching
Switching
Β 
FCN Unit-I_PPT.pdf
FCN Unit-I_PPT.pdfFCN Unit-I_PPT.pdf
FCN Unit-I_PPT.pdf
Β 
VIRTUAL CIRCUIT NETWORKS, atm , frame relay
VIRTUAL CIRCUIT NETWORKS, atm , frame relayVIRTUAL CIRCUIT NETWORKS, atm , frame relay
VIRTUAL CIRCUIT NETWORKS, atm , frame relay
Β 
RTB: BIDIRECTIONAL TRANSCEIVER (ESSCIRC85)
RTB: BIDIRECTIONAL TRANSCEIVER (ESSCIRC85)RTB: BIDIRECTIONAL TRANSCEIVER (ESSCIRC85)
RTB: BIDIRECTIONAL TRANSCEIVER (ESSCIRC85)
Β 
Low Power Full Adder using 9T Structure
Low Power Full Adder using 9T StructureLow Power Full Adder using 9T Structure
Low Power Full Adder using 9T Structure
Β 
Ethernet
EthernetEthernet
Ethernet
Β 
Chapter10 switching
Chapter10 switchingChapter10 switching
Chapter10 switching
Β 
Design of Quaternary Logical Circuit Using Voltage and Current Mode Logic
Design of Quaternary Logical Circuit Using Voltage and Current Mode LogicDesign of Quaternary Logical Circuit Using Voltage and Current Mode Logic
Design of Quaternary Logical Circuit Using Voltage and Current Mode Logic
Β 

More from Ahmar Hashmi

32 Security in_Internet_IP_SEC_SSL/TLS_PGN_VPN_and_Firewalls
32 Security in_Internet_IP_SEC_SSL/TLS_PGN_VPN_and_Firewalls32 Security in_Internet_IP_SEC_SSL/TLS_PGN_VPN_and_Firewalls
32 Security in_Internet_IP_SEC_SSL/TLS_PGN_VPN_and_FirewallsAhmar Hashmi
Β 
31 Network Security
31 Network Security31 Network Security
31 Network SecurityAhmar Hashmi
Β 
30 Cryptography
30 Cryptography30 Cryptography
30 CryptographyAhmar Hashmi
Β 
29 Multimedia
29 Multimedia29 Multimedia
29 MultimediaAhmar Hashmi
Β 
28 Network Management_SNMP
28 Network Management_SNMP28 Network Management_SNMP
28 Network Management_SNMPAhmar Hashmi
Β 
27 WWW and_HTTP
27 WWW and_HTTP27 WWW and_HTTP
27 WWW and_HTTPAhmar Hashmi
Β 
26 Remote Logging_Electronic_Mail_and_File_Transfer
26 Remote Logging_Electronic_Mail_and_File_Transfer26 Remote Logging_Electronic_Mail_and_File_Transfer
26 Remote Logging_Electronic_Mail_and_File_TransferAhmar Hashmi
Β 
24 Congestion Control_and_Quality_of_Service
24 Congestion Control_and_Quality_of_Service24 Congestion Control_and_Quality_of_Service
24 Congestion Control_and_Quality_of_ServiceAhmar Hashmi
Β 
20 Network Layer_Internet_Protocol
20 Network Layer_Internet_Protocol20 Network Layer_Internet_Protocol
20 Network Layer_Internet_ProtocolAhmar Hashmi
Β 
19 Network Layer_Logical_Addressing
19 Network Layer_Logical_Addressing19 Network Layer_Logical_Addressing
19 Network Layer_Logical_AddressingAhmar Hashmi
Β 
18 Virtual Circuit_Networks_Frame_Relay_and_ATM
18 Virtual Circuit_Networks_Frame_Relay_and_ATM18 Virtual Circuit_Networks_Frame_Relay_and_ATM
18 Virtual Circuit_Networks_Frame_Relay_and_ATMAhmar Hashmi
Β 
17 SONET/SDH
17 SONET/SDH17 SONET/SDH
17 SONET/SDHAhmar Hashmi
Β 
16 Wireless WANs_Cellular_Telephone_and_Satellite_Networks
16 Wireless WANs_Cellular_Telephone_and_Satellite_Networks16 Wireless WANs_Cellular_Telephone_and_Satellite_Networks
16 Wireless WANs_Cellular_Telephone_and_Satellite_NetworksAhmar Hashmi
Β 
15 Connecting LANs_Backbone_Networks_and_Virtual_LAN
15 Connecting LANs_Backbone_Networks_and_Virtual_LAN15 Connecting LANs_Backbone_Networks_and_Virtual_LAN
15 Connecting LANs_Backbone_Networks_and_Virtual_LANAhmar Hashmi
Β 
14 Wireless LAN
14 Wireless LAN14 Wireless LAN
14 Wireless LANAhmar Hashmi
Β 
10 Error Detection_and_Correction
10 Error Detection_and_Correction10 Error Detection_and_Correction
10 Error Detection_and_CorrectionAhmar Hashmi
Β 
07 Transmission Media
07 Transmission Media07 Transmission Media
07 Transmission MediaAhmar Hashmi
Β 
06 Bandwidth Utilization_Multiplexing_and_Spreading
06 Bandwidth Utilization_Multiplexing_and_Spreading06 Bandwidth Utilization_Multiplexing_and_Spreading
06 Bandwidth Utilization_Multiplexing_and_SpreadingAhmar Hashmi
Β 
05 Analog Transmission
05 Analog Transmission05 Analog Transmission
05 Analog TransmissionAhmar Hashmi
Β 

More from Ahmar Hashmi (20)

32 Security in_Internet_IP_SEC_SSL/TLS_PGN_VPN_and_Firewalls
32 Security in_Internet_IP_SEC_SSL/TLS_PGN_VPN_and_Firewalls32 Security in_Internet_IP_SEC_SSL/TLS_PGN_VPN_and_Firewalls
32 Security in_Internet_IP_SEC_SSL/TLS_PGN_VPN_and_Firewalls
Β 
31 Network Security
31 Network Security31 Network Security
31 Network Security
Β 
30 Cryptography
30 Cryptography30 Cryptography
30 Cryptography
Β 
29 Multimedia
29 Multimedia29 Multimedia
29 Multimedia
Β 
28 Network Management_SNMP
28 Network Management_SNMP28 Network Management_SNMP
28 Network Management_SNMP
Β 
27 WWW and_HTTP
27 WWW and_HTTP27 WWW and_HTTP
27 WWW and_HTTP
Β 
26 Remote Logging_Electronic_Mail_and_File_Transfer
26 Remote Logging_Electronic_Mail_and_File_Transfer26 Remote Logging_Electronic_Mail_and_File_Transfer
26 Remote Logging_Electronic_Mail_and_File_Transfer
Β 
25 DNS
25 DNS25 DNS
25 DNS
Β 
24 Congestion Control_and_Quality_of_Service
24 Congestion Control_and_Quality_of_Service24 Congestion Control_and_Quality_of_Service
24 Congestion Control_and_Quality_of_Service
Β 
20 Network Layer_Internet_Protocol
20 Network Layer_Internet_Protocol20 Network Layer_Internet_Protocol
20 Network Layer_Internet_Protocol
Β 
19 Network Layer_Logical_Addressing
19 Network Layer_Logical_Addressing19 Network Layer_Logical_Addressing
19 Network Layer_Logical_Addressing
Β 
18 Virtual Circuit_Networks_Frame_Relay_and_ATM
18 Virtual Circuit_Networks_Frame_Relay_and_ATM18 Virtual Circuit_Networks_Frame_Relay_and_ATM
18 Virtual Circuit_Networks_Frame_Relay_and_ATM
Β 
17 SONET/SDH
17 SONET/SDH17 SONET/SDH
17 SONET/SDH
Β 
16 Wireless WANs_Cellular_Telephone_and_Satellite_Networks
16 Wireless WANs_Cellular_Telephone_and_Satellite_Networks16 Wireless WANs_Cellular_Telephone_and_Satellite_Networks
16 Wireless WANs_Cellular_Telephone_and_Satellite_Networks
Β 
15 Connecting LANs_Backbone_Networks_and_Virtual_LAN
15 Connecting LANs_Backbone_Networks_and_Virtual_LAN15 Connecting LANs_Backbone_Networks_and_Virtual_LAN
15 Connecting LANs_Backbone_Networks_and_Virtual_LAN
Β 
14 Wireless LAN
14 Wireless LAN14 Wireless LAN
14 Wireless LAN
Β 
10 Error Detection_and_Correction
10 Error Detection_and_Correction10 Error Detection_and_Correction
10 Error Detection_and_Correction
Β 
07 Transmission Media
07 Transmission Media07 Transmission Media
07 Transmission Media
Β 
06 Bandwidth Utilization_Multiplexing_and_Spreading
06 Bandwidth Utilization_Multiplexing_and_Spreading06 Bandwidth Utilization_Multiplexing_and_Spreading
06 Bandwidth Utilization_Multiplexing_and_Spreading
Β 
05 Analog Transmission
05 Analog Transmission05 Analog Transmission
05 Analog Transmission
Β 

Recently uploaded

A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
Β 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
Β 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
Β 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
Β 
call girls in Kamla Market (DELHI) πŸ” >ΰΌ’9953330565πŸ” genuine Escort Service πŸ”βœ”οΈβœ”οΈ
call girls in Kamla Market (DELHI) πŸ” >ΰΌ’9953330565πŸ” genuine Escort Service πŸ”βœ”οΈβœ”οΈcall girls in Kamla Market (DELHI) πŸ” >ΰΌ’9953330565πŸ” genuine Escort Service πŸ”βœ”οΈβœ”οΈ
call girls in Kamla Market (DELHI) πŸ” >ΰΌ’9953330565πŸ” genuine Escort Service πŸ”βœ”οΈβœ”οΈ9953056974 Low Rate Call Girls In Saket, Delhi NCR
Β 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)β€”β€”β€”β€”IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)β€”β€”β€”β€”IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)β€”β€”β€”β€”IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)β€”β€”β€”β€”IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
Β 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
Β 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
Β 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
Β 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
Β 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
Β 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
Β 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
Β 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
Β 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
Β 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
Β 

Recently uploaded (20)

A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
Β 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
Β 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
Β 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
Β 
call girls in Kamla Market (DELHI) πŸ” >ΰΌ’9953330565πŸ” genuine Escort Service πŸ”βœ”οΈβœ”οΈ
call girls in Kamla Market (DELHI) πŸ” >ΰΌ’9953330565πŸ” genuine Escort Service πŸ”βœ”οΈβœ”οΈcall girls in Kamla Market (DELHI) πŸ” >ΰΌ’9953330565πŸ” genuine Escort Service πŸ”βœ”οΈβœ”οΈ
call girls in Kamla Market (DELHI) πŸ” >ΰΌ’9953330565πŸ” genuine Escort Service πŸ”βœ”οΈβœ”οΈ
Β 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)β€”β€”β€”β€”IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)β€”β€”β€”β€”IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)β€”β€”β€”β€”IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)β€”β€”β€”β€”IMP.OF KSHARA ...
Β 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
Β 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
Β 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
Β 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Β 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
Β 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
Β 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
Β 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
Β 
Model Call Girl in Bikash Puri Delhi reach out to us at πŸ”9953056974πŸ”
Model Call Girl in Bikash Puri  Delhi reach out to us at πŸ”9953056974πŸ”Model Call Girl in Bikash Puri  Delhi reach out to us at πŸ”9953056974πŸ”
Model Call Girl in Bikash Puri Delhi reach out to us at πŸ”9953056974πŸ”
Β 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
Β 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
Β 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
Β 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
Β 
Model Call Girl in Tilak Nagar Delhi reach out to us at πŸ”9953056974πŸ”
Model Call Girl in Tilak Nagar Delhi reach out to us at πŸ”9953056974πŸ”Model Call Girl in Tilak Nagar Delhi reach out to us at πŸ”9953056974πŸ”
Model Call Girl in Tilak Nagar Delhi reach out to us at πŸ”9953056974πŸ”
Β 

08 Switching

  • 1. 8.1 Chapter 8 Switching Copyright Β© The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
  • 3. 8.3 Figure 8.2 Taxonomy of switched networks
  • 4. 8.4 8-1 CIRCUIT-SWITCHED NETWORKS8-1 CIRCUIT-SWITCHED NETWORKS A circuit-switched network consists of a set of switchesA circuit-switched network consists of a set of switches connected by physical links. A connection between twoconnected by physical links. A connection between two stations is a dedicated path made of one or more links.stations is a dedicated path made of one or more links. However, each connection uses only one dedicatedHowever, each connection uses only one dedicated channel on each link. Each link is normally dividedchannel on each link. Each link is normally divided into n channels by using FDM or TDM.into n channels by using FDM or TDM. Three Phases Efficiency Delay Circuit-Switched Technology in Telephone Networks Topics discussed in this section:Topics discussed in this section:
  • 5. 8.5 A circuit-switched network is made of a set of switches connected by physical links, in which each link is divided into n channels. Note
  • 6. 8.6 Figure 8.3 A trivial circuit-switched network
  • 7. 8.7 In circuit switching, the resources need to be reserved during the setup phase; the resources remain dedicated for the entire duration of data transfer until the teardown phase. Note
  • 8. 8.8 As a trivial example, let us use a circuit-switched network to connect eight telephones in a small area. Communication is through 4-kHz voice channels. We assume that each link uses FDM to connect a maximum of two voice channels. The bandwidth of each link is then 8 kHz. Figure 8.4 shows the situation. Telephone 1 is connected to telephone 7; 2 to 5; 3 to 8; and 4 to 6. Of course the situation may change when new connections are made. The switch controls the connections. Example 8.1
  • 9. 8.9 Figure 8.4 Circuit-switched network used in Example 8.1
  • 10. 8.10 As another example, consider a circuit-switched network that connects computers in two remote offices of a private company. The offices are connected using a T-1 line leased from a communication service provider. There are two 4 Γ— 8 (4 inputs and 8 outputs) switches in this network. For each switch, four output ports are folded into the input ports to allow communication between computers in the same office. Four other output ports allow communication between the two offices. Figure 8.5 shows the situation. Example 8.2
  • 11. 8.11 Figure 8.5 Circuit-switched network used in Example 8.2
  • 12. 8.12 Figure 8.6 Delay in a circuit-switched network
  • 13. 8.13 Switching at the physical layer in the traditional telephone network uses the circuit-switching approach. Note
  • 14. 8.14 8-2 DATAGRAM NETWORKS8-2 DATAGRAM NETWORKS In data communications, we need to send messagesIn data communications, we need to send messages from one end system to another. If the message isfrom one end system to another. If the message is going to pass through a packet-switched network, itgoing to pass through a packet-switched network, it needs to be divided into packets of fixed or variableneeds to be divided into packets of fixed or variable size. The size of the packet is determined by thesize. The size of the packet is determined by the network and the governing protocol.network and the governing protocol. Routing Table Efficiency Delay Datagram Networks in the Internet Topics discussed in this section:Topics discussed in this section:
  • 15. 8.15 In a packet-switched network, there is no resource reservation; resources are allocated on demand. Note
  • 16. 8.16 Figure 8.7 A datagram network with four switches (routers)
  • 17. 8.17 Figure 8.8 Routing table in a datagram network
  • 18. 8.18 A switch in a datagram network uses a routing table that is based on the destination address. Note
  • 19. 8.19 The destination address in the header of a packet in a datagram network remains the same during the entire journey of the packet. Note
  • 20. 8.20 Figure 8.9 Delay in a datagram network
  • 21. 8.21 Switching in the Internet is done by using the datagram approach to packet switching at the network layer. Note
  • 22. 8.22 8-3 VIRTUAL-CIRCUIT NETWORKS8-3 VIRTUAL-CIRCUIT NETWORKS A virtual-circuit network is a cross between a circuit-A virtual-circuit network is a cross between a circuit- switched network and a datagram network. It hasswitched network and a datagram network. It has some characteristics of both.some characteristics of both. Addressing Three Phases Efficiency Delay Circuit-Switched Technology in WANs Topics discussed in this section:Topics discussed in this section:
  • 25. 8.25 Figure 8.12 Switch and tables in a virtual-circuit network
  • 26. 8.26 Figure 8.13 Source-to-destination data transfer in a virtual-circuit network
  • 27. 8.27 Figure 8.14 Setup request in a virtual-circuit network
  • 28. 8.28 Figure 8.15 Setup acknowledgment in a virtual-circuit network
  • 29. 8.29 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. Note
  • 30. 8.30 Figure 8.16 Delay in a virtual-circuit network
  • 31. 8.31 Switching at the data link layer in a switched WAN is normally implemented by using virtual-circuit techniques. Note
  • 32. 8.32 8-4 STRUCTURE OF A SWITCH8-4 STRUCTURE OF A SWITCH We use switches in circuit-switched and packet-We use switches in circuit-switched and packet- switched networks. In this section, we discuss theswitched networks. In this section, we discuss the structures of the switches used in each type ofstructures of the switches used in each type of network.network. Structure of Circuit Switches Structure of Packet Switches Topics discussed in this section:Topics discussed in this section:
  • 33. 8.33 Figure 8.17 Crossbar switch with three inputs and four outputs
  • 35. 8.35 In a three-stage switch, the total number of crosspoints is 2kN + k(N/n)2 which is much smaller than the number of crosspoints in a single-stage switch (N2 ). Note
  • 36. 8.36 Design a three-stage, 200 Γ— 200 switch (N = 200) with k = 4 and n = 20. Solution In the first stage we have N/n or 10 crossbars, each of size 20 Γ— 4. In the second stage, we have 4 crossbars, each of size 10 Γ— 10. In the third stage, we have 10 crossbars, each of size 4 Γ— 20. The total number of crosspoints is 2kN + k(N/n)2 , or 2000 crosspoints. This is 5 percent of the number of crosspoints in a single-stage switch (200 Γ— 200 = 40,000). Example 8.3
  • 37. 8.37 According to the Clos criterion: n = (N/2)1/2 k > 2n – 1 Crosspoints β‰₯ 4N [(2N)1/2 – 1] Note
  • 38. 8.38 Redesign the previous three-stage, 200 Γ— 200 switch, using the Clos criteria with a minimum number of crosspoints. Solution We let n = (200/2)1/2 , or n = 10. We calculate k = 2n 1 =βˆ’ 19. In the first stage, we have 200/10, or 20, crossbars, each with 10 Γ— 19 crosspoints. In the second stage, we have 19 crossbars, each with 10 Γ— 10 crosspoints. In the third stage, we have 20 crossbars each with 19 Γ— 10 crosspoints. The total number of crosspoints is 20(10 Γ— 19) + 19(10 Γ— 10) + 20(19 Γ—10) = 9500. Example 8.4
  • 41. 8.41 Figure 8.21 Packet switch components
  • 44. 8.44 Figure 8.24 A banyan switch
  • 45. 8.45 Figure 8.25 Examples of routing in a banyan switch