Definition: What is a switch?
A switch is an active network device for data communication that connects multiple network devices within a local area network. It receives data packets on one port and forwards them specifically to the port where the addressed recipient is located.
Forwarding typically takes place based on the MAC address of the connected devices. Switches store these addresses in an internal table, allowing them to control traffic efficiently. Unlike older network devices such as hubs, a switch does not broadcast data to all participants, but only to the intended recipient.
Switches are now a central component of almost every network structure—from home networks to large data centers.
Synonyms / related terms:
Features: What characterizes a switch?
Important metrics / key data
Functionality: How does a switch work?
A switch processes network data in several steps.
Areas of application: Where is a switch used?
Switches are used in nearly all network environments:
Differences from similar technologies
| Feature | Switch | Hub |
|---|---|---|
| Data forwarding | targeted to the correct port | to all ports at the same time |
| Efficiency | high network efficiency | low efficiency |
| Bandwidth | dedicated per port | shared |
| Duplex operation | usually full-duplex | usually half-duplex |
| Intelligence | processes MAC addresses | no address processing |
| Typical use | modern LAN networks | largely obsolete today |
Deep Dives: a topic examined holistically
Switches work with so-called MAC address tables. As soon as a device sends data, the switch remembers the port through which this MAC address can be reached. This allows future data transmissions to be directed straight to the destination device.
Although switches forward data selectively, they still support broadcast and multicast communication. Broadcast messages are distributed to all ports, for example in network protocols used for device discovery.
An unmanaged switch works automatically without configuration and is suitable for simple networks. Managed switches offer additional functions such as VLAN configuration, network monitoring, traffic prioritization, or security policies.
In industrial or military applications, more robustly designed switches are often used. These devices are built for extreme temperatures, vibration, or electromagnetic interference and ensure stable network communication even under harsh conditions.
Advantages and disadvantages
Advantages
Disadvantages
Examples from practice
Related Terms