EVOPEDIA

← all systems · see it in The System

Network switch (bridges and switches)

boundaryInside: the ports and their transceivers, the forwarding table (filtering database, often in content-addressable memory) with its learning and aging, the switching fabric and buffers, the control protocols that run between switches (spanning tree and its successors, VLAN tagging and membership, port security and 802.1X), the management agent and configuration, the mirror sessions it can be told to run, and, in software-defined networks, the flow table a remote controller programs. Outside: the hosts that send and receive frames (they need not know a switch is there), the links and the physical medium, the routers that join separate networks, the monitoring devices that receive mirrored copies, the controller program (a separate system in SDN), the attackers who feed it forged frames, and the network operators whose policy it is configured to carry out.
nested levelA network device (rung 12) that is a part of computer networks: it does the data link layer's job of joining the machines of one local network, under the network layer's routers, inside campus, enterprise and data-centre networks; built from ports, a forwarding table, a fabric and control software; descended from the learning bridge between two shared Ethernet segments.
scaletechnological

From the walk

The protocol that keeps switched networks with loops in them from melting down was published with a poem. Radia Perlman's 1985 spanning-tree paper carries 'Algorhyme': 'I think that I shall never see / A graph more lovely than a tree. / A tree whose crucial property / Is loop-free connectivity.' She designed the algorithm so that a network of bridges could have any shape, because otherwise it could be 'brought down so easily, merely by plugging a cable into the wrong place' (src:perlman-1985-spanning-tree).

Definition. A network switch is 'networking hardware that connects devices on a computer network by using packet switching to receive and forward data to the destination device' (src:wp:network-switch); in the IEEE's word a MAC bridge. It learns which port each machine's address sits behind and sends each frame only toward its addressee, floods frames whose destination it has not yet learned, and runs a distributed protocol with its neighbours so that the links between switches form a loop-free tree (src:perlman-1985-spanning-tree; src:pd-switched-ethernet). Walked as the device and the practice around it: links and ports, the forwarding table, the fabric, the control protocols (spanning tree, VLANs, port security), management and central control, and the operators whose policy it carries out. Definition drawn from the encyclopedia entry (Wikipedia, CC BY-SA).

On this page: Properties 3 · Measures 26 · Open contentions 4 · Cross-scale patterns 22 · Valence partners 10 · Partners and parts 73 · Notes 3 · Layers 56 · Sources 27

Properties published scienceour proposal

Sourced fields, and our own readings.

aliasesBridges and switches
born at1983 (DEC; first product 1986)
born precisionyears

Measures (26) published science

characteristic clock: switch-chip pipeline clock (RMT design)1 GHz
characteristic clock: time for a new host port to start forwarding (classic STP)about 30 s
STP forward delay (default)15 s
MaxAge (standard value)20 s
classic STP waiting time after a topology changeup to 50 s
RSTP count-to-infinity durationtens of seconds; 8 s worst case in a four-bridge simulation with TxHoldCount 10
spanning-tree convergence bound (design)at most twice the round-trip delay across the network (no lost messages) time
forwarding-table entry lifetime (textbook implementation)120 s
ports per switch (typical)16, 24 or 48 ports
shared Ethernet span limit4 repeaters; 2500 m repeaters; m
VLAN identifiers per physical LAN4094 usable (12-bit ID, 4096 values) VLANs
bridge priority default32,768 (set in multiples of 4096)
mirror-port loss under overload26.738% (Cisco Catalyst 2950) and 26.965% (HP ProCurve 2824) of monitored packets lost with 16 hosts loading a 100 Mbit/s link; none with 8 hosts % of packets
mirror-port reordering, both directions merged (maximum-size frames)21.080% (8 hosts) to 39.071% (16 hosts) on the Catalyst 2950; 17.099% to 35.732% on the ProCurve 2824; under 0.002% for one direction alone % of packets
wiring-closet switch throughput (2008)over 100 Gbit/s
switch chip throughput (RMT design, 2013)640 (64 x 10) Gb/s
layer-2 table size on one chip (RMT example)1.2 million entries each for source and destination addresses
data-centre fabric bisection bandwidth (Jupiter)1.3 (largest configuration); 100x growth over ten years Pbps
data-centre bandwidth demand doubling time12-15 months
hosts in large metro Ethernet deploymentsover a million hosts; tens of thousands of bridges
SEATTLE against Ethernet bridging: control overhead and stateroughly two orders of magnitude lower ratio
share of enterprise network operating cost spent on maintenance and configuration (estimate)70 %
addresses in a 100,000-server data centrethree million (32 VMs per server); about 8,000 switches addresses
shared Ethernet measured (1980)over 120 hosts on 550 m of cable at 2.94 Mbps; busiest second 37% utilization
VXLAN segment IDs24-bit ID; up to 16 M segments
M-LAG scalerarely past two switches

Open contentions (4) open contention

Where sources or readings disagree. Both stay on the map.

Cross-scale patterns seen here (22) our proposal

Shapes that recur when the same kind of problem is solved at different scales, and how each shows in Network switch (bridges and switches). Each links to every other system that shows it.

Valence: what it trades, and with whom (10) published science

Each exchange with a neighbour, read from both sides: who gains, who pays, and what carries it.

Partners and parts published science

Built from / builds (12)

Sits inside / holds (2)

expressed by (35)

floor filled by (16)

Kinds (6)

wired (2)

Notes published science

Layers

The ways it takes in its world, where they meet, and how it acts back, each from L1 (where it meets the world) up.

the boardroom (shared floors)

  1. L3: The forwarding decision: the filtering database (MAC table, often in CAM) learns each source address's port and looks up each destination: forward to one port, filter, or flood; entries age out. In an OpenFlow switch the flow table a controller fills does this job
  2. L4: The fabric and buffers: frames carried to the output port, queued, speed-adapted; store-and-forward or cut-through; pause frames from neighbours stop a queue; switching chips of about 1 Tb/s in 2013 (RMT). It sits after the lookup in a frame's path, not above it in control
  3. L5: The control plane: spanning tree (root election, designated bridges, port states), VLAN membership, port security; decides which ports forward and for whom
  4. L6: Management and central control: configuration, monitoring (SNMP, SMON, port copy), and in SDN a logically centralized controller that decides for many switches
  5. L7: The operators' purpose and policy: who may reach whom, which links are backups, which traffic is watched, how the network is cut into VLANs; in Ethane and SDN written as high-level policy a controller compiles

the network switch as network engineers describe it: frames on point-to-point links up to the operators' policy for who may reach whom (reader's view)

  1. L1: Links and their signals: copper or fibre point-to-point links to hosts and other switches (once shared coaxial segments)
  2. L2: Ports: transceivers and pluggable modules, each port its own collision domain, full duplex; frames received and checked
  3. L3: The forwarding decision: the filtering database (MAC table, CAM) that learns, looks up, filters, floods and ages; or a controller-filled flow table
  4. L4: Fabric and buffers: switching chip, output queues, speed adaptation; store-and-forward or cut-through
  5. L5: Control plane: spanning tree, VLAN membership and tags, port security and 802.1X
  6. L6: Management and central control: CLI, SNMP and web configuration; monitoring and port copy; an SDN controller
  7. L7: Operators' purpose and policy: segmentation, access, redundancy and what is watched

way in: Broadcast and multicast frames (ARP, DHCP, discovery)

  1. L1: Broadcasts sent by hosts for address resolution, address assignment and service discovery
  2. L2: Received at the port like any frame; the broadcast address marks it for every port

way in: Data frames arriving on ports

  1. L1: Signals on a point-to-point copper or fibre link from one host or switch
  2. L2: The port's transceiver and MAC receive the frame; each port its own collision domain; store-and-forward checks the whole frame

way in: Flow entries from a remote controller (OpenFlow)

  1. L1: A controller program elsewhere on the network
  2. L2: The Secure Channel and the OpenFlow Protocol carrying commands to add and remove flow entries

way in: Frames with forged source addresses (MAC flooding, spoofing)

  1. L1: Many frames, each with a different source address, from one attacker's port
  2. L2: Received at the port; port security, where configured, counts the addresses learned there

way in: Link and neighbour failure (silence)

  1. L1: A link or a bridge on the path to the root fails; its HELLOs stop
  2. L2: Stored root information ages on each port
  3. L3: Age passes MAX-AGE (20 s in the standard) and the information is discarded

way in: Loss of link at a port (physical failure detection)

  1. L1: The physical link fails
  2. L2: The port detects the failure directly, faster than any missed-message timer

way in: Operator configuration (CLI, SNMP, web)

  1. L1: An administrator at a console, a remote terminal or a management station
  2. L2: Serial console, telnet or SSH session, SNMP messages, or a web browser
  3. L3: The management agent: command-line interface, SNMP agent, web interface
  4. L4: Protection of writable objects: SET operations are sensitive and need protection
  5. L5: The configuration held, displayed, backed up and restored

way in: Pause frames from a congested neighbour (802.3x PAUSE, PFC)

  1. L1: A downstream switch or NIC whose queue passed its threshold sends a pause frame
  2. L2: Received at the port for one priority class

way in: Spanning-tree messages from neighbour switches (HELLOs, BPDUs)

  1. L1: The designated bridge on each LAN sends HELLOs to the well-known 'all bridges' group address
  2. L2: Received on every port, blocked ports included
  3. L3: Compared with the best message stored for that port (root ID, distance, sender ID) and kept or discarded

way out: Block a port (loop breaking)

  1. L1: The link carries spanning-tree messages only, standing by
  2. L5: Port set to blocking (BACKUP): no data forwarded on it

way out: Copy chosen traffic to a monitoring port

  1. L1: To an intrusion detection system or analyzer on that link
  2. L2: Out the monitoring port
  3. L4: Copies made in the switch and queued for the destination port; congestion when many or faster ports copy to one
  4. L6: A mirror session configured by an administrator

way out: Flood out every other port

  1. L1: On every other link of the broadcast domain
  2. L3: Destination unknown, or broadcast: copy for every other active port

way out: Forward to the addressee's port

  1. L1: On the link to the destination device only
  2. L2: Out the one port the table names
  3. L4: Frame queued at the output port and sent when the port is free

way out: Report state and counts to management

  1. L1: Read at a management station
  2. L6: Device and link health, statistics, drop counts on port copy

way out: Send a packet to the controller

  1. L1: Over the network to the controller program
  2. L3: No matching flow entry: the packet goes to the controller, which may add a flow entry

way out: Send a pause frame upstream

  1. L1: Pause or resume frame on the upstream link
  2. L4: A queue passes its configured threshold (X-OFF) or drains below it (X-ON)

way out: Send spanning-tree messages

  1. L1: To the all-bridges group address on each link
  2. L5: The root, and each designated bridge on its LANs, sends HELLOs

way out: Shut a violating port

  1. L2: The port is shut down as the violation mode says
  2. L5: Port security sees more addresses than allowed

Sources (27) published science

Network switch (Wikipedia, via Wikimedia Enterprise snapshot 2026-11-01)
Network bridge (Wikipedia, via Wikimedia Enterprise snapshot) (behind its links)
Kim, C., Caesar, M. & Rexford, J. (2008). Floodless in SEATTLE: a scalable Ethernet architecture for large enterprises. ACM SIGCOMM 2008 (doi:10.1145/1402958.1402961) (sections read: introduction, related work, section 2 on today's networks, evaluation set-up) (behind its links)
Perlman, R. (1985). An algorithm for distributed computation of a spanning tree in an extended LAN. ACM SIGCOMM '85 / CCR (doi:10.1145/319056.319004); OCR'd text, read in full (behind its links)
Elmeleegy, K., Cox, A. L. & Ng, T. S. E. (2006). On count-to-infinity induced forwarding loops in Ethernet networks. IEEE INFOCOM 2006 (doi:10.1109/infocom.2006.229) (author copy at Rice; sections read: abstract, introduction, STP and RSTP background, RSTP heartbeat and physical failure detection, the clause list, parameter-tuning results) (behind its links)
Gajo, S. I. (2025). Mitigating MAC flooding attacks using port security techniques. Proceedings of the Nigerian Society of Physical Sciences (doi:10.61298/pnspsc.2025.2.162); a Packet Tracer simulation study (behind its links)
Waterman, R., Lahaye, B., Romascanu, D. & Waldbusser, S. (1999). Remote Network Monitoring MIB Extensions for Switched Networks Version 1.0 (SMON). RFC 2613 (sections read: 2.1-2.3 including copy port and VLAN monitoring, 8 security considerations) (behind its links)
Feamster, N., Rexford, J. & Zegura, E. (2014) The Road to SDN: An Intellectual History of Programmable Networks. ACM SIGCOMM Computer Communication Review 44(2):87-98 (doi:10.1145/2602204.2602219) (behind its links)
Mittal, R. et al. (2018). Revisiting network support for RDMA. ACM SIGCOMM 2018 (doi:10.1145/3230543.3230557) (sections read: abstract, introduction, background on RoCE and PFC, the evaluation passage on PFC's congestion spreading) (behind its links)
Singh, A. et al. (2015). Jupiter Rising: a decade of Clos topologies and centralized control in Google's datacenter network. ACM SIGCOMM 2015 (doi:10.1145/2785956.2787508) (sections read: abstract, introduction, network evolution through Jupiter) (behind its links)
Peterson, L. & Davie, B. Computer Networks: A Systems Approach (open edition, CC BY 4.0), §3.2 Switched Ethernet (3.2.1-3.2.5, read in full) (behind its links)
Bosshart, P. et al. (2013). Forwarding metamorphosis: fast programmable match-action processing in hardware for SDN. ACM SIGCOMM 2013 (doi:10.1145/2486001.2486011) (sections read: abstract, introduction, RMT architecture, chip design and table configuration) (behind its links)
Spanning Tree Protocol (Wikipedia, via Wikimedia Enterprise snapshot) (sections read: lead, protocol operation, port states, configuration, root bridge, BPDU frame) (behind its links)
Zhang, J. & Moore, A. (2007). Traffic Trace Artifacts due to Monitoring Via Port Mirroring. IEEE/IFIP E2EMON 2007 (doi:10.1109/e2emon.2007.375317; open copy from the author's Cambridge page; sections read: I introduction and findings, II definitions and testbed, III results incl. Table I and the loss statistics, IV discussions) (behind its links)
McKeown, N. et al. (2008). OpenFlow: enabling innovation in campus networks. ACM SIGCOMM CCR 38(2):69-74 (doi:10.1145/1355734.1355746); editorial note, not peer reviewed (sections read: abstract, 1 the need for programmable networks, 2 the OpenFlow switch) (behind its links)
Niranjan Mysore, R. et al. (2009). PortLand: a scalable fault-tolerant layer 2 data center network fabric. ACM SIGCOMM 2009 (doi:10.1145/1592568.1592575) (author copy at UCSD; sections read: introduction, requirements, related work, design overview) (behind its links)
Shoch, J. F. & Hupp, J. A. (1980). Measured performance of an Ethernet local network. Communications of the ACM 23(12) (doi:10.1145/359038.359044; OpenAlex stored full text; sections read: the Ethernet description, the measurement method, error rates, overhead) (behind its links)
Mahalingam, M. et al. (2014). Virtual eXtensible Local Area Network (VXLAN). RFC 7348 (sections read: 1 introduction, 3 problem statement, 4 VXLAN) (behind its links)
Lapukhov, P., Premji, A. & Mitchell, J., eds. (2016). Use of BGP for Routing in Large-Scale Data Centers. RFC 7938 (sections read: 3.2, 4.1-4.3 on traditional, Layer 2 and L3-only designs, 5.1, 6.1 basic ECMP) (behind its links)
MAC flooding (Wikipedia, via Wikimedia Enterprise snapshot) (behind its links)
Computer network (Wikipedia, via Wikimedia Enterprise snapshot 2026-11-01) (behind its links)
VLAN (Wikipedia, via Wikimedia Enterprise snapshot) (sections read: lead, uses, history, configuration) (behind its links)
Port mirroring (Wikipedia, via Wikimedia Enterprise snapshot 2026-12-01) (behind its links)
ARP spoofing (Wikipedia, via Wikimedia Enterprise snapshot) (sections read: lead, vulnerabilities, attack anatomy, defenses, legitimate usage) (behind its links)
Ethernet hub (Wikipedia, via Wikimedia Enterprise snapshot) (behind its links)
Hofstede, R., Čeleda, P., Trammell, B., Drago, I., Sadre, R., Sperotto, A. & Pras, A. (2014). Flow Monitoring Explained: From Packet Capture to Data Analysis With NetFlow and IPFIX. IEEE Communications Surveys & Tutorials 16(4) (doi:10.1109/comst.2014.2321898; OpenAlex stored full text; sections read: I introduction, II history and context, IV packet observation A-D, VI-B data anonymization) (behind its links)
Katifori, E., Szöllősi, G. J. & Magnasco, M. O. (2010). Damage and fluctuations induce loops in optimal transport networks. Physical Review Letters 104:048704 (arXiv:0906.0006) (read in full: text, models and figures) (behind its links)