add wishlist add wishlist show wishlist add compare add compare show compare preloader
Types of Switches in a Computer Network

Types of Switches in a Computer Network

A network switch is used to connect different devices on a local area network (LAN). It sends data to the correct port using MAC addresses. Different names for switches make them seem like they are separate types. One switch can be managed and Layer 3 at the same time. A similar switch can also be PoE. When you add the wrong switch to your network, it affects the performance and causes some other problems. So, to choose the suitable switch, you need to know the types of switches and their features/functions. In this blog, we have divided them into five criteria to make the different labels easy to understand.

How a Switch Handles Your Traffic

The frame enters the switch through a port. The switch learns the source MAC address and the port the frame entered, and it builds a table that maps addresses to ports. In the next frame, it examines the destination. When the MAC address is found in the table, the frame is forwarded out of one port. If not, the switch will flood the frame to all ports in the same VLAN, and when the recipient responds, it will learn the recipient’s location.

The hub broadcasts everything to everyone at Layer 1, so everything shares one collision domain and comes in each other’s way. The switch is aware of the MAC address for each port and sends the frames to those particular ports. So there will be an individual collision domain for each port.

Connecting two switches with more than one cable can create a loop. Instead of arriving at their destination, frames continue to go back and forth between the switches. To prevent this, Spanning Tree Protocol (STP) blocks the additional paths. Protocols like RSTP and MSTP are also used on some switch models, and they work faster.

MAC: Media Access Control

Types of Switches and Network Switch Selection Criteria

Common types of network switches include:

  • Unmanaged, smart, and managed switches

  • Layer 2 and Layer 3 switches

  • Fixed-configuration and modular switches

  • Standalone and stackable switches

  • PoE and non-PoE switches

  • Gigabit, 10 Gigabit and higher-speed switches

  • Access, distribution and core switches

  • Industrial, data-centre, virtual and SDN switches

There are a lot of names there, and some of them are the same. So it is easy to sort them by question.

Question

Answers

How much control do you need?

Management

Which OSI layer does it work at?

Network layer

How is it built?

Hardware configuration

What connectivity and capabilities does it support?

Power, speed, media

Where is it used?

Network position and environment

A switch listed as a managed Layer 3 PoE switch has all three features. Managed tells you about its control, and Layer 3 tells you the layer it works at. PoE means it can supply power. You can use these criteria to understand the features of any switch.

Shop Now

1. How Much Control Do You Need?

In unmanaged switches, you don’t need any setup. They are more like plug-and-play devices; you connect the cables, and they work. Conventional unmanaged switches also don’t give you configurable VLANs. You can use them on desks and at home. Labs and conference rooms also find them suitable.

Managed switches are the opposite of unmanaged switches. You get access via the CLI or web interface and configure VLANs, Quality of Service (QoS), port security, port speed, duplex, and many others. But this access is not the same as SNMP. SNMP lets monitoring programs retrieve information and alerts from the switch and, depending on permission levels, make changes to the switch.

A VLAN separates traffic into its own broadcast domain. So, a broadcast from the VLAN accounts cannot reach the VLAN of guest Wi-Fi, even when they are on the same switch.

Other features include:

  • Traffic between VLANs: Traffic can still cross between VLANs, but only when a router or Layer 3 device routes it for you.

  • QoS: Gives priority to things like voice calls.

  • Port mirroring: Copies traffic from one port to another so you can capture it while troubleshooting.

  • Link aggregation: Bundles several physical links into one logical link, for more total bandwidth and some backup if a cable dies. Traffic from each connection goes through a single link, so traffic is load-balanced across the links depending on traffic flows.

Smart (web-managed) switches fall somewhere between the managed and unmanaged ones. It provides basic VLAN and QoS features, and its settings can be configured through a web interface. Plus, its price is lower than managed switches. The features can be a little different from one vendor's switch to another, so check the specifications before choosing one.


Unmanaged

Smart

Managed

Setup

None

Web GUI

CLI, web interface

Features

Basic connectivity

Basic VLAN, QoS

Widest range, varies by model

Cost

Lowest

Middle

Highest

Typical use

Home, desk

Small business

Enterprise, core

2. Which OSI Layer Does the Switch Work at?

The primary function of a Layer 2 switch is forwarding according to MAC addresses, although many of them also have VLAN and Spanning Tree capabilities. Most access switches are Layer 2 switches and can handle typical traffic loads well. Different VLANs cannot communicate directly unless a router is involved.

Layer 3 switches add IP routing to handle traffic across VLANs internally rather than sending it out to a router and back. Though the speed varies depending on the hardware, a Layer 3 switch is suitable for an office or campus that has a lot of VLANs. Routing features change a lot from model to model. Static routing is common among the models, and some of them have dynamic protocols like OSPF or RIP as well. If you have WAN connections or need advanced routing, a Layer 3 switch usually can’t take the role of your edge router.

3. How is the Switch Built?

When a configuration is fixed, the number of ports is predefined and can’t be changed; they come with the device as they are. So a fixed-configuration switch is less expensive than a modular one. As for management, a fixed switch can be managed or web-managed, since the term refers only to hardware. Or it can be totally unmanaged. 8, 16, 24, and 48 ports are the most common sizes.

With modular switches, you can expand the same chassis by adding line cards and uplink modules, along with an additional power supply, and you don’t need to replace it. Because of this, these switches cost more and are mostly used by large networks.

Next, there are standalone and stackable switches. A stand-alone switch is configured and managed on its own. Several stackable switches form a group that functions as a single logical switch, and it usually has a single configuration and a single management IP address. In this group, the remaining stacks continue to function even if one of the units fails, but again, it depends on the stacking technology alongside power and configuration.

4. What connectivity and capabilities does it support?

A normal switch (non-PoE) transmits data only, but a PoE switch also sends power through the same cable, so an IP camera or access point can be installed on a ceiling where there is no socket nearby. There are three standards, including 802.3af (PoE), 802.3at (PoE+), and 802.3bt (PoE++), but the wattage also matters. After cable losses, the device receives roughly 12.95 W from af, which supplies up to 15.4 W at the switch. 802.3at supplies 30 W, 25.5 W reaches the device. There are two types for the bt standard: Type 3 provides 60 W (51 W at the device), and Type 4 provides 90 W (71.3 W at the device).

This is the power per port. The total PoE budget is what the whole switch can provide across all its ports, so a 24-port PoE switch may not be able to power all of them at maximum. Also, PoE switches are more expensive than non-PoE switches. 

Speed and Media 

Fast Ethernet runs at 100 Mbps and Gigabit Ethernet at 1,000 Mbps. Then there is 10Gigabit and beyond. Data centres today use 400G and 800G. Copper ports support regular cable connections. When you need long-distance or fast transfer rates, there are slots to plug in transceivers. SFP and SFP+ are popular slots for Gigabit and 10 Gigabit switches, and faster switches use other formats like SFP28 and QSFP. Copper transceivers are still available, although fibre is commonly used.

5. Where Does It Live?

Network Position

Large-scale networks prefer a three-tier architecture.

  • Access switches provide ports for devices.

  • Distribution switches gather frames from the access switches and apply policies.

  • Core switches are at the top because they move large amounts of frames very fast and require redundant equipment.

Small networks merge their core and distribution layer switches into one unit (collapsed core). Data centres, on the other hand, implement the spine-leaf topology that is an entirely new network design because all the leaves connect to all spines rather than working through tiers.

Specialised Switches

  • Industrial switches are made for harsh environments such as factories and outdoor, rail, and utility applications. They can withstand heat, cold, vibrations, electromagnetic interference, and more. There are huge differences in ratings among models. So be sure to look at the specifications.

  • Virtual switches are software in a hypervisor layer and connect virtual machines to each other and to the external network. The server continues to use its hardware network interface cards to access the external network.

  • SDN switches separate the data plane (forwarding) from the control plane (decisions).

Which Switch Should You Pick?

Situation

Starting point

Home network, basic connections

Unmanaged Gigabit

Small office needing VLANs

Smart switch

Office with IP cameras and access points

Managed PoE

Growing business

Stackable managed, if ports keep increasing

Factory floor

Industrial managed

An unmanaged Gigabit switch works for a simple home network, but for VLANs and monitoring, use a managed switch. Getting an unmanaged switch when VLANs are required, and forgetting to check the PoE budget, are common mistakes when planning a network or choosing switches.

Wrapping Up

There are different types of switches. Each serves a unique function and possesses certain features that can sometimes overlap. One switch can be both Layer 3 and managed at the same time, and it can also include PoE. With this variety, you will have several options for configuring your network. While selecting a switch, refer to the five questions and consider how many connections you will have to make. The port speed and PoE budget are also necessary to consider.

Need a Network Switch for Your Office or Shop in Pakistan?

A good switch enhances network performance, and the uses of network switches range from connecting devices in a small office to managing traffic across a large enterprise network. Ultra Tech has different network switches in different models available to support your networking infrastructure, whether large or small. We are a MikroTik switch distributor in Pakistan, and you can order online or contact our sales team if you need help with a particular model.

UltraTech Official WhatsApp

Stay Connected.

Scan to join the official ULTRATECH WhatsApp Channel for product launches, updates, and promotions.

UltraTech WhatsApp QR Code
Follow Channel