Switching

You might also like

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 10

Click to edit Master title style

Switching
Switched Network

1
Click to
What is edit Master title style
Switching????

• Switching in computer network helps in deciding the best route for data transmission if there are multiple paths in a larger
network.
• We can call it as one-to-one connection.
Switching :A device capable of creating temporary connections between two devices.
Or
A device which connects multiple connection lines together.

2 2
Click we
Why to edit
needMaster title style
Switching??
• A network is a set of connected-devices.
• • Problem: Whenever we have multiple-devices, we have the problem of how to connect them to make one-to-one
communication possible.
• • Solution: Use Switching.
• • Switches are devices capable of creating temporary connections between two or more devices.
• A switched-network consists of a series of interlinked-nodes, called switches.
• • In a switched-network,
• 1) Some nodes are connected to the end-systems (For example: PC or TP). 2) Some nodes are used
• only for routing.
• Ex :1) The end-systems are labelled A, B, C, D, and so on.
• 2) The switches are labelled I, II, III, IV, and V.
• Each switch is connected to multiple links.

3 3
Click toMethods
Three edit Master title style
of Switching

• • Three methods of Switching are (Figure 8.2):


• 1) Circuit Switching
• 2) Packet Switching and
• 3) Message Switching.
• • The first two are commonly used today.
• • The third has been phased out in general communications.
• • Packet switching can further be divided into two subcategories—
virtual circuit approach and datagram approach

4 4
Click to edit Master title style

CIRCUIT
SWITCHING

5
Click to
What edit Master
is CIRCUIT title style
SWITCHING??
• Before data transfer, connection will be established first.
• Telephone system network is one of the example of Circuit switching.
• A dedicated path is established between the sender and receiver.
• A circuit-switched-network consists of a set of switches connected by physical-links (Figure 8.3).
• • A connection between 2 stations is a dedicated-path made of one or more links
• Normally, each link is divided into „n‟ channels by using FDM or TDM.
• 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.

6 6
Click toare
There edit Master in
3 phases title style SWITCHING:
CIRCUIT

• Connection establishment
• Data transfer
• Connection Disconnection(Connection teardown)

7 7
Click
1. to edit Master
Connection title style
Establishment

Before the 2 parties can communicate, a dedicated-circuit needs to be established.


Normally, the end-systems are connected through dedicated-lines to the switches.
So, connection-setup means creating dedicated-channels between the switches.
For ex: Assume system-A needs to connect to system-M. For this, following events
occur:
i) System-A sends a setup-request to switch-I.
ii) Switch-I finds a channel between itself and switch-IV that can be dedicated for this purpose.
iii) Switch-I then sends the request to switch-IV, which finds a dedicated-channel between
itself and switch-III.
iv) Switch-III informs system-M of system-A's intention at this time.
v) Finally, an acknowledgment from system-M needs to be sent in the opposite direction to
8 8
system-A.
Click
2. to Transfer
Data edit Master title style

After the establishment ofthe dedicated circuit (channels), the two


parties can transfer data.

9 9
Click
3. to edit Master
Connection title style
Teardown
When one of the parties needs to disconnect, a signal is sent to each switch to release the resources.

Efficiency
Circuit-switched-networks are inefficient when compared to other two types of networks because

1)Resources are allocated during the entire duration of the connection.


2) These resources are unavailable to other connections .

Delay Circuit-switched-networks have minimum delay when compared to other two types of networks

As in the above figure, there is no waiting time at each switch.


The total delay is the time needed to
1) Create the connection 2) Transfer-data and
3) Disconnect the circuit.

1010

You might also like