Managed switch

On this page 7

A managed switch is an Ethernet switch with a configurable control plane, allowing administrators to set up, monitor and secure each port instead of relying on fixed plug-and-play behavior. In networking, and in Ethernet switching in particular, it is the device that turns a flat network into a controlled one: it supports VLANs, quality of service, link aggregation, spanning tree, access control and traffic monitoring, and it is reached through a web interface, command line or network management protocols.

An unmanaged switch only learns MAC addresses and forwards frames. A managed switch performs the same layer 2 forwarding in hardware, usually at full line rate, but adds a management CPU and software that decide how that forwarding is shaped. That management layer is what makes segmentation, redundancy and troubleshooting possible in business networks.

How a managed switch works

Inside a managed switch, a switching ASIC forms the data plane: it receives frames, looks up the destination MAC address and VLAN in hardware tables, applies access lists and queuing, and transmits the frame. A small management CPU runs the control plane, which builds those tables from configuration and protocols such as spanning tree, LACP and IGMP snooping. Because forwarding stays in hardware, enabling features rarely reduces throughput.

Administrators reach the switch in-band through an IP address on a management VLAN, or out-of-band through a dedicated management port or serial console. Configuration is stored in non-volatile memory and can be backed up, versioned and pushed by automation tools. The table lists the features that distinguish managed switches.

FeatureStandard or protocolPurpose
VLANsIEEE 802.1QSeparate broadcast domains
Link aggregationIEEE 802.1AX (LACP)Bundle links for bandwidth and redundancy
Spanning treeIEEE 802.1D, RSTP, MSTPPrevent layer 2 loops
Port authenticationIEEE 802.1XAdmit only authorized devices
Quality of service802.1p, DSCPPrioritize voice and video
IGMP snoopingIGMPv2 and v3Limit multicast to interested ports
Port mirroringSPAN or RSPANCopy traffic to an analyzer
MonitoringSNMP, syslog, LLDPHealth, inventory and alerts
Core managed switch features

Unmanaged, smart and fully managed switches

Switches fall on a spectrum of manageability. Between unmanaged devices and fully managed enterprise switches sits a middle class called smart, web-managed or lightly managed switches, which offer VLANs and basic QoS through a web interface but lack a full command line, advanced routing or automation interfaces.

CategoryConfigurationTypical featuresTypical setting
Unmanaged switchNoneAuto-negotiation, MAC learningHome, small desk expansion
Smart switchWeb interfaceVLANs, basic QoS, LACPSmall offices
Managed layer 2 switchCLI, web, SNMP, APIFull layer 2 security and monitoringEnterprise access layer
Managed layer 3 switchCLI, web, SNMP, APIAdds routing, OSPF, ACLsDistribution and core layer
Cloud-managed switchCentral cloud dashboardTemplates and fleet monitoringMulti-site organizations
Switch categories compared

The distinction between layer 2 and layer 3 managed switches is decisive for design. A layer 2 switch needs an external router for traffic between VLANs, while a layer 3 switch routes between VLANs in hardware, which is usually far faster than a small router.

Key specifications to evaluate

Datasheets list many numbers, and a few of them decide whether a switch fits. Switching capacity should equal the sum of all port speeds in both directions, which indicates a non-blocking design. Table sizes and Power over Ethernet budgets limit how many devices the switch can handle.

SpecificationTypical rangeWhat it affects
Port speeds1 Gb/s to 100 Gb/sThroughput per device and uplink
Switching capacityTens of Gb/s to several Tb/sWhether all ports run at line rate
MAC address table8,000 to over 100,000 entriesNumber of devices per switch
PoE budgetTens to over 1,000 wattsPowered phones, cameras, access points
PoE standard per port802.3af 15.4 W to 802.3bt up to 90 WClass of powered device supported
Packet bufferA few MB to tens of MBHandling of traffic bursts
Specifications and typical values

Choosing and configuring a managed switch

A managed switch is justified as soon as the network needs segmentation, redundancy or visibility. Typical triggers are separate guest and staff networks, IP phones that need priority, Wi-Fi access points that carry several VLANs, or a requirement to find which port a misbehaving device is on.

A sound baseline configuration includes a dedicated management VLAN, disabled unused ports, BPDU guard on edge ports, DHCP snooping and dynamic ARP inspection where supported, centralized syslog and time synchronization, and SSH instead of Telnet. Firmware should be kept current, because switch operating systems receive security fixes like any other software.

Common mistakes

  • Default credentials left in place give anyone on the network full control of the switch.
  • Management interface reachable from user VLANs exposes the switch to every compromised laptop.
  • Spanning tree disabled to simplify setup turns one accidental cable loop into a broadcast storm that stops the network.
  • Mismatched link aggregation on the two ends creates loops or drops traffic; both sides must use LACP with matching settings.
  • Underestimated PoE budget causes cameras or access points to reboot when the switch runs out of power.

Understanding it simply

A switch connects the computers, printers and phones in a building. An ordinary switch is like a mail sorter with no settings: it delivers every letter to the right desk, and that is all it can do.

A managed switch is a mail room with a supervisor. The supervisor can put departments in separate areas, make urgent mail go first, block unknown visitors and keep a log of what is happening. That control makes a business network safer and easier to fix when something goes wrong.

Applied in practice

A dental clinic with three treatment rooms, a reception desk, eight IP phones and four Wi-Fi access points replaces two unmanaged switches with one 24-port managed switch offering a 370-watt PoE budget. The switch powers phones and access points directly, removing a tangle of power adapters.

The technician creates VLANs for clinical systems, phones, guest Wi-Fi and management, marks voice traffic with high priority, and sets the access point ports as trunks. When a patient later plugs a laptop into a free wall socket, nothing happens, because unused ports are disabled. Months later a call quality complaint is solved in minutes: port statistics show errors on one cable, which is replaced the same afternoon.