Use it when connecting an end device to a switch, or when patching unlike devices.
Straight-through
A straight-through cable uses the same pinout at both ends and connects unlike devices such as a PC to a switch.
1. Link up? show interfaces status.
2. No link between two switches with a straight cable → Auto-MDIX off (mdix auto) on old hardware.
3. Link only at 100 Mb/s → a pair missing or mis-wired.
4. test cable-diagnostics tdr interface <if>.
5. Re-terminate or replace the cable.
same pinout both ends → unlike devices (or Auto-MDIX) → all four pairs connected → link at full speed
Context & applicabilityCommon mistakes · platform/version boundaries
- Mixing T568A on one end and T568B on the other by accident (becomes a crossover).
- Untwisting pairs too far at the termination.
- Using patch cable (stranded) for long permanent runs.
Operational reference
Fast context before you go deeper.
Verification & 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 Troubleshooting a cable Narrow the fault
- Link down: check both ends, try a known-good cable, and use
test cable-diagnostics tdr interface Gi1/0/1thenshow cable-diagnostics tdr. - Link only at 100 Mb/s: a pair is broken (Gigabit needs all four).
- Intermittent errors: damaged connector or bent cable — replace the patch cord first.
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.
Straight-through connects unlike devices: PC or router to switch. Pinout T568B at both ends (or T568A at both). Almost all modern ports have Auto-MDIX, so the cable type rarely matters any more — but 1 Gb/s and faster need all four pairs wired correctly.
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
Both ends use the same standard (T568B–T568B or T568A–T568A). It connects unlike devices: PC → switch, router → switch, AP → switch.
With Auto-MDIX (standard on Gigabit and newer ports) the port swaps transmit and receive pairs itself, so a straight-through cable also works between like devices. Gigabit Ethernet uses all four pairs anyway.
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
Straight-through cables
A straight-through cable connects each pin to the same pin at the other end. Cisco's Catalyst cable guide gives the classic rule: hubs and switches connect to routers and workstations with straight-through cables, and on IOS switches the cable doesn't change when a port is configured as Layer 3 instead of Layer 2.
When straight-through is used (Cisco table)
| From | To | Cable |
|---|---|---|
| Switch or hub | Router | Straight-through |
| Switch or hub | Workstation, server, printer | Straight-through |
| Switch or hub | Switch or hub | Crossover |
| Router | Workstation | Crossover |
The rule follows from the port types: hosts and routers transmit on the pins switches receive on, so a straight cable connects them correctly.
Wiring
| Item | Detail |
|---|---|
| Standard | Both ends T568B (or both T568A) |
| 10/100 Mbit/s | Pins 1-2 and 3-6 carry data |
| 1000 Mbit/s and faster | All four pairs carry data in both directions |
SW1# show interfaces GigabitEthernet1/0/5 | include media|duplex
Full-duplex, 1000Mb/s, media type is 10/100/1000BaseTX
SW1# show controllers ethernet-controller GigabitEthernet1/0/5 phy | include MDIX
Auto-MDIX changes the practical picture
Catalyst 9300 interfaces have auto-MDIX enabled by default (Catalyst 9300 interface guide), so the port detects the cable type and adapts. In practice almost every modern link uses straight-through patch cords, including switch-to-switch links.
When the cable type still matters
| Situation | Reason |
|---|---|
| Auto-MDIX disabled | For example when speed and duplex are hard-coded on some platforms |
| Very old equipment | No auto-MDIX support |
| Console connections | Use a rolled or USB console cable, not an Ethernet cable |
Label patch cords and keep only one cable type in stock where possible.
Documented example, not captured output.
Quick reference
Straight-through cables connect pins 1–8 to 1–8 (both ends T568B or both T568A) and historically linked unlike devices (PC to switch).
Since virtually all modern ports support Auto-MDI/MDIX, the cable type rarely matters today; straight-through is the standard patch cord. If a link fails only with a specific cable, test it — damaged pairs show as CRC errors or a link that comes up at 100 Mb/s instead of 1 Gb/s.
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 → Straight-through. 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%