Twelve ports, one label maker, zero excuses — still.anerdatwork.com
Twelve ports, one label maker, zero excuses
NetworkMarch 18, 20248 min read

Twelve ports, one label maker, zero excuses

The cable you can't trace is an outage you haven't had yet. A short argument for labelling both ends.

The label that saves the day

Every datacenter has that moment. You’re staring at a wall of patch cables, all identical, all unlabelled on one end, and you need to trace which server connects to which switch port.

The cable you can’t trace is an outage you haven’t had yet.

Why both ends matter

I’ve seen too many teams label only the equipment end. “We know what’s plugged into the switch,” they say. But what happens when:

  • That patch gets bumped during maintenance
  • You need to trace a loopback during troubleshooting
  • The original engineer left six months ago

Labeling both ends takes two seconds and saves hours.

# Quick script to generate labels from inventory
cat << EOF > generate_labels.py
import csv
with open('port_inventory.csv') as f:
    reader = csv.DictReader(f)
    for row in reader:
        print(f"{row['server']} -> {row['switch']}-{row['port']}")
        print(f"{row['switch']}-{row['port']} -> {row['server']}")
EOF

The label maker argument

Cheap label makers use thin tape that fades. Invest in the good stuff. Your future self will thank you during a 2 AM pager duty.


The incident that changed everything

Three years ago, we had an outage that traced back to a mislabelled cable. We pulled the wrong one during maintenance because the labels were only on one end and someone had “temporarily” swapped two cables three months prior.

That temporary swap was never documented. Never reversed. And when we needed to trace it during an incident, we couldn’t tell which was which.

After that, label both ends became policy. Not a suggestion. A requirement.