What is oversubscription, how do you calculate it, and what ratios are reasonable?
Show the answer
Say this first
Oversubscription is the ratio between the bandwidth that could arrive from a switch's downstream ports and the bandwidth of its uplinks. A 48-port 1G access switch with two 10G uplinks is 48G to 20G, or 2.4:1. It is acceptable because users do not all send at line rate at once. Commonly quoted campus guidance is up to about 20:1 from access to distribution and about 4:1 from distribution to core; data center leaves are usually built nearer 3:1 or better.
Go deeper
Worked examples
| Switch | Downstream | Upstream | Ratio |
|---|---|---|---|
| Access, 48 x 1G, 2 x 10G up | 48 Gbps | 20 Gbps | 2.4:1 |
| Same switch, one uplink failed or blocked by STP | 48 Gbps | 10 Gbps | 4.8:1 |
| Leaf, 48 x 25G, 6 x 100G up | 1,200 Gbps | 600 Gbps | 2:1 |
| Leaf, 48 x 25G, 4 x 100G up | 1,200 Gbps | 400 Gbps | 3:1 |
Things that change the real ratio
- Failures. Design for the case where one uplink is down. In a layer 2 design without multichassis EtherChannel, STP blocks one uplink all the time, so the second row is your normal state.
- Traffic pattern. Office traffic is bursty and mostly north-south to the internet or data center. Storage, backups and AI training traffic are sustained and east-west, so those fabrics aim for 1:1.
- Microbursts. A 5-minute average can show 15 percent while the port drops packets in bursts a few milliseconds long, especially when many senders hit one receiver. Check output drops, not just averages.
The 20:1 and 4:1 figures are rules of thumb from older campus design guides. Validate them against your own traffic.
They will ask next
Your uplinks average 20 percent but users complain of drops. What do you check?
Output drops and queue counters on the uplinks and on the server or user ports, and the buffer allocation on that platform. Averages hide microbursts. Shorter polling intervals or streaming telemetry show the peaks; QoS or more uplink bandwidth fixes them.
Traps
- Calculating the ratio with both uplinks when STP blocks one of them.