Safekipedia

Network switch

Adapted from Wikipedia · Discoverer experience

A 5 Port Gigabit Network Switch - a small device that helps connect computers and other devices to the internet.

A network switch is a special kind of networking hardware that helps connect different devices, like computers and printers, on a computer network. It works by using a process called packet switching to send information quickly and directly to the right device.

Avaya ERS 2550T-PWR, a 50-port Ethernet switch

A network switch has many ports where you can plug in devices. It uses special numbers called MAC addresses to learn which device is connected to each port. This way, it can send information only to the device that needs it, instead of sending it everywhere. This makes the network faster and more efficient.

The first device like this, called a MAC Bridge, was invented in 1983 by an engineer named Mark Kempf who worked at Digital Equipment Corporation. Since then, many companies have made switches that help networks work better. Unlike older devices called repeater hubs that send everything to every device, a network switch makes sure information goes only where it is needed. Switches are very common today and are important for keeping our networks running smoothly.

Overview

A switch is a device in a computer network that connects other devices together. Multiple data cables are plugged into a switch to help devices talk to each other. Switches are smarter than devices called hubs because they can send information only to the right device, making the network faster and more secure.

An Ethernet switch works at a special level called the data link layer to make sure that when one device sends information, it does not mix up with information from other devices. This helps computers share the network without getting in each other's way. Switches are important in most modern networks, whether in big offices or small home setups. Many switches can also use special parts to connect to different types of cables, such as fiber optic cables.

Role in a network

Switches are used to connect devices on a computer network. They are often placed at the edge of a network to link computers and other devices together. In larger networks, switches can also connect to other switches deeper inside the network.

Switches can have different types of connections, such as Ethernet, to work with many kinds of networks. Some switches can also help connect different kinds of networks by using extra features. They can also support special tools for checking network safety and performance. Modern switches can even provide power to devices like phones or wireless points, so those devices do not need their own power supply.

In the late 1980s, the first multiport Ethernet switch was introduced by Kalpana.

Bridging

Modern network switches mainly use Ethernet connections. Their main job is to connect many devices by using something called layer-2 bridging. They can also work with information from other layers.

A device that works at layer 2 uses special addresses called MAC addresses to send data to the right place. It learns these addresses and keeps a list to know which device is connected to which port.

A modular network switch with three network modules (a total of 36 Ethernet ports) and one power supply

Bridges can also change the speed of data to match the speeds of different devices. Some fast switches can start sending data before they’ve even finished receiving it, which makes things quicker.

Links between switches follow rules set by the Spanning Tree Protocol to avoid loops. Other methods like Shortest path bridging and TRILL let multiple paths be used at the same time.

Types

A rack-mounted 24-port 3Com switch

Form factors

A ZyXEL ES-105A 5-port desktop Ethernet switch. The metal casing of the switch has been opened, revealing internal electronic components.

Switches come in many shapes and sizes. You can find them as small desktop units for use at home or in an office, larger rack-mounted switches for use inside special equipment cabinets, and even special versions for industrial settings. Some switches can be stacked together for bigger networks.

Configuration options

A couple of managed D-Link Gigabit Ethernet rackmount switches, connected to the Ethernet ports on a few patch panels using Category 6 patch cables (all installed in a standard 19-inch rack)
  • Unmanaged switches are the simplest type. You just plug them in and they work right away. They are usually the cheapest and are often used in small offices or homes. They can be desktop or rack mounted.
  • Managed switches have extra features that let you change how they work. You can control them using special commands, a web browser, or remote management tools.
  • Smart switches are a middle option. They have some management features, usually through a web browser, but not as many as full managed switches.
  • Enterprise managed switches have the most features and are used in bigger networks where you need to manage many switches together. They are more expensive but offer the most control.

Typical management features

These features help control and monitor the switch, such as turning ports on or off, setting up better connections, and keeping track of network health.

Traffic monitoring

It can be hard to watch the data moving through a network switch because only the ports sending or receiving the data can see it.

There are special ways to help watch this data. One way is called port mirroring, where the switch sends copies of the data from one port to another special port so we can see it. There are also other methods like RMON and sFlow, but these are not usually found on simple home switches. Sometimes people use a special device called a network tap to watch the data instead.

Images

A Cisco SG300-28 28-port Gigabit Ethernet rackmount network switch, shown on top of its original packaging.
Inside view of a Cisco SG300-28 network switch showing its electronic components and circuitry.

Related articles

This article is a child-friendly adaptation of the Wikipedia article on Network switch, available under CC BY-SA 4.0.

Images from Wikimedia Commons. Tap any image to view credits and license.