Pcornel
Networking · Physical Networking

Interface Troubleshooting

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

Back to the Topic

Answer

Interface troubleshooting starts with show interfaces and show interfaces status: check administrative and line-protocol state, speed and duplex, and error, CRC, collision and drop counters.

Remember

  • Interface troubleshooting starts with status: up/up, down/down or administratively down.
  • Then check speed, duplex and error counters.
  • Clear counters and watch whether errors keep increasing.

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.
  • show interfaces status err-disabled / show errdisable recovery — ports shut by a protection feature.

Commands

show interfaces counters
Shows the input and output octets and the unicast, multicast and broadcast packet counts for every switch port.
show ip interface brief
Compact IPv4 interface/address/protocol state.
show interfaces status
Compact switch-port status, VLAN, duplex and speed.
show ipv6 interface brief
Quick IPv6 interface/address overview.
show interfaces
Display interface status, counters and errors.
show controllers
Display hardware controller details for interfaces.
show inventory
Display hardware inventory with serial numbers.
speed <value>
Set interface speed; set both ends the same way or leave auto.
duplex auto
Let the interface negotiate duplex (default); set both ends the same way.
duplex full
Force full duplex; the far end must also be forced to full duplex.
duplex half
Force half duplex; only for legacy devices that require it.
shutdown
Administratively disable an interface.
no shutdown
Enable an administratively shut down interface.
show interfaces counters errors
Displays compact interface error counters on supported switch platforms.
show interfaces transceiver detail
Display transceiver DOM/DDM measurements such as optical Tx/Rx power and alarms.
show interfaces <interface>
Inspect line/protocol state, counters, errors, drops, MTU and traffic rates.

Verify in this order

admin up → physical link (cable/optic) → speed and duplex agreed → no err-disable → error counters stable → drops explained by load

Where it usually breaks

admin/carrier → media/negotiation → receive integrity versus egress queue → upper-layer path

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

Confirmation

Confirm action

Continue?