A switch helps computers talk. 

A switch helps many machines talk. 

A network switch is a tool that connects devices. 
A switch is very smart. It uses MAC addresses to send data. A MAC address is a special name for a device. The switch learns these names. It keeps them in a table. When data arrives, the switch looks at the name. It only sends the data to the right port. 
Some switches are very large. They can be put in a rack. 
A network switch is a smart piece of hardware used to connect devices on a computer network. 

To work, the switch follows a very specific way of moving data. Every device on a network has a unique identifier called a MAC address. The switch learns these addresses as devices connect to its ports. It stores this information in a special table, sometimes called a CAM table. When a packet arrives, the switch looks at the destination address in the packet header. Instead of sending the data to everyone, it only forwards it to the specific port where that device is plugged in. 
The history of this technology began in the early 1980s. An engineer named Mark Kempf invented the first MAC bridge in 1983. He worked for a company called Digital Equipment Corporation, or DEC. Shortly after, DEC released a product called the LANBridge 100. Later, the company made other switches like the GigaSwitch. DEC even shared its patents so other companies could help make the technology a standard. This allowed companies like Kalpana to start making their own multi-port switches too.
Switches come in many different shapes and sizes for different jobs. You might see a small desktop unit in a home or a small office. 

You can think of a network switch as a high-tech mail sorting center. In a regular post office, a worker looks at the address on an envelope. They do not give that letter to every single house in the city. Instead, they send it directly to the one house it belongs to. A switch does the exact same thing with digital data packets. It keeps the "roads" of the network clear so information does not crash into other information. This makes sure your internet and local connections stay fast and reliable.
A network switch is a critical piece of hardware used to connect devices within a computer network. 

The mechanism of a switch relies on its ability to intelligently direct traffic. Unlike an Ethernet hub, which broadcasts data to every connected device, a switch learns the unique MAC addresses of all connected hardware. It stores these addresses in a specialized table, often called a CAM table, which uses high-speed content-addressable memory. When a data packet arrives, the switch examines the Ethernet header to find the destination address. It then forwards that packet only to the specific port connected to the intended recipient. This creates a separate collision domain for each port, meaning devices can send and receive data simultaneously without interference. 
Switches can be categorized by how they handle data across different layers of the OSI model. A standard layer-2 switch focuses on bridging within a single technology. However, some advanced devices are known as multilayer switches or layer-3 switches. These devices incorporate routing functionality, allowing them to forward data at the network layer as well. This capability makes it much easier to interconnect different types of networks, such as Ethernet and Token Ring. By operating at higher layers, these switches can manage more complex communication tasks across diverse systems.
The history of switching technology began with the invention of the first MAC bridge in 1983. This was achieved by Mark Kempf, an engineer at Digital Equipment Corporation (DEC). Shortly after, DEC introduced the LANBridge 100, which was the first two-port bridge product. The company later developed multi-port switches like the GigaSwitch for Ethernet and FDDI. Because DEC chose to license its patents on a royalty-free, non-discriminatory basis, the technology became an industry standard. This decision allowed other companies, such as Kalpana, to develop their own multi-port switches. Kalpana later introduced the seven-port EtherSwitch in 1989 and 1990.
Modern switches are designed in various form factors to suit different environments. Small office or home office (SOHO) users often use small desktop units or residential gateways. 

Connectivity is often enhanced through the use of pluggable modules. These modules, such as Small Form-factor Pluggable (SFP) modules, allow a switch to connect to different physical media like fiber optic cables. The technology has evolved through many stages, including XENPAK, XFP, and newer versions like QSFP and OSFP. A recent development is Co-packaged optics (CPO), which brings transceivers closer to the switching chip. This advancement helps reduce power consumption and makes it easier to use water cooling. Some switches even allow for the addition of specialized modules for security, such as firewalls or network intrusion detection systems.
Switches play a vital role in the hierarchical architecture of the internet and local area networks (LANs). They are used at the edge of a network to connect hosts, and deeper in the network to link other switches together. To prevent errors, the Spanning Tree Protocol (STP) is often used to regulate interconnects between switches. STP disables certain links to ensure the network remains a tree structure without dangerous switching loops. While STP is common, alternatives like Shortest Path Bridging and TRILL allow for multiple active paths. Through these complex systems, switches ensure that modern digital communication remains fast, organized, and reliable.
🖼️ Images & Media (6)
More to explore
✨ What else?
Related topics you might enjoy
🔬 Go deeper
More advanced topics to explore
What is Nepedia?
A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.