Use it on old equipment without Auto-MDIX when connecting like devices (switch to switch, PC to PC), or to understand legacy cabling.
Crossover
A crossover cable swaps the transmit and receive pairs (1-2 with 3-6) to connect like devices such as switch-to-switch; Auto-MDIX on modern ports makes the cable type irrelevant.
1. Like devices connected and no link?
2. show interfaces <if> | include media|MDIX / check mdix auto and speed auto on the ports.
3. Auto-MDIX needs speed auto on many platforms.
4. Otherwise use a crossover cable.
5. Link at expected speed?
like devices → crossover cable or Auto-MDIX → transmit pairs meet receive pairs → link up
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
show interfaces GigabitEthernet1/0/1 | include media|MDIXVerification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Checking MDI/MDIX Verify boundary
show interfaces GigabitEthernet1/0/1 | include media|MDIX
interface GigabitEthernet1/0/1
mdix auto
Auto-MDIX requires speed and duplex on auto on many platforms. If two old devices without Auto-MDIX will not link, use a crossover cable.
Step 2 Common mistakes Narrow the fault
- Using crossover cables on modern gear unnecessarily — Auto-MDIX handles straight cables.
- Disabling Auto-MDIX while forcing speed/duplex, then using the wrong cable.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
A crossover swaps transmit and receive (1-2 with 3-6; for gigabit also 4-5 with 7-8). With Auto-MDIX (the default on modern ports, mdix auto) a straight-through cable works between like devices too. A wrongly wired gigabit crossover often gives a 100 Mb/s link.
show interfaces status— connected, speed, duplex, VLAN and media type per port.show interfaces <if>— line/protocol state, input errors, CRC, collisions, last change.show interfaces <if> counters errors— FCS, alignment, runts and late collisions.test cable-diagnostics tdr interface <if>thenshow cable-diagnostics tdr interface <if>— pair status and fault distance (supported copper ports).show interfaces transceiver detail— optical levels on fibre ports.show logging | include LINK|DUPLEX— link flaps and duplex mismatches.
ReferenceWhat it is1 section · depth on demand
When it is used
One end is T568A and the other T568B, so pins 1–2 (transmit) meet pins 3–6 (receive). It connected like devices (switch–switch, PC–PC, router–router) on 10/100 Mb/s ports without Auto-MDIX.
Today Auto-MDIX makes crossover cables mostly unnecessary. If a link stays down between two older devices, check mdix auto on the interface or try a crossover cable.
ReferenceWhy it matters1 section · depth on demand
Overview
Crossover cables swap transmit and receive pairs (T568A on one end, T568B on the other; for gigabit all four pairs are crossed) and historically connected like devices (switch to switch, PC to PC).
Auto-MDI/MDIX (mdix auto, default) made crossover cables mostly obsolete. They matter only with old equipment or when auto-MDIX is disabled together with fixed speed/duplex.
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
Crossover cables
A crossover cable swaps the transmit and receive pairs between the ends, so two like devices can talk directly. Cisco's Catalyst cable guide lists where it applies: switch to switch, hub to hub or switch to hub, and router to workstation.
Crossover cases (Cisco table)
| Pair of devices | Cable |
|---|---|
| Switch ↔ switch | Crossover |
| Switch ↔ hub | Crossover |
| Router ↔ router | Crossover |
| Router ↔ workstation | Crossover |
| Workstation ↔ workstation | Crossover |
Wiring
| Speed | Crossover wiring |
|---|---|
| 10/100 Mbit/s | One end T568A, the other T568B: pair 1-2 swapped with 3-6 |
| 1000 Mbit/s | All four pairs swapped (1-2↔3-6 and 4-5↔7-8) |
Auto-MDIX makes crossovers mostly unnecessary
Ports with auto-MDIX detect whether they need to swap pairs internally. Catalyst 9300 interfaces have it enabled by default (Catalyst 9300 interface guide), so a straight-through cord works for switch-to-switch links too.
SW1(config)# interface GigabitEthernet1/0/48
SW1(config-if)# mdix auto
SW1# show interfaces GigabitEthernet1/0/48 status
Port Name Status Vlan Duplex Speed Type
Gi1/0/48 to-SW2 connected trunk a-full a-1000 10/100/1000BaseTX
When a link with the wrong cable fails
| Symptom | Check |
|---|---|
| No link between two switches | Auto-MDIX disabled on both ends or unsupported |
| Link only after forcing speed | Hard-coded settings can disable auto-MDIX on some platforms |
| Link but errors | A miswired cable rather than a true crossover |
Rolled (console) cables are different
A rolled cable reverses all eight pins and is used for serial console connections; Cisco's guide notes that some supervisor engines use a rolled cable and some a straight-through one for the console port. It's never an Ethernet data cable.
Documented example, not captured output.
Pin mapping
| Pin (end A, T568B) | Pin (end B, T568A) |
|---|---|
| 1 White/orange | 3 |
| 2 Orange | 6 |
| 3 White/green | 1 |
| 6 Green | 2 |
Gigabit crossovers also swap pairs 4/5 and 7/8. With Auto-MDIX on modern ports, crossover cables are rarely needed.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Physical Networking → Copper Ethernet → Crossover. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.cisco.com/c/en/us/support/ios-nx-os-software/ios-xe-17/series.html · confidence 94%