affaan-m avatar

Network Interface Health

When you're staring at packet loss or intermittent connectivity and need to know if it's a cable, a bad optic, or just congestion, this walks you through capturing interface counters on both ends of a link, waiting, then comparing the deltas. It covers CRCs, duplex mismatches, input versus output drops, and includes a solid parser example that slices show interface output by header instead of guessing at character windows. The counter reference table is genuinely helpful for separating "my fiber is dirty" from "my uplink is oversubscribed." The main thing it gets right is insisting you check both sides before swapping hardware and never mix auto negotiation with fixed settings.

skills.sh installs
5.4K
GitHub stars
300.3K
last updated
Aug 21, 2026

Install

$ npx -y skills add affaan-m/ecc --skill network-interface-health --agent claude-code

Installs into .claude/skills of the current project.

Files

Network Interface Health

Use this skill when a network symptom might be caused by a physical link, switch port, cable, transceiver, duplex setting, or congested interface.

When to Use

  • A host or VLAN has packet loss, latency spikes, or intermittent reachability.
  • A switch or router interface shows CRCs, runts, giants, drops, resets, or flaps.
  • You need to compare both ends of a link before replacing hardware.
  • A change window needs before/after interface counter evidence.
  • Monitoring reports rising ifInErrors, ifOutErrors, or ifOutDiscards.

How It Works

Interface counters are evidence, but the trend matters more than the absolute number. Capture a baseline, wait a measurement interval, capture again, then compare increments.

show interfaces <interface>
show interfaces <interface> status
show logging | include <interface>|changed state|line protocol

On Linux hosts:

ip -s link show <interface>
ethtool <interface>
ethtool -S <interface>

Counter Reference

Sponsors

Details

Repository
github.com/affaan-m/ecc
Category
Debugging
First seen
Jul 14, 2026

More from affaan-m/ecc

All 263

Recommended

More Debugging
1affaan-m avatarhomelab-pihole-dnsaffaan-m/eccPi-hole installation, blocklist management, DNS-over-HTTPS setup, DHCP integration, local DNS records, and troubleshooting broken DNS resolution on a home netwo5.4Kskills.sh installs
2axiomhq avataraxiom-sreaxiomhq/skillsExpert SRE investigator for incidents and debugging. Uses hypothesis-driven methodology and systematic triage. Can query Axiom observability when available. Use5.4Kskills.sh installs
3jeffallan avatarsre-engineerjeffallan/claude-skillsDefines service level objectives, creates error budget policies, designs incident response procedures, develops capacity models, and produces monitoring configu5.4Kskills.sh installs
4trailofbits avatarskill-improvertrailofbits/skillsIteratively reviews and fixes Claude Code skill quality issues until they meet standards. Runs automated fix-review cycles using the skill-reviewer agent. Use t5.4Kskills.sh installs
5affaan-m avatarenergy-procurementaffaan-m/eccCodified expertise for electricity and gas procurement, tariff optimization, demand charge management, renewable PPA evaluation, and multi-facility energy cost 5.4Kskills.sh installs
6affaan-m avatarnetwork-bgp-diagnosticsaffaan-m/eccDiagnostics-only BGP troubleshooting patterns for neighbor state, route exchange, prefix policy, AS path inspection, and safe evidence collection.5.4Kskills.sh installs