Interfaces & Link State
Cheat sheet · https://pcornel.dk/topic.php?topic=427
Answer
An interface is where a device meets a link. Its state — signal, link protocol, speed and duplex, error and drop counters — is the first thing to establish in any connectivity problem.
Remember
Read the two-part state first: up/up works; down/down has no link; administratively down is shut; err-disabled was shut by a protection feature. Input errors point to the physical path, output drops to congestion. Counters are cumulative — only their growth matters.
First checks
show ip interface brief— address, status and protocol per interface.show interfaces status— on a switch: state, VLAN, duplex and speed.show interfaces <interface>— state, MTU, rates, errors and drops.show interfaces status err-disabled— ports disabled by a feature, with the reason.show logging | include <interface>— the port's up/down history.
Commands
show interfaces terse- Compact interface admin/link/address view.
show interface brief- Compact Aruba interface status view.
/interface print detail- Display RouterOS interfaces/state.
show interfaces <interface> transceiver detail- Inspect DOM Tx/Rx power, temperature, voltage and alarm thresholds when supported.
show interfaces [interface]- Inspect line/protocol state, counters, MTU, rates and errors.
show ip interface briefshow interfaces statusshow interfaces
Verify in this order
cable and far end present → link up → speed and duplex agreed on both ends → line protocol up → error counters not growing → no recent flaps in the log
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=427