← all systems · see it in The System
Network switch (bridges and switches)
| boundary | Inside: 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 level | A 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. |
| scale | technological |
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.
| aliases | Bridges and switches |
| born at | 1983 (DEC; first product 1986) |
| born precision | years |
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 change | up to 50 s |
| RSTP count-to-infinity duration | tens 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 limit | 4 repeaters; 2500 m repeaters; m |
| VLAN identifiers per physical LAN | 4094 usable (12-bit ID, 4096 values) VLANs |
| bridge priority default | 32,768 (set in multiples of 4096) |
| mirror-port loss under overload | 26.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 time | 12-15 months |
| hosts in large metro Ethernet deployments | over a million hosts; tens of thousands of bridges |
| SEATTLE against Ethernet bridging: control overhead and state | roughly 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 centre | three 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 IDs | 24-bit ID; up to 16 M segments |
| M-LAG scale | rarely past two switches |
Open contentions (4) open contention
Where sources or readings disagree. Both stay on the map.
- C-4636 Should network switches be run by one central controller program, or by shared rules each switch follows, since a central controller can fail on its own?
booked: The map keeps both readings side by side and rules on neither.
the other reading: central control violates fate sharing: the controller can fail independently of forwarding (the critics Feamster et al. report); central control suits single-operator data centres (Google's Jupiter: 'overkill' to run general decentralized protocols there) - C-4672 What replaced the spanning tree protocol (the rule that stops network switches sending data round in loops): newer protocols like TRILL or SPB, or routing in large data centres, or nothing yet?
booked: The map keeps both readings side by side and rules on neither.
the other reading: TRILL is 'the successor' to STP (encyclopedia, bridge article); SPB is the IEEE's replacement (2012), not yet as popular as STP or link aggregation; data centres left layer-2 trees for routed or centrally controlled Clos fabrics - C-4673 When was the network switch born: with the first network bridge in 1983, or with the first multi-port Ethernet switch around 1990?
booked: The map keeps both readings side by side and rules on neither.
the other reading: the first multiport Ethernet switch, Kalpana's EtherSwitch, 1989-90, as the birth of the 'switch' as distinct from the bridge; the bridge was built independently at Bellcore (Sincoskie) too; credit is shared - C-4686 Are VLANs (virtual networks that split one physical network into separate groups) a real security barrier, or mainly a tool for organising traffic that attackers can get around?
booked: The map keeps both readings side by side and rules on neither.
the other reading: VLANs are a broadcast-scoping and management tool, not a security boundary ('can be defeated unless implemented carefully'; VLAN hopping); VLANs are used as the tenant boundary by hosting providers
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.
- borrowed-then-held (structural)
Borrowed: on the shared cable the medium itself gave any listener a copy of every frame ('by operating its interface in a promiscuous mode, can receive all of the packets passing by'). Switching ended that; held: the switch now makes copies itself, only where configured (port copy, mirroring). Both - causal ceiling (structural)
On a switched network what any one machine can see is set by the forwarding structure, not by its means: 'a node attached to a switch cannot monitor traffic on other segments'; only the sending and receiving ports carry a frame. It is lifted only by the switch itself (a mirror session) or by breakin - coordination-before-mapping (structural)
Bridges agree on one root and one loop-free tree with no map of the network: each sees only messages on its own links, and memory stays bounded whatever the network's size. Later designs (SEATTLE, link-state TRILL and SPB, SDN controllers) add a network-wide view. - lightning (structural)
A broadcast storm is a sudden runaway with no held regulation that reshapes what follows: 'merely by plugging a cable into the wrong place' a whole network goes down (Perlman), and the 2002 hospital outage led to a new protocol (TRILL). The spanning tree is the held regulation that prevents it. - runaway from an unstable balance (structural)
The loop-free tree is the balance point. Off it (one extra cable, or stale root information in RSTP), flooded frames are copied again at every switch on the loop with nothing to stop them, since frames carry no hop count: the storm feeds itself until the network halts. - same role, different builds (structural)
One job: keep everything connected when one link breaks. A switched LAN keeps its extra links but blocks them, unblocking a backup only when the spanning tree recomputes after a failure; a dicot leaf keeps its vein loops open all the time, and fluid flows round a cut vein at once. Large data centres - symmetry breaking (name the cut) (structural)
Before: every switch claims to be the root and no direction is preferred. The cut: the lowest bridge ID (priority, then MAC address). After: one root, and every port's role (root, designated, blocked) follows from distance to it. - templating (structural)
One module reused unchanged: the merchant switch chip, designed for 'the superset of all common configurations' and placed in many vendors' boxes; Google's fabrics built from many copies of one commodity chip; the 802.1Q tag read by every VLAN-aware device. - The carry (structural)
Two faces. Overflow passed on: a full table cannot hold another address, so frames for unlearned hosts are passed on to every port (fail-open); a mirror destination that cannot take the copies of several faster ports drops the excess. The wait: a new port cannot forward until the tree has settled (f - The Payment to Entropy (structural)
Signal form. Each hand-off of a mirrored copy pays: at overload about 27% of packets never reach the monitor (usable out / sent in about 0.73), and copies come out reordered; flooding pays every link and host on the broadcast domain to find one; the tree pays idle links and longer paths. Store-and-f - the whole sets the local reference (structural)
The elected root fixes the reference every bridge measures against: distance to the root, and the timer values (MAX-AGE, forward delay) the root passes in its messages 'so that the network will agree on timer values'. - trade one property for another (structural)
Two trades. Loop-freedom is bought with path length and capacity: frames 'flow up the tree and back down', links near the root carry the most load, blocked links sit idle; transport networks built for efficiency alone are trees, and loops appear only when damage or fluctuating load is priced in (Kat - Umwelt: each system carves its own slice of one shared medium (structural)
On one stream of frames, each reader takes its own slice: the switch reads only the header ('all the information required to make a forwarding decision'), a host receives only its own frames and the broadcasts, an analyzer on a mirror port gets the copies it was given, a router reads the network-lay - who opens the door (structural)
Every door at the switch is opened from the inside ahead of time: a host's path is installed by the host's own earlier frames (self-built); a port's forwarding state by the spanning tree; a mirror session and VLAN membership by an administrator; an address allowance by port security or an AAA server - barrier-gates-complexity (partial)
The bridge's filtering boundary (a separate collision domain each side) lets networks grow past shared Ethernet's limits, with the without case shown: no more than four repeaters and 2500 m between hosts on one collision domain. What grows is size and span, not a new kind of complexity, so partial. - holding / entrainment (partial)
The root sets the others' clock: designated bridges usually send a HELLO only when one arrives from the root, and the root's timers become everyone's. The setter is one part (the root), not the whole, so partial. - outside-to-inside (partial)
The shared medium (the collision domain everyone transmitted onto) was outside every device; with switching it is inside the switch as its fabric, buffers and queues, and each link outside is private. Outside phase first: shared coaxial Ethernet, 1970s-80s. Partial: the sources describe the change, - partner-becomes-part (partial)
The router, a separate device beside the switch, is built into it in the multilayer switch; a dual-speed hub held a two-port switch inside; in OpenFlow the controller, a separate program, decides inside the switch's table. No inheritance in the biological sense, so partial. - red-queen (partial)
Move and counter-move around the switch's filtering: switching hid hosts' traffic from each other; MAC flooding overcomes it by filling the table; port security and AAA checks answer by limiting addresses per port; the attacker moves to ARP spoofing to keep access after the table recovers; static en - same toolkit, independent builds (partial)
Transparent bridging built twice: at DEC (Kempf, 1983) and at Bellcore by Sincoskie, who 'independently reinvented transparent bridging' and went on to VLANs. One encyclopedia source for the independence, so partial. - seed (partial)
OpenFlow's small interface (match on a few header fields; forward, send to controller, drop, normal processing) unpacked a wide range of behaviours from one box: router, switch, firewall, NAT 'or something in between', and many controller applications. Partial: the sources show the range, not a coun - same shape, opposite sign (surface)
Port mirroring and fail-open flooding both send others' frames out a port that is not theirs: one set up by the operator for a watcher, one forced by an attacker filling the table. By the firing rule these are two mechanisms (a configured copy session; the unknown-destination flood), so surface only
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.
- Human (Homo sapiens) via Written record (durable external marks: texts, archives, canon) · Network switch (bridges and switches) gain
- router via Electromagnetic field · Network switch (bridges and switches) gain
- Computer via Electromagnetic field · Network switch (bridges and switches) gain
- Intrusion detection system via Electromagnetic field · Network switch (bridges and switches) even
- Threat actor via Electromagnetic field · Network switch (bridges and switches) loss
- Computer network via Electromagnetic field · Network switch (bridges and switches) gain
- Cloud computing via Electromagnetic field · Network switch (bridges and switches) gain
- Packet capture (network taps, port mirroring, promiscuous and host capture) via Electromagnetic field · Network switch (bridges and switches) loss
- Ethernet hub (repeater hub) via Electromagnetic field · Network switch (bridges and switches) gain
- SDN controller (OpenFlow) via Electromagnetic field · Network switch (bridges and switches) mixed
Partners and parts published science
Built from / builds (12)
- spanning tree protocol
- Port mirroring (SPAN, RSPAN)
- Ports and transceivers (one collision domain each)
- Forwarding table (filtering database, MAC or CAM table)
- Switching fabric, buffers and switch chip
- Virtual LANs (802.1Q tags and membership)
- Port security (address limits per port, 802.1X, AAA checks)
- Flow table programmed by a controller (OpenFlow)
- Link aggregation (LACP; multi-chassis M-LAG)
- Computer network
- Flows for a bottleneck link and its buffer
- LAN attackers against the switch's filtering
Sits inside / holds (2)
expressed by (35)
- Generation/Synthesis
- Recombination/Composition
- Scaffolding/Enablement (Meta-Tooling)
- Templating / Standardization
- Niche Construction (alter environment)
- Quality Improvement/Refinement
- Interoperability/Transduction (Bridging)
- Encapsulation & Modularity (Abstraction)
- Evolvability/Plasticity Engineering (Design for Future Variation)
- Distributed Autonomy/Decentralized Execution (Subsidiarity)
- Internal Coordination/Regulation
- Sensing/Scanning
- Search/Foraging
- Mapping/Modeling
- Navigation/Pathfinding
- Uncertainty Reduction/Learning
- Surprise / Change-Point Detection
- Frontier Outposts / Sensing Extension
- Overcome Barrier
- Resource Denial/Attrition
- Subversion & Co-optation
- Quick Harm Avoidance
- Reactive Response
- Proactive Defense
- Physical/Virtual Barrier
- Self-Monitoring
- Validation of Identity/Intention
- Validation of Effectiveness
- Enclave/Segregation
- Deception
- Resilience & Repair
- Redundancy & Diversity
- Triage & Prioritized Allocation
- Quality Control & Error Correction
- Positional Identity (Body Map)
floor filled by (16)
- Human (Homo sapiens)
- Computer
- Optical fibre
- spanning tree protocol
- ethernet
- Port mirroring (SPAN, RSPAN)
- SNMP traps
- Ports and transceivers (one collision domain each)
- Forwarding table (filtering database, MAC or CAM table)
- Switching fabric, buffers and switch chip
- Virtual LANs (802.1Q tags and membership)
- Port security (address limits per port, 802.1X, AAA checks)
- Flow table programmed by a controller (OpenFlow)
- SDN controller (OpenFlow)
- Computer network
- Packet capture (network taps, port mirroring, promiscuous and host capture)
Kinds (6)
- Learning (transparent) bridge
- Multilayer (layer-3) switch
- Unmanaged switch
- Managed switch (smart and enterprise-managed)
- OpenFlow (software-defined) switch
- Data-centre fabric switch (Clos fabric of merchant-silicon chips)
wired (2)
Notes published science
- 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).
- Switches and leaves solve the same problem in opposite ways. A classic switched network keeps spare links but switches them off, so that the live network is a tree, and turns a spare on only when the link in use fails. Studies of transport networks find that one built only for efficiency is a tree too; but a dicot leaf keeps many working vein loops, which carry fluid when any vein is damaged. As data centres grew past tens of thousands of servers, fully routed designs that share load across equal-cost paths became more attractive than the spanning tree's active/standby approach (src:katifori-2010-leaf-loops; src:wp:spanning-tree-protocol; src:rfc7938).
- On early shared Ethernets anyone could read everyone's traffic just by listening to the shared cable, and most of the 1980 measurements of one of them were made that way. The switch ended this because it is built not to send frames where they are not needed, so 'a node attached to a switch cannot monitor traffic on other segments'. Watching a switched network now takes a mirror port that an administrator sets up on purpose, or an attack that fills the switch's address table so that a switch set to fail open starts sending everything everywhere, like a hub (src:shoch-hupp-1980; src:wp:network-switch; src:gajo-2025-mac-flooding).
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)
- 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
- 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
- L5: The control plane: spanning tree (root election, designated bridges, port states), VLAN membership, port security; decides which ports forward and for whom
- L6: Management and central control: configuration, monitoring (SNMP, SMON, port copy), and in SDN a logically centralized controller that decides for many switches
- 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)
- L1: Links and their signals: copper or fibre point-to-point links to hosts and other switches (once shared coaxial segments)
- L2: Ports: transceivers and pluggable modules, each port its own collision domain, full duplex; frames received and checked
- L3: The forwarding decision: the filtering database (MAC table, CAM) that learns, looks up, filters, floods and ages; or a controller-filled flow table
- L4: Fabric and buffers: switching chip, output queues, speed adaptation; store-and-forward or cut-through
- L5: Control plane: spanning tree, VLAN membership and tags, port security and 802.1X
- L6: Management and central control: CLI, SNMP and web configuration; monitoring and port copy; an SDN controller
- L7: Operators' purpose and policy: segmentation, access, redundancy and what is watched
way in: Broadcast and multicast frames (ARP, DHCP, discovery)
- L1: Broadcasts sent by hosts for address resolution, address assignment and service discovery
- L2: Received at the port like any frame; the broadcast address marks it for every port
way in: Data frames arriving on ports
- L1: Signals on a point-to-point copper or fibre link from one host or switch
- 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)
- L1: A controller program elsewhere on the network
- 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)
- L1: Many frames, each with a different source address, from one attacker's port
- L2: Received at the port; port security, where configured, counts the addresses learned there
way in: Link and neighbour failure (silence)
- L1: A link or a bridge on the path to the root fails; its HELLOs stop
- L2: Stored root information ages on each port
- 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)
- L1: The physical link fails
- L2: The port detects the failure directly, faster than any missed-message timer
way in: Operator configuration (CLI, SNMP, web)
- L1: An administrator at a console, a remote terminal or a management station
- L2: Serial console, telnet or SSH session, SNMP messages, or a web browser
- L3: The management agent: command-line interface, SNMP agent, web interface
- L4: Protection of writable objects: SET operations are sensitive and need protection
- L5: The configuration held, displayed, backed up and restored
way in: Pause frames from a congested neighbour (802.3x PAUSE, PFC)
- L1: A downstream switch or NIC whose queue passed its threshold sends a pause frame
- L2: Received at the port for one priority class
way in: Spanning-tree messages from neighbour switches (HELLOs, BPDUs)
- L1: The designated bridge on each LAN sends HELLOs to the well-known 'all bridges' group address
- L2: Received on every port, blocked ports included
- 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)
- L1: The link carries spanning-tree messages only, standing by
- L5: Port set to blocking (BACKUP): no data forwarded on it
way out: Copy chosen traffic to a monitoring port
- L1: To an intrusion detection system or analyzer on that link
- L2: Out the monitoring port
- L4: Copies made in the switch and queued for the destination port; congestion when many or faster ports copy to one
- L6: A mirror session configured by an administrator
way out: Flood out every other port
- L1: On every other link of the broadcast domain
- L3: Destination unknown, or broadcast: copy for every other active port
way out: Forward to the addressee's port
- L1: On the link to the destination device only
- L2: Out the one port the table names
- L4: Frame queued at the output port and sent when the port is free
way out: Report state and counts to management
- L1: Read at a management station
- L6: Device and link health, statistics, drop counts on port copy
way out: Send a packet to the controller
- L1: Over the network to the controller program
- L3: No matching flow entry: the packet goes to the controller, which may add a flow entry
way out: Send a pause frame upstream
- L1: Pause or resume frame on the upstream link
- L4: A queue passes its configured threshold (X-OFF) or drains below it (X-ON)
way out: Send spanning-tree messages
- L1: To the all-bridges group address on each link
- L5: The root, and each designated bridge on its LANs, sends HELLOs
way out: Shut a violating port
- L2: The port is shut down as the violation mode says
- L5: Port security sees more addresses than allowed