What are Switches in Computer Network?
Switches are networking devices operating at layer 2 or a data link layer of the OSI model. They connect devices in a network and use packet switching to send, receive or forward data packets or data frames over the network.
A switch has many ports, to which computers are plugged in. When a data frame arrives at any port of a network switch, it examines the destination address, performs necessary checks and sends the frame to the corresponding device(s).It supports unicast, multicast as well as broadcast communications.
Features of Switches
-
A switch operates in the layer 2, i.e. data link layer of the OSI model.
-
It is an intelligent network device that can be conceived as a multiport network bridge.
-
It uses MAC addresses (addresses of medium access control sublayer) to send data packets to selected destination ports.
-
It uses packet switching technique to receive and forward data packets from the source to the destination device.
-
It is supports unicast (one-to-one), multicast (one-to-many) and broadcast
(one-to-all) communications. -
Transmission mode is full duplex, i.e. communication in the channel occurs in both the directions at the same time. Due to this, collisions do not occur.
-
Switches are active devices, equipped with network software and network management capabilities.
-
Switches can perform some error checking before forwarding data to the destined port.
-
The number of ports is higher – 24/48.
Types of Switches
There are variety of switches that can be broadly categorised into 4 types −
-
Unmanaged Switch − These are inexpensive switches commonly used in home networks and small businesses. They can be set up by simply plugging in to the network, after which they instantly start operating. When more devices needs to be added, more switches are simply added by this plug and play method. They are referred to as u managed since they do not require to be configured or monitored.
-
Managed Switch − These are costly switches that are used in organisations with large and complex networks, since they can be customized to augment the functionalities of a standard switch. The augmented features may be QoS (Quality of Service) like higher security levels, better precision control and complete network management. Despite their cost, they are preferred in growing organizations due to their scalability and flexibility. Simple Network Management Protocol (SNMP) is used for configuring managed switches.
-
LAN Switch − Local Area Network (LAN) switches connects devices in the internal LAN of an organization. They are also referred as Ethernet switches or data switches. These switches are particularly helpful in reducing network congestion or bottlenecks. They allocate bandwidth in a manner so that there is no overlapping of data packets in a network.
-
PoE Switch − Power over Ethernet (PoE) switches are used in PoE Gogabit Ethernets. PoE technology combine data and power transmission over the same cable so that devices connected to it can receive both electricity as well as data over the same line. PoE switches offer greater flexibility and simplifies the cabling connections