- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
What is Switches?
An n1 x n2 switch consists of n1 input ports, n2 output ports, links connecting each input to every output, control logic to select a specific connection, and internal buffers.
A switch is used to establish connections from the input ports to the output ports. These connections may be one-to-one, which represents point-to-point connections, or one-to-many, which represents multicast or broadcast. The case of many-to-one should cause conflicts at the output ports and therefore needs arbitration to resolve conflicts if allowed. When only one-to-one connections are allowed, the switch is called a crossbar. An n x n crossbar switch can establish n! Connections.
It can allow only one-to-one connections, the first input port should have n choices of output ports, the second input port will have (n - 1) choices, the third input port will have (n - 2) choices, and so on. Thus, the number of one-to-one connections is n * (n - 1) * (n - 2) * 2 * 1 = n!.
Routing can be achieved using two mechanisms such as source-path and table-based. In the source path, the entire path to the destination is stored in the packet header at the source location. When a packet enters the switch, the outgoing port is determined from the header. Used routing data is stripped from the header and routing information for the next switch is now in the front.
In table-based routing, the switch must have a complete routing table that determines the corresponding port for each destination. When a packet enters the switch, a table lookup will determine the outgoing port.
The figure shows the difference between source-path routing and table-based routing in the case when a packet enters an 8-port switch at port 0. In the source-path case, the header contains the entire path and the next port is port 6. In the table-based case, the destination address dest-id is looked up in the routing table and port 6 is followed.
- Related Articles
- What are Switches in Computer Network?
- Electrical switches are made ofnylonbakelitepolythenemelamine
- What is the purpose of using an electric switch? Name some electrical gadgets that have switches built into them.
- Assembly program to transfer the status of switches
- 8085 program to change states LEDs according to input switches.
- Which of the following plastics is used for making electric switches?A. Teflon B. melamine C. PET D. Bakelite
- Explain why the following are made of thermosetting plastics :Saucepan handlesElectric plugs/switches/plug boards.
- Program to count number of switches that will be on after flipping by n persons in python
- Explain why the following are made of thermosetting plastics.(a) Saucepan handles(b) Electric plugs/switches/plugboards
- Which of the following can be recycled?(a) Plastic bowls(b) Ballpoint pens(c) Telephone instruments(d) Electrical switches
- PVC (polyvinyl chloride) is a thermoplastic and is used for making toys, chappals, etc. Bakelite is a thermosetting plastic and is used for making electrical switches, handles of various utensils, etc. Can you write the major difference between these two types of plastics?
- What is motion? What is rest?
- 1). What is additive identity?2). What is Reciprocal?3). What is multiplicative inverse?
- What is “Rangoli’ and what is its significance?
- What is an orbit? What is its shape?
