Port, Speed, and Duplex Mismatches
Fix the misconfigurations that cripple a connection.
Port, Speed, and Duplex Mismatches is a free Network+ Academy lesson on CoddyKit — lesson 4 of 4. You can read the complete lesson below for free — then practise it hands-on in the browser with a built-in code editor and a 24/7 AI tutor. It is part of the Network+ Academy learning path, one of 4 lessons in the course, and your progress syncs across the web and the CoddyKit app.
Misconfigurations, Not Breaks
Some links fail not because hardware is broken but because settings disagree. Speed and duplex mismatches, along with port misconfigurations, cause poor or no connectivity even on perfect cabling. These are logical Layer 1/2 faults: the physical link forms, but the two ends cannot communicate cleanly because they are configured differently.
What Duplex Means
Duplex describes how a link sends and receives. Half-duplex allows transmitting or receiving but not both at once, like a walkie-talkie. Full-duplex allows both simultaneously, like a phone call. Modern wired Ethernet uses full-duplex. When two ends disagree on duplex, performance collapses even though the link appears up.
What Auto-Negotiation Does
Auto-negotiation lets two connected devices automatically agree on the best common speed (10/100/1000 Mbps) and duplex. When both ends auto-negotiate, they usually settle on the fastest, full-duplex setting both support. Auto-negotiation is the default and recommended setting, and it prevents most mismatch problems on its own.
The Duplex Mismatch
A duplex mismatch happens when one end is set to full-duplex and the other to half-duplex, often because one side was hard-coded while the other auto-negotiated to half. The result is ugly: the link works but suffers late collisions, errors, and terrible throughput. It is a classic, confusing fault, slow but not dead.
Symptoms of Mismatch
Duplex mismatch produces telltale signs: a link that is up but painfully slow, rising collision and CRC error counters on the half-duplex side, and erratic performance that worsens under load. Users report "the network is slow," not "the network is down." Spotting collisions and errors on a full-speed link points straight to duplex.
Why Hard-Coding Causes It
Mismatches often arise when an admin manually sets one side's speed and duplex but leaves the other on auto. The auto side cannot detect the manual side's duplex and defaults to half, while the manual side stays full. The fix is consistency: either auto-negotiate on both ends, or hard-code identical settings on both.
show interface GigabitEthernet0/1Speed Mismatch
A speed mismatch, where one end is fixed at a speed the other does not expect, usually prevents the link from coming up at all, since the ports cannot agree on a clock rate. Unlike duplex mismatch, which leaves a slow-but-working link, a speed mismatch often shows no link light. Both stem from inconsistent manual settings.
Port Configuration Issues
Beyond speed and duplex, a switch port may be misconfigured: administratively disabled (shutdown), assigned to the wrong VLAN, set as the wrong port type, or shut by port security after a violation. A disabled or wrong-VLAN port can look like a dead link to the user even though the cable is perfect.
Reading Interface Status
Switch commands reveal these problems. Interface status shows whether a port is up, down, or err-disabled, its negotiated speed and duplex, its VLAN, and error counters. Reading this output is the fastest way to confirm a mismatch or misconfiguration. The port itself tells you what it negotiated and what errors it sees.
show interfaces statusFixing Mismatches
To fix duplex and speed faults, make both ends agree: ideally set both to auto-negotiate, or hard-code matching speed and duplex on both. For port issues, re-enable a shutdown port, correct the VLAN, or clear an err-disabled state after resolving its cause. Consistency between the two ends is the underlying principle for every fix.
Preventing Mismatches
Prevent these problems by standardizing on auto-negotiation everywhere unless a specific device requires manual settings, and then documenting those exceptions. Consistent configuration policy, plus checking interface stats during setup, stops mismatches before users feel them. When you do see slow links with collisions, duplex is the first thing to suspect.
Quick Check
Test your mismatch knowledge.
Recap
You learned about mismatches. Key points:
- Duplex: half (one way at a time) vs full (both at once).
- Auto-negotiation agrees speed and duplex; it is the default.
- Duplex mismatch = slow link with collisions and CRC errors.
- Speed mismatch often means no link at all.
- Check port status for shutdown, wrong VLAN, or err-disabled.
Frequently asked questions
Is the “Port, Speed, and Duplex Mismatches” lesson free?
Yes — the full text of “Port, Speed, and Duplex Mismatches” is free to read here on the web, and the Network+ Academy course includes 4 lessons in total. To practise it interactively (a built-in code editor and a 24/7 AI tutor) and unlock the rest of the Network+ Academy course, upgrade to CoddyKit PRO.
What will I learn in “Port, Speed, and Duplex Mismatches”?
Fix the misconfigurations that cripple a connection. You practise Network+ Academy with hands-on code you run directly in the browser, and a 24/7 AI tutor answers your questions as you work through the lesson.
Do I need any experience to start Network+ Academy?
No prior experience is required. Network+ Academy on CoddyKit is structured for beginners through advanced learners; this is — lesson 4 of 4, so you can start here or from the beginning and move at your own pace.
How long does the “Port, Speed, and Duplex Mismatches” lesson take?
Most CoddyKit lessons take about 5–10 minutes. Each one is bite-sized and interactive, so you make steady progress and pick up exactly where you left off across the web and the app.
Can I write and run code in this Network+ Academy lesson?
Yes. Every Network+ Academy lesson includes a built-in code editor, so you write and run real code right in your browser and get instant AI feedback — no local setup required.
All lessons in this course
- Spotting Physical-Layer Failures
- Using a Cable Tester and Toner
- Crosstalk, Attenuation, and Interference
- Port, Speed, and Duplex Mismatches