Auto-negotiation is the Ethernet mechanism that lets two devices on a link exchange their capabilities and select the highest common operating mode, including speed, duplex and flow control, before normal traffic begins. It is defined in IEEE 802.3 Clause 28 for twisted-pair links and extended in later clauses for faster and backplane interfaces.
As a foundational function in Ethernet & switching, auto-negotiation allows a laptop, a server or a network switch port to connect at 10 Mb/s, 1 Gb/s or 10 Gb/s without manual configuration. It is mandatory for 1000BASE-T and faster twisted-pair standards, because those links also use it to agree on clock roles.
How auto-negotiation exchanges capabilities
On twisted-pair copper, auto-negotiation runs over Fast Link Pulses (FLPs), bursts of 17 to 33 pulses sent roughly every 16 milliseconds while no data link exists. The pulses encode a 16-bit base page that lists the technologies a device supports, its pause capabilities and a remote fault flag.
Each side compares its own list with the partner’s and applies a fixed priority resolution table: the highest-performance mode that both advertise wins. For gigabit and faster modes, devices exchange additional next pages carrying extended abilities and the master-slave clock preference.
The sequence below outlines what happens when a cable is plugged in between two compliant ports.
| Phase | What the devices do | Result |
|---|---|---|
| Pulse detection | Each port sends FLP bursts and listens | Partner presence is confirmed |
| Base page exchange | Ports advertise speeds, duplex and pause | Common abilities are known |
| Next page exchange | Ports share gigabit and vendor data | Master and slave roles are set |
| Priority resolution | Ports select the best shared mode | Highest common denominator is chosen |
| Link establishment | Physical layer trains in the chosen mode | Link comes up and frames flow |
Parameters that auto-negotiation settles
Auto-negotiation resolves more than speed. It decides duplex mode, pause frame support and, on gigabit copper, which side provides the reference clock. Modern implementations also coordinate Energy-Efficient Ethernet (IEEE 802.3az) and, for multi-gigabit links, the choice among 2.5, 5 and 10 Gb/s rates defined in IEEE 802.3bz.
| Parameter | Possible values | Why it matters |
|---|---|---|
| Speed | 10 Mb/s to 10 Gb/s on copper | Sets the link throughput |
| Duplex | Half or full | Full duplex removes collisions |
| Pause capability | None, symmetric, asymmetric | Enables IEEE 802.3x flow control |
| Master or slave role | Preferred, forced or resolved | Required for 1000BASE-T clocking |
| Energy-Efficient Ethernet | Supported or not | Allows low-power idle periods |
| Forward error correction | Off, BASE-R FEC, RS-FEC | Needed on many 25 Gb/s and faster links |
On fiber links, behavior differs. 1000BASE-X uses Clause 37 negotiation only for duplex and pause, because the speed is fixed by the optics. Many 10 Gb/s fiber interfaces do not negotiate at all, while 25 Gb/s and faster direct-attach and backplane links use Clause 73 to agree on rate and FEC.
Auto-negotiation compared with fixed settings
Network administrators can either let ports negotiate or hard-code speed and duplex. Fixed settings were popular in the early 2000s, when some implementations negotiated unreliably, but today the general recommendation is to leave auto-negotiation enabled on both ends.
| Side A | Side B | Typical outcome |
|---|---|---|
| Auto | Auto | Best common mode, full duplex |
| Fixed 100 Mb/s full | Fixed 100 Mb/s full | Works if both are set identically |
| Fixed 100 Mb/s full | Auto | Duplex mismatch: B falls back to half duplex |
| Fixed 1 Gb/s copper | Auto | Often no link, since 1000BASE-T requires negotiation |
| Auto with speed limit | Auto | Highest mode within the advertised limit |
The third row explains the most notorious failure. When one side is forced and stops sending FLPs, the auto side uses parallel detection: it can sense the speed from the signal but not the duplex, so the standard requires it to assume half duplex. The result is a link that comes up at the right speed but performs badly.
Troubleshooting negotiation problems
Negotiation faults usually show up as slow transfers, rising error counters or links that settle at a lower speed than expected. Interface statistics on a managed switch are the first place to look, because the symptoms are characteristic.
| Symptom | Likely cause | Corrective action |
|---|---|---|
| Late collisions and CRC errors | Duplex mismatch | Set both ends to auto |
| Gigabit port links at 100 Mb/s | Damaged pair in the cable | Test or replace the cabling |
| Link flaps repeatedly | Marginal cable or faulty transceiver | Check cable length and optics |
| No link on a fiber port | Negotiation enabled on one side only | Match negotiation settings |
| Throughput far below line rate | Pause frames or mismatched FEC | Review flow control and FEC |
A frequent and often overlooked cause of downshift to 100 Mb/s is a cable with one broken pair. 100BASE-TX needs only two pairs, while 1000BASE-T needs all four, so many PHYs deliberately fall back when a pair fails. Cable diagnostics built into switch PHYs, often called time-domain reflectometry, can locate such faults.
Best practices for switch ports
Consistent policy prevents most negotiation problems. The guidance below reflects common practice in enterprise and data center networks built on managed switches.
- Keep auto-negotiation on for copper access ports and server ports unless a device documents a specific requirement.
- Change settings on both ends together whenever a fixed configuration is unavoidable.
- Limit advertised speeds instead of forcing a speed when a slower rate is needed, so duplex still negotiates.
- Match FEC and negotiation modes on high-speed fiber and direct-attach links, consulting both vendors’ documentation.
- Monitor error counters after any cabling or configuration change to catch mismatches early.
Put simply
When two people from different countries meet, they quickly check which languages they both speak and then pick the one they know best. Auto-negotiation is that quick check for network devices.
The moment a cable connects a computer to a switch, both devices announce what they can do, such as how fast they can talk and whether they can talk and listen at the same time. They then agree on the best option both support, all within a fraction of a second and without anyone touching a setting.
In practice
A medium-sized office reports that nightly backups to a file server take six hours instead of the usual forty minutes. The server connects to a managed switch through a copper port, and the link shows as up at 100 Mb/s.
The network technician finds that an earlier administrator had forced the server adapter to 100 Mb/s full duplex, while the switch port remained on auto. The switch had therefore fallen back to half duplex, and its counters showed thousands of late collisions. The technician also replaces an aging patch cable that tests with a faulty pair. With both ends set to auto-negotiation and a new cable installed, the link comes up at 1 Gb/s full duplex, errors stop and the backup completes in about thirty minutes.