Pcornel
Networking · Network Fundamentals

Cabling & Interface Faults

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

Back to the Topic

Answer

Copper twisted pair reaches 100 metres; multimode fibre a few hundred metres; single-mode fibre kilometres. A bad cable, connector or transceiver — or a speed/duplex mismatch — shows up as errors on the interface counters.

Remember

CRC and input errors mean frames arrived damaged: cable, connector, transceiver or interference. Late collisions on one side with CRC errors on the other is the signature of a duplex mismatch. Both ends must use autonegotiation, or both must be fixed — never one of each.

First checks

  • show interfaces status — connected or not, VLAN, duplex, speed, media type.
  • show interfaces <interface> — line and protocol state, CRC, input errors, collisions, late collisions.
  • show interfaces <interface> transceiver — transmit and receive light levels on fibre.
  • show interfaces status err-disabled — ports shut down by the switch.
  • clear counters <interface> — zero the counters to see what is growing now.

Commands

show interfaces description
Lists every interface with its admin status, line protocol and the description text set on it.
show ip interface brief
Compact IPv4 interface/address/protocol state.
show interfaces
show interfaces status
show interfaces <interface>
show interfaces <interface> counters errors
show interfaces <interface> transceiver
show interfaces status err-disabled
clear counters <interface>
test cable-diagnostics tdr interface <interface>
show interfaces transceiver
clear counters
show logging

Verify in this order

right cable type and length → both ends connected → autonegotiation agrees on speed and full duplex → line and protocol up → error counters not increasing → fibre light levels within range

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=146

Confirmation

Confirm action

Continue?