Network Switches: What Are They and How Do They Work?

Written by Coursera Staff • Updated on

Network switches are an important part of networking hardware. Discover how network switches create the foundations for enterprise computer networking.

[Featured Image] Six employees work at their computers and workstations thanks to an effective network switch that allows them to connect to the local area network seamlessly.

Key takeaways

  • A network switch is a hardware component that devices in local area networks use to connect with other devices.

  • In a network, switches optimize bandwidth by connecting devices and reducing network congestion.

  • Network switches work by identifying where to send data packets by detecting the MAC address unique to each device and specifying which port to send it to.

The different types of switches in networking include managed, unmanaged, smart, and PoE switches. Continue reading to learn more about network switches and how to choose between the different types of switches.

If you’re ready to get your start, earn a Google IT Professional Certificate, where you will have the opportunity to build job-ready skills within three to six months in areas such as network troubleshooting, network security, IT security architecture, software management, version control, and more.

What is a network switch, and what do network switches do?

A network switch is a networking hardware component that connects devices in a local area network (LAN). It is sometimes called an Ethernet or LAN switch. Network switches route data packets, which are individually organized pieces of information, to their intended device by directing incoming traffic. They direct data packets within the LAN and from external sources, such as a router connected to the internet.

In network topology, a network switch connects to a router, and devices on that network connect to the switch via Ethernet cables. Network switches function at the data link layer (layer 2) in the open systems interconnection (OSI) seven-layer model of standardized networking protocols. Switches identify where to send data packets by identifying the MAC address unique to each device. When the switch receives a packet on one of its Ethernet ports, it uses the MAC address to determine which port to forward the packet to, then forwards the data to the device.

Once a switch has sent a packet along a route one time, it begins to maintain a table and a list of MAC addresses that connect to that specific port. This table is called a lookup table (LUT). When a switch receives a data packet with a MAC address it has not seen, it uses a route, a type of LUT that sends the packet to all devices connected to a port. The device with the matching MAC address in the packet header receives the information, and the switch adds the address to its LUT.

Read more: Hub vs. Switch: What’s the Difference?

Types of network switches explained

Because switches are such an essential component of an enterprise network, many different kinds of network switches exist to perform different tasks within a network, such as:

  • Managed switches

  • Unmanaged switches

  • Smart switches

  • PoE switches

  • Layer 2 vs. layer 3 switches

Take a closer look at each kind of switch and when to use them.

1. Managed switches

Managed switches use hundreds of configuration options, making them perfect for enterprise use. The complex configuration methods mean network administrators manage switches using a command-line interface (CLI). Managed switches are a good option if you have a large-scale enterprise network, or if your network is expanding.

2. Unmanaged switches

Unlike managed switches, unmanaged switches are the most basic network switches. Produced for small local area networks (LANs), they have few configuration options and mostly group PCs or network devices on a network. With little customization, they are the cheapest network switches and provide simple networking solutions for uses such as home networks.

3. Smart switches

Smart switches provide a more automated configuration than managed switches and only come with some customizable features, such as virtual LANs (VLANs), service settings, and configuration through a graphical user interface (GUI). You should use smart switches for mid-size networks, such as smaller office spaces with approximately two dozen or fewer users.

4. PoE switches

A power over Ethernet (PoE) switch uses Ethernet cables that also contain copper wire to send power and data in the same cable. The switch can then power other devices connected to it. If additional devices need power, PoE switches can do that, but if other IoT devices do not require power in this way, non-PoE switches are less expensive. This makes PoE switches suitable for smart buildings and industrial applications using interconnected devices such as cameras, sensors, and IoT devices.

5. Layer 2 vs. layer 3 switches

Layer 2 switches are the kinds of switches this article has discussed thus far. These switches, or multiport bridges, are hardware devices that send data packets to devices with MAC addresses. They move data packets from one port to another or to a VLAN and require a connection to a router that can route IP packets.

However, large networks with constant routing might use a layer 3 switch, which combines aspects of a router and a switch into one device. Layer 3 switches are also known as multilayer switches. Networks with lots of VLAN segmentation benefit from using layer 3 switches since they direct data packets using their IP address, which gives these switches the ability to direct packets through different subnets and VLANs.

While layer 3 switches have some routing capabilities, they do not have all complex routing protocols, such as OSPF, BGP, and EIGRP. With the large number of ports found in a typical layer 2 switch, layer 3 switches increase routing speed and manage traffic better.

What is a network switch vs. router?

A network switch is different from a router since switches connect devices within a network, while routers connect network switches and their networks to other networks. Another difference between a switch and a router is that a router will often feature embedded firewalls for protection, while switches don’t offer built-in protection.

Advantages and disadvantages of network switches

Network switches are an essential part of any computer networking system. The chart below examines some of their advantages and disadvantages in more detail.

All networks use switches to some degree, but large-scale organizations use switches extensively to create subnetworks and VLANs that optimize security features and connect many devices together. Network engineers work within an organization to improve the network, and switches are important in collecting data on how networks function overall. Some switches even use machine learning to optimize the network.

How to get started in networking

To enter a career in networking, employers typically want a bachelor’s degree in networking or a relevant field. You can also earn certifications in IT to prove your understanding of networking concepts to potential employers. One of the most common skills for those working in networking is switches, so leverage your knowledge of them on your resume.

Take a look at some jobs in networking and their median total pay:

*The salary information above is the median total pay from Glassdoor as of November 2026. These figures include both base salary and additional pay, which may represent profit-sharing, commissions, bonuses, or other forms of compensation.

Explore our free IT resources

Subscribe to our weekly LinkedIn newsletter, Career Chat, for industry updates, tips, and trends. Then, check out some of our other free resources to keep learning more about information technology:

Whether you want to develop a new skill, get comfortable with an in-demand technology, or advance your abilities, keep growing with a Coursera Plus subscription. You’ll get access to over 10,000 flexible courses.

Article sources

1. 

Glassdoor. "Network Technician Salaries, https://www.glassdoor.com/Salaries/network-technician-salary-SRCH_KO0,18.htm/." Accessed November 17, 2026.

Updated on
Written by:

Editorial Team

Coursera’s editorial team is comprised of highly experienced professional editors, writers, and fact...

This content has been made available for informational purposes only. Learners are advised to conduct additional research to ensure that courses and other credentials pursued meet their personal, professional, and financial goals.