Chapter 08 Switching
Chapter 08 Switching
Switching
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 8: Outline
8.1 INTRODUCTION
8.3 PACKET-SWITCHING
8.3
Figure 8.1: Switched network
8.4
8.8.1 Three Methods of Switching
•circuit switching
•packet switching
8.5
8.8.1 Three Methods of Switching
8.6
Figure 8.2: Taxonomy of switched networks
8.7
8.8.1 Three Methods of Switching
8.8
8-2 CIRCUIT-SWITCHED NETWORKS
8.9
8-2 CIRCUIT-SWITCHED NETWORKS
8.10
Figure 8.3: A trivial circuit-switched network
8.11
Figure 8.4: Circuit-switched network used in Example 8.1
8.12
Figure 8.5: Circuit-switched network used in Example 8.2
8.13
8.2.1 Three Phases
8.14
8.2.2 Efficiency
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 PACKET SWITCHING
8.20
8.3.1 Datagram Networks
8.21
8.3.1 Datagram Networks
8.22
8.3.1 Datagram Networks
8.23
Figure 8.7: A Datagram network with four 3-level switches
(routers)
3 1
4 3 2 1
4
1
2 3
1
4
2 2 3 4 1
8.24
8.3.1 Datagram Networks (Routing Table)
8.25
8.3.1 Datagram Networks (Routing Table)
8.26
8.3.1 Datagram Networks (Routing Table)
8.27
8.3.1 Datagram Networks (Routing Table)
8.28
Figure 8.8: Routing table in a datagram network
8.29
Figure 8.9: Delays in a datagram network (compare to next
slide)
8.30
Figure 8.9: Delays in a datagram network (compare to next
slide)
8.31
Figure 8.6: Compare the datagram network to the circuit-
switched network
Data transfer
8.32
8.3.2 Virtual-Circuit Networks
8.33
8.3.2 Virtual-Circuit Networks
8.34
8.3.2 Virtual-Circuit Networks
8.35
Figure 8.10: Virtual-circuit network
8.36
8.3.2 Virtual-Circuit Networks
8.37
Figure 8.11: Virtual-circuit identifier (compare the VCI to a
Datagram destination address)
8.38
8.3.2 Virtual-Circuit Networks
8.39
Figure 8.12: Switch and table for a virtual-circuit network
8.40
Figure 8.13: Source-to-destination data transfer in a circuit-switch
network
8.41
Virtual Circuit Networks
8.42
Virtual Circuit Networks
8.43
Figure 8.14: Setup request in a virtual-circuit network
All nodes have a VCI
8.44
Figure 8.15: Setup acknowledgment in a virtual-circuit
network
8.45
Figure 8.16: Delay in a virtual-circuit network
8.46
8-4 STRUCTURE OF A SWITCH
8.47
8-4 STRUCTURE OF A SWITCH
1. Space division
2. Time division
8.48
8-4 STRUCTURE OF A SWITCH
1. Space division
•Crossbar switch
•Multistage crossbar switch
8.49
8-4 STRUCTURE OF A SWITCH
8.50
Figure 8.17: Crossbar switch with three inputs and four
outputs
8.51
Figure 8.18: Multistage switch
8.52
Example 8.3
Design a three-stage, 200 × 200 switch (N = 200) with k =
4 and n = 20. Compute the number of crosspoints.
8.53
Example 8.3
Design a three-stage, 200 × 200 switch (N = 200) with k =
4 and n = 20. Compute the number of crosspoints.
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.56
Clos criteria
n = sqrt(N/2)
k >= 2n – 1
Example 8.4
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 20 × 20 crosspoints. In the
third stage, we have 20 crossbars each with 19 × 10
crosspoints. The total number of crosspoints is 2(20(10 ×
19)) + 19(20 × 20) = 15200.
8.58
Figure 8.19: Time-slot interchange
8.59
Figure 8.20: Time-space-time switch
8.60
8.4.2 Structure of Packet Switches
• Input ports
• Output ports
• Switching fabric
• Routing processor
8.61
Figure 8.21: Packet switch components
8.62
Banyan Switch
n = 2^k ports
log2(n) stages
n/2 binary switches at each stage
number of binary switches =
n/2*log2(n)
number of crosspoints = 2*n*log2(n)
Figure 8.24: A banyan switch
8.64
Figure 8.25: Example of routing in a banyan switch
(Part b)
8.65
Figure 8.25: Example of routing in a banyan switch
(Part b)
8.66