Managed or Unmanaged Switch: Which One to Choose
What an unmanaged switch does, unmanaged, smart and managed compared, 802.1Q VLANs and trunk ports, per-port statistics and errors, mirroring, LACP and Spanning Tree, QoS and IGMP snooping, PoE with a budget and per-port control, DHCP snooping and protections, management via web, CLI and SNMP, L2 and L3 switches, securing the management and common mistakes.
On the shop shelf there are two 8-port switches that look almost the same: same size, same sockets, same LEDs. One is cheap; the other, sold as «smart» or «managed», costs several times as much. Does a home, a small office or a small business really need the more expensive one? The answer depends on what you want to do with the network: keep guests and IoT devices apart, power cameras and access points, connect two switches with more than one cable, find out why a port is slow. Let us look at what an unmanaged switch does, what a managed one adds and how to choose without paying for features you will never use.
The unmanaged switch: it learns, forwards and that is all
An unmanaged switch has no configuration interface: you plug in the power and it works. Its job is the one described by the Ethernet bridging standard, today part of IEEE 802.1Q:
- it learns MAC addresses: for every incoming frame it records in the MAC table the source address and the port it arrived on;
- it forwards each frame only to the port where the destination is, if it knows it;
- if it does not, and for broadcast and multicast, it floods the frame to all the other ports;
- it forgets entries that have been idle for a few minutes, so it follows devices that move.
How this works is explained in detail in the article on switches and the MAC table. For many networks this is all you need: a 1 Gbit/s full duplex link per port, no collisions, no maintenance.
The limit is just as clear: all the ports belong to a single broadcast domain, that is, to one network. You cannot keep guests away from the PCs, you cannot see the errors on a port, you cannot shut a port down or find out what is connected to it. Some unmanaged models include fixed features, such as honouring the priority of marked traffic or detecting loops, but they cannot be configured and their behaviour varies from model to model.
Unmanaged, smart, managed: three families
Between the unmanaged switch and the fully managed one there is a middle tier. Product names change from vendor to vendor («smart», «web managed», «easy smart», «L2+»), so it is better to look at the feature list than at the label.
802.1Q VLANs: several networks on one switch
The feature that on its own almost always justifies a managed switch is the VLAN. With the IEEE 802.1Q standard the switch behaves like several separate switches: each port belongs to a logical network and devices in different VLANs do not talk to each other directly. To go from one VLAN to another, traffic must pass through a router or a firewall, which applies the rules.
- an access (or untagged) port belongs to a single VLAN: it is the one for PCs, printers and cameras, which know nothing about VLANs;
- a trunk (or tagged) port carries several VLANs over the same cable: each frame gets a 4-byte tag with the VLAN ID, a 12-bit number from 1 to 4094. It is the link to the firewall, to another switch or to an access point that broadcasts several Wi-Fi networks;
- the PVID (or native VLAN) states which VLAN untagged incoming frames end up in.
With this configuration Wi-Fi guests stay in VLAN 50 and see only the Internet, the cameras in VLAN 40 cannot reach the PCs, and the firewall decides what may pass from one network to another. Design and rules are covered in the articles on VLANs for security and organisation and on IoT and cameras in a separate network.
An indicative configuration, in the command-line style found on many managed switches (the syntax changes from vendor to vendor; on smart switches the same choices are made in a table on the web page):
interface 1
switchport mode access
switchport access vlan 10
interface 2
switchport mode trunk
switchport trunk allowed vlan 10,50
interface 6
switchport mode access
switchport access vlan 40
interface 8
switchport mode trunk
switchport trunk allowed vlan 10,40,50
Per-port statistics and errors
An unmanaged switch shows at most an LED that is on or off. A managed switch keeps, for each port, the status, the negotiated speed and duplex, the counters of bytes and packets sent and received, and the errors: CRC/FCS, frames that are too short or too long, drops caused by full queues. An indicative extract from the statistics page:
Port Status Speed Duplex RX packets TX packets CRC errors
1 connected 1000 full 1,284,512 982,114 37
2 connected 1000 full 3,410,227 2,905,880 0
6 connected 100 full 402,318 119,604 0
8 connected 1000 full 6,093,441 5,877,205 0
Port 1 is piling up CRC errors: it is almost always the cable, a badly crimped plug or a faulty wall outlet. Port 6 runs at 100 Mbit/s: for a camera that may be normal, for a PC it is not. These checks are the starting point of the troubleshooting described in the article 100 Mbit/s instead of 1 Gbit/s: auto-negotiation and duplex.
In the same family of tools there is port mirroring (often called SPAN): the switch copies the traffic of one port, or of a VLAN, to another port, where a PC with a protocol analyser can watch it without interrupting the link. On an unmanaged switch the traffic between two ports cannot be seen from a third one.
Redundant links: LACP and Spanning Tree
Connecting two switches with two cables looks like an easy way to get more bandwidth or a spare. On unmanaged switches it is instead the quickest way to bring the network down: it creates a loop, broadcasts circulate endlessly and multiply (a broadcast storm), the MAC table goes haywire and within seconds everything stops.
- Link aggregation with LACP (IEEE 802.1AX, originally 802.3ad) bundles several ports into a single logical link: more total capacity and continuity if a cable fails. It is configured on both sides; the details are in the article on link aggregation and LACP.
- Spanning Tree, today in its rapid version RSTP or the MSTP variant defined in IEEE 802.1Q, discovers loops and blocks the extra ports, re-enabling them if the main path fails. Features such as BPDU protection on PC ports stop a device plugged in by mistake from changing the topology. The mechanism is explained in the article on Spanning Tree.
LACP and STP are not alternatives: link aggregation increases capacity between two devices, Spanning Tree protects against loops created by mistake or for redundancy among several devices. A managed switch offers both.
Quality of service and IGMP snooping
With QoS the switch sorts frames into several output queues and serves the high-priority ones first. Priority is read from the PCP field of the 802.1Q tag (3 bits, values from 0 to 7, also known as 802.1p) or from the DSCP field of the IP header, or it is assigned per port: the IP phone port, for example, always in a priority queue. It matters when a link saturates, such as an uplink shared by many PCs; how it works is described in the article on QoS for voice and video calls.
IGMP snooping (described in RFC 4541) watches the IGMP messages with which devices join a multicast group and forwards that traffic only to the ports concerned. Without it, a multicast IPTV stream or some streaming systems end up on every port of the VLAN, access points included, where they can saturate the Wi-Fi.
PoE: budget and per-port control
Power over Ethernet delivers power over the same cable as the data: cameras, access points and IP phones do not need a power supply nearby. The standards are IEEE 802.3af (up to 15.4 W per port at the switch), 802.3at (up to 30 W) and 802.3bt (up to 60 or 90 W). Unmanaged PoE switches exist too; the difference lies in control:
- a managed switch shows the power per port and the total against the budget of its power supply;
- it lets you power-cycle a single port remotely: the quickest way to restart a camera that has frozen at the top of a pole;
- it assigns priorities: if the budget is not enough, the least important ports are switched off first;
- it lets you disable PoE where it is not needed.
Budget calculation, classes and the risks of passive PoE are explained in the article on Power over Ethernet.
Port protections
Higher-end managed switches add checks that an unmanaged switch cannot provide:
- DHCP snooping: only the ports declared trusted, such as the one towards the firewall, may answer DHCP requests. A home router plugged into the office network by mistake no longer hands out wrong addresses;
- ARP inspection (often called DAI): drops ARP replies that do not match the bindings recorded by DHCP snooping, against ARP poisoning;
- port security: limits the number of MAC addresses per port or accepts only the expected ones;
- IEEE 802.1X: the port opens only after the device has authenticated against a RADIUS server;
- storm control: limits broadcast and multicast above a threshold.
At home these features are rarely needed; in an office with network outlets open to the public they make the difference.
Management: web, CLI and SNMP
A managed switch has its own IP address and is configured:
- from a web page, preferably over HTTPS: it is the only interface on many smart switches;
- from the command line (CLI) over SSH or the console port: faster for repeatable, documentable configurations;
- with SNMP, for monitoring software that collects traffic and errors from every port: version 3 (RFC 3411–3418) adds authentication and encryption, versions 1 and 2c use only a cleartext «community»;
- with syslog and NTP, to keep events with the correct time.
Some product lines are managed from the vendor's cloud portal: convenient, but the configuration depends on an external service and an account.
L2 and L3 switches
A layer 2 switch works with MAC addresses and VLANs. A layer 3 switch can also route between VLANs: each VLAN has a virtual interface with an IP address, for example 192.168.10.1 for VLAN 10, and traffic between internal networks crosses the switch at full speed. In large networks this is the norm. In a small business, routing between VLANs is usually left to the firewall: it is slower than the switch, but it applies stateful rules and logs what passes. The access lists of an L3 switch are generally simpler.
When unmanaged is enough, when you need managed
| Situation | Sensible choice | Why |
|---|---|---|
| Home: router, a few PCs, TV and console on cable | Unmanaged | One network is enough; nothing to configure |
| More ports under a desk or behind the TV | Unmanaged | It extends an existing port, in that port's network |
| Separate guest or IoT network with an access point broadcasting several SSIDs | Smart or managed | VLANs and a trunk port to the access point are required |
| Cameras and access points powered by the switch | Smart or managed PoE | Visible budget, single-port restart, VLAN for the cameras |
| Office or small business with several switches and redundant uplinks | Managed | LACP, Spanning Tree, statistics and monitoring |
| Network outlets in a waiting room or public areas | Managed | Dedicated VLAN, port security, DHCP snooping, 802.1X |
The two families get on well together. An unmanaged switch under a desk can sit on an access port of a managed switch: all the devices connected to it end up in that port's VLAN. What you must not do is use it to «split» a trunk: the unmanaged switch knows nothing about VLANs and cannot assign its ports to different networks.
Securing the management
A managed switch left with its factory settings is a weak point: anyone who reaches its interface can move ports from one VLAN to another, copy traffic with mirroring or switch off the PoE devices. The essential rules:
- change the default password at once and, if possible, the user name; many models ship with an IP address and credentials that are the same for everyone, printed in the manual;
- separate the management: the switch address belongs in a dedicated management VLAN, for example VLAN 99 with 192.168.99.2/24, reachable only from the administrator's PCs through the firewall. Never from the guest or IoT network;
- use encrypted protocols: HTTPS and SSH, with HTTP and Telnet disabled; SNMPv3 instead of the «public» and «private» communities;
- update the firmware from the vendor's website and check for how many years the model receives security updates;
- save the configuration after every change and keep a copy outside the switch;
- disable unused ports or assign them to a VLAN with no services.
Common mistakes
- Leaving the default password. It is the first thing anyone on the network will try, including a compromised IoT device.
- Management interface reachable from guests. If the switch address is in the same VLAN as the guest Wi-Fi, or the firewall does not filter, a visitor reaches the login page.
- Two cables between two switches without LAG or STP. It creates a loop and the network stops in a broadcast storm. For more capacity configure LACP on both sides; for redundancy enable Spanning Tree.
- Buying a managed switch and not using its features. Left with every port in VLAN 1 and no monitoring, a managed switch behaves like an unmanaged one, with an interface to protect on top.
- Underestimating the PoE budget. The total printed on the box does not say whether the switch reserves power by class; one more device may not start, or may cause the lowest-priority one to be switched off.
- Plugging an unmanaged switch into a trunk port. The connected devices end up in the native VLAN, not in the one you had in mind.
Practical conclusions
- List what you need: VLANs for guests and IoT, PoE, redundant links, monitoring. If the list is empty, an unmanaged switch is enough.
- If you need even one VLAN, choose at least a smart switch with 802.1Q, trunk ports and per-port statistics.
- For cameras and access points, calculate the PoE budget by class, with a margin, and prefer a model that shows the power drawn and can restart a single port.
- Between two switches use a single cable, or several cables in LACP with Spanning Tree enabled.
- Protect the management: new password, separate management VLAN, HTTPS and SSH, updated firmware, saved configuration.
- Actually use the features you paid for: check the errors and speed of the ports regularly.
Switching, VLANs and the design of business networks are developed step by step in the Academy's books and video courses.
The video
Further reading
- Book: LOCAL AREA NETWORKS (LAN) — Volume 3: Switching, VLANs, and Business Networks (English edition)
- Book: LOCAL AREA NETWORKS (LAN) — Volume 1: Fundamentals, Technologies, and Infrastructure (English edition)
- Book: LOCAL AREA NETWORKS (LAN) — Volume 5: LAN Security and Integration (English edition)
- Video course: Reti LAN da Zero: Switch, IP, Router, Wi-Fi e Internet (video course in Italian)
- Video course: VLAN con OPNsense®: progettazione e configurazione (video course in Italian)
- Related article: How Does a Switch Know Where to Send Data?
- Related article: VLANs: Why Separating Networks Improves Security and Organisation
- Related article: Spanning Tree: Why One Extra Cable Can Bring Down the Whole Network
- Related article: PoE: Powering Access Points and Cameras over the Network Cable
- Related article: Link Aggregation and LACP: Combining Several Cables Between Switches
- Related article: Cameras and IoT Devices: Why Isolate Them on a Separate Network
- Related article: Network Adapter at 100 Mbit/s Instead of 1 Gbit/s: Auto-Negotiation, Duplex and Cables
- Related article: QoS: Giving Priority to Calls and Video Conferences
- Specialization: LAN Networks
Technical sources
- IEEE 802.1Q — Bridges and Bridged Networks — Learning and forwarding in Ethernet bridges, VLANs with a 4-byte tag (TPID 0x8100, 3-bit PCP, DEI, 12-bit VLAN ID with usable values from 1 to 4094), PVID, RSTP and MSTP.
- IEEE 802.1AX — Link Aggregation — Aggregation of several links into one logical link and the LACP protocol, originally IEEE 802.3ad.
- IEEE 802.3 — Power over Ethernet (802.3af, 802.3at, 802.3bt) — Maximum power per port at the switch: 15.4 W (802.3af), 30 W (802.3at), 60 and 90 W (802.3bt); classification of powered devices.
- RFC 4541 — Considerations for IGMP and MLD Snooping Switches — Behaviour of switches that watch IGMP and MLD to forward multicast only to the ports concerned.
- IEEE 802.1X — Port-Based Network Access Control — Device authentication before the port opens, with an authentication server such as RADIUS.
- RFC 3411–3418 — SNMP versione 3 — The SNMPv3 architecture with authentication and encryption, instead of the cleartext communities of SNMPv1 and v2c.
- RFC 1918 e RFC 7042 — Addresses used in the examples: private networks 192.168.10.0/24 and 192.168.99.0/24; MAC addresses from the 00-00-5E-00-53-00 … 00-00-5E-00-53-FF block reserved for documentation.
Standards and official documentation available from the respective organisations.