CH 08
CH 08
Switching
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 8: Outline
8.1 INTRODUCTION
8.3 PACKET-SWITCHING
8.4
Figure 8.1: Switched network
8.5
8.8.1 Three Methods of Switching
8.6
8.8.2 Switching and TCP/IP Layers
8.7
Figure 8.2: Taxonomy of switched networks
8.8
8-2 CIRCUIT-SWITCHED NETWORKS
8.9
Figure 8.3: A trivial circuit-switched network
8.10
Example 8.1
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.
8.11
Example 8.2
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.
8.12
Figure 8.4: Circuit-switched network used in Example 8.1
8.13
8.2.1 Three Phases
8.14
Figure 8.5: Circuit-switched network used in Example 8.2
8.15
8.2.2 Efficiency
8.16
8.2.3 Delay
8.17
Figure 8.6: Delay in a circuit-switched network
Data transfer
8.18
8-3 PACKET SWITCHING
8.19
8.3.1 Datagram Networks
8.20
Figure 8.7: A Datagram network with four switches (routers)
3 1
4 3 2 1
4
1
2 3
1
4
2 2 3 4 1
8.21
Figure 8.8: Routing table in a datagram network
8.22
Figure 8.9: Delays in a datagram network
8.23
8.3.2 Virtual-Circuit Networks
8.24
Figure 8.10: Virtual-circuit network
8.25
Figure 8.11: Virtual-circuit identifier
8.26
Figure 8.12: Switch and table for a virtual-circuit network
8.27
Figure 8.13: Source-to-destination data transfer in a circuit-switch
network
8.28
Figure 8.14: Setup request in a virtual-circuit network
8.29
Figure 8.15: Setup acknowledgment in a virtual-circuit network
8.30
Figure 8.16: Delay in a virtual-circuit network
8.31
8-4 STRUCTURE OF A SWITCH
8.32
8.4.1 Structure of Circuit Switches
8.33
Figure 8.17: Crossbar switch with three inputs and four outputs
8.34
Figure 8.18: Multistage switch
8.35
Example 8.3
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
8.37
Figure 8.19: Time-slot interchange
8.38
Figure 8.20: Time-space-time switch
8.39
8.4.2 Structure of Packet Switches
8.40
Figure 8.21: Packet switch components
8.41
Figure 8.22: Input port
8.42
Figure 8.23: Output port
8.43
Figure 8.24: A banyan switch
8.44
Figure 8.25: Example of routing in a banyan switch (Part a)
8.45
Figure 8.25: Example of routing in a banyan switch (Part b)
8.46
Figure 8.26: Batcher-banyan switch
8.47