Pcornel
Networking · Physical Networking › Copper Ethernet

Crossover

Cheat sheet · https://pcornel.dk/topic.php?topic=883

Back to the Topic

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.

Remember

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.

First 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.

Verify in this order

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

Where it usually breaks

media/optics → administrative state → carrier/line protocol → negotiation → error/drop counters → neighbor discovery → upper-layer adjacency

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=883

Confirmation

Confirm action

Continue?