Straight-Through, Crossover and Console Cables: CCNA Guide

Choosing the right cable is a classic CCNA question: straight-through between devices of different layers (PC–switch, router–switch) and crossover between like devices (switch–switch, PC–router). Most ports now use Auto-MDIX, but the exam still asks about it.

Exam domain: Network Fundamentals · Level: Beginner · Updated on October 17, 2026 · 2 min read

Topology diagram “Straight-Through, Crossover and Console Cables: CCNA Guide” with 6 devices and 5 links
Topology: Straight-Through, Crossover and Console Cables: CCNA Guide

Edit this template Download .json

Learning objectives

Devices and addressing

DeviceTypeDetails
PC1PC / userManagement
Console COM
SW1SwitchSwitch
Fa0/1
Fa0/24
SW2SwitchSwitch
Fa0/24
Fa0/2
R1RouterRouter
G0/0
PC2PC / userUser
NIC Fa0
PC3PC / userUser
NIC Fa0

Reference configuration (Cisco IOS)

SW1

interface f0/24
 speed 100
 duplex full
 mdix auto
 no shutdown

Verification commands

CCNA exam tips

Rule: different devices → straight-through; like devices → crossover (PC–router and PC–PC count as "like").

With Auto-MDIX enabled the crossover cable is no longer needed on most modern interfaces.

How to use this template

Press “Edit this template”: the editor opens with the topology loaded and ready to change (undo with Ctrl+Z). You can also copy the JSON and paste it into the editor with File ▸ Import JSON…. Then add devices, change IPs and export to PDF, PNG or SVG.

To practice, rebuild the topology in Cisco Packet Tracer, GNS3 or Cisco Modeling Labs and paste the reference configuration on each device. Addresses and names are examples: change them to create your own variants.

JSON template for the editor

This is the full diagram in JSON format. Paste it into the editor (File ▸ Import JSON…) or press the edit button to load it automatically.

Edit this template

Frequently asked questions

When do I use a crossover cable?

Between devices of the same kind: switch to switch, router to router, PC to router.

What is the console cable for?

Local management of the device through the console port, using a USB/RJ-45 adapter and a terminal emulator.

CCNA and Cisco are registered trademarks of Cisco Systems, Inc. This site is independent, not affiliated with Cisco and does not provide official exam material: the templates are study examples.

More related pages