Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Crossover

Direct answer

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.

When to use this

Use it on old equipment without Auto-MDIX when connecting like devices (switch to switch, PC to PC), or to understand legacy cabling.

First 30 seconds

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?

Operational verification

like devices → crossover cable or Auto-MDIX → transmit pairs meet receive pairs → link up

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Cisco IOS / IOS XE
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformCisco IOS / IOS XE · Cisco IOS XE
Key commandshow interfaces GigabitEthernet1/0/1 | include media|MDIX
Scope / prerequisiteUse it on old equipment without Auto-MDIX when connecting like devices (switch to switch, PC to PC), or to understand l…
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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 references

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.

observation · 1
Command lookup Jump straight to Cisco syntax
Key points

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.

Key checks
  • 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> then show 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 devicesCable
Switch ↔ switchCrossover
Switch ↔ hubCrossover
Router ↔ routerCrossover
Router ↔ workstationCrossover
Workstation ↔ workstationCrossover

Wiring

SpeedCrossover wiring
10/100 Mbit/sOne end T568A, the other T568B: pair 1-2 swapped with 3-6
1000 Mbit/sAll 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

SymptomCheck
No link between two switchesAuto-MDIX disabled on both ends or unsupported
Link only after forcing speedHard-coded settings can disable auto-MDIX on some platforms
Link but errorsA 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.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docCisco IOS / IOS XE Current documentation reviewed 2026-09-14

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%
Confirmation

Confirm action

Continue?