Switch and Port Documentation: How to Track Your Network Hardware
Obelinf explains how to document switches and ports the way working teams do: what to record for every port, why LLDP and CDP only get you halfway, and how to keep records current.

On this page
Every switch in your network is a collection of unanswered questions waiting for the moment they become urgent. What is plugged into port 24? Which VLAN is that port carrying, and does it match the network policy? Is the device on the far end supposed to be there at all? For the first few months after a switch is racked, the engineer who configured it can answer most of those questions from memory. A year later, after a dozen undocumented moves and adds, the same questions send someone to the wiring closet with a laptop, a toner, and a hope that the labels are still right. Switch and port documentation exists to turn those answers from a hunt into a lookup, but only if the records are complete enough, structured enough, and current enough that people actually trust them.
Switches sit at the intersection of nearly everything else you document. The devices connected to their ports are your hardware inventory, the cables that terminate in them tie back to your patch panels, the VLANs they carry define your network segmentation, and the IP space those VLANs serve comes from your IPAM records. Port documentation is the connective tissue of your infrastructure records: when it is accurate, everything upstream hangs together, and when it drifts, every record that depends on it inherits the doubt. This guide covers what to record for every switch and port, how discovery protocols like LLDP and CDP can do half the work for you, where the records should live, and the workflow that keeps them honest over time.
At a Glance: Switch Documentation Approaches
| Tool | Deployment Model | Ideal For | Key Strengths | Licensing / Pricing |
|---|---|---|---|---|
| Obelinf | Managed SaaS or self hosted | Teams that want port records tied to devices, racks, and cables | Structured interfaces, cable links, audit trail, fast setup | Free to paid depending on scale |
| NetBox / Device42 | Self hosted or SaaS | Organizations with dedicated platform teams | Strong data models, APIs, broad feature sets | Free to per device pricing |
| Spreadsheet | Desktop or shared drive | Small, static environments | Familiar and zero cost | Free (your time) |
| Diagram software (Visio, draw.io) | Desktop or web app | Visual layouts and topology snapshots | Clear pictures for communication | Free to paid per seat |
| Wiki / knowledge base | Self hosted or SaaS | Runbooks and team context | Searchable prose, low overhead | Free to paid per seat |
Why Switch Port Records Go Stale
Port documentation decays for the same reason physical layer documentation everywhere decays: the port changes constantly, and the record update is optional. Every move, add, or change in your environment touches a port. A workstation relocates to another desk, a server is migrated to a different switch, a PoE camera is added to a spare port, a patch cord is swapped to move a device to a different VLAN. The physical change takes a technician about thirty seconds to complete. The documentation update takes another minute, which is a minute the technician does not have, so it gets postponed, and postponed updates have a way of becoming updates that never happen. The result is a slow, silent drift between what your records say and what the switch actually does.
The consequences compound quietly until an incident exposes them. A port that cannot be identified costs real time to resolve, and the cost scales with how wrong the records are. Documented case studies put the difference in stark terms: one airport operator cut the time to resolve a circuit lookup from roughly 30 minutes to under a minute once its cabling records were complete, and industry estimates put the cost of a minute of downtime for a midsize business around $5,600. When the port you cannot identify is the port that is down, those two numbers meet in an expensive place. Teams that formalize their network documentation consistently report mean time to repair improvements of 40 to 50 percent within the first year, because the first question in every troubleshooting session, what is this port and what is it connected to, stops being a project.
What to Record for Every Switch and Port
Start at the device level, because a port record is only useful if it hangs off a switch you can identify. Every switch needs its hostname, vendor and model, serial number, firmware version, role, and the site and rack where it is mounted, plus its stack membership if it is part of a stacking group. A consistent naming convention makes this layer self documenting: a hostname like nyc-core-sw-01 carries location, role, and identity in one string, which is exactly what the interface and port naming conventions in the toolkit standardize. The same discipline applies to your device inventory, where the switch record carries the serial, the firmware, the rack position, and the management address, so the device and its ports are documented in the same place.
At the port level, the fields that matter fall into two groups: configuration and connection. Configuration fields describe what the port is set to: the interface identifier in the vendor’s native format, admin and operational status, the description or purpose, the VLAN and whether the port is access or trunk, speed and duplex, and PoE state including the negotiated power draw. Connection fields describe what the port touches: the cable identifier, the far end device and port, and the date the connection was last verified. Ports play different roles, and the record should reflect that: an uplink to the core carries trunk details and the peer device, while an access port for a workstation carries the VLAN, the owner, and the patch panel mapping. A VLAN and subnet naming scheme that matches your port records makes the grouping obvious to anyone who reads either one.
Let LLDP and CDP Do Half the Work
You do not have to build port records by hand, because your switches already know their neighbors. LLDP, the Link Layer Discovery Protocol, is the vendor neutral standard where switches advertise their identity, capabilities, and port details to directly connected devices, and CDP is Cisco’s equivalent for the same job. Every neighbor table on every switch holds a small goldmine for documentation: the remote device’s hostname, its device type, the remote port identifier, the VLAN, and often the management IP. Export those tables across your fleet and you have a live layer 2 map of your network without touching a single cable, which makes an LLDP or CDP sweep the fastest possible starting point for port documentation.
The catch is that discovery only takes you halfway, and it is worth being clear about why. An LLDP neighbor table shows what is plugged in right now; unplug a cable and the entry disappears with it, so it carries no history. It shows the far end device, but not the port’s description, the cable identifier, the owner, or whether the connection is intentional, and those are the fields that turn a neighbor list into documentation. A link between an access switch and an unknown device can be an authorized camera or a rogue access point, and LLDP will not tell you which. The practical workflow is to use discovery to build the baseline, importing the neighbor tables into your records, and then enrich each port with the intent layer, the descriptions, cables, and owners that only a human maintained record provides.
Where the Records Should Live
The storage decision determines whether port documentation survives contact with reality. A spreadsheet is where most teams start, because it is familiar and free, but a spreadsheet stores rows, not relationships: it cannot represent that port 24 on dist-sw-02 connects through cable PP3-A12 to a specific device in a specific rack, and every one of those connections has to be reestablished by whoever reads the sheet. A wiki is excellent for runbooks and context but weak at structured records where consistency and queryability matter more than prose. Diagram software produces beautiful snapshots that go stale the moment a patch cord moves, because the relationship data behind the drawing is not maintained. Each of these works for a small, static environment, and each of them fails as the change rate climbs.
Purpose built infrastructure management platforms model ports, cables, and devices as related records, which is the property that makes documentation searchable and traceable rather than decorative. Obelinf takes this approach from the ground up: switches are devices with interfaces, every interface carries its settings, and the cables that connect ports are records with two endpoints. NetBox and Device42 are well regarded structured alternatives with strong data models and APIs, and the honest difference is operational: they expect a team to deploy, upgrade, and maintain the platform itself, which suits organizations with dedicated platform engineers and is a real cost for smaller teams. Whatever you choose, the workflow around the tool matters more than the tool itself, because a well maintained spreadsheet beats an abandoned platform, and the goal is records that people update because updating them is the path of least resistance.
Make Port Updates Part of the Change
The single most reliable way to keep port records accurate is to make the update part of the change, not a follow up task. When a move, add, or change touches a port, the documentation update belongs on the same ticket as the physical work, with a named owner and a definition of done that includes the record update. Teams that treat documentation as a chore attached to the end of the task skip it under pressure, and every skipped update feeds the drift cycle described earlier. The stronger variant is to make the record itself the work order: plan the change in the system, execute it physically, and confirm the system state when the work is complete. Cable tracking in Obelinf supports this by keeping the connection between the port and its far end in the same place as the devices it touches, so a port change and its documentation live in one record instead of a ticket and a spreadsheet that drift apart.
A change history is the second half of the workflow. When every update to a port record leaves an immutable trail of who changed what and when, the documentation becomes accountable: if a connection changes and nobody records it, the audit trail at least shows the last known state and the date it was verified, which tells the team how far back to look. That field level history doubles as compliance evidence for frameworks like SOC 2 and ISO 27001, where auditors want to see how the network’s physical layer is controlled. Documentation discipline is also a team norm, and norms are set by example: when engineers see their leads update records as part of every change, the behavior becomes the expectation rather than an optional extra, and new hires inherit a source of truth they can actually rely on.
Audit Your Port Records
No matter how disciplined the workflow, records drift, and the only cure is a scheduled reconciliation between your records and the network itself. Export the LLDP or CDP neighbor tables and the interface configuration from your switches, then compare them against your port records: ports the network reports but your records lack are candidates for documentation or investigation, and ports your records list but the network no longer sees are candidates for review, decommissioning, or simply a device that is offline. Run the cycle on a schedule, quarterly for most environments and monthly for high churn ones, and the exercise surfaces problems while they are cheap to fix. The same pattern belongs in a broader network audit, where port verification sits alongside VLAN, IP, and topology checks.
The findings deserve scrutiny because some of them are security events in disguise. A documented port that turns out to be dead is a re-cabling opportunity. An active port with no record at all is something else: it can hide a forgotten device, a rogue switch, or an access point that nobody sanctioned, and an undocumented active port on a production segment is exactly the kind of gap an auditor or an attacker will find before you do. Every finding needs to flow back into the records, the dead port marked, the hidden device documented, the unknown link traced and classified, and the verified records stamped with a date. When an audit produces no updates, either the environment is perfect or the audit was not thorough, and the verification dates are what make the difference between trusting your port documentation and assuming it is wrong.
Switch Ports as First-Class Records
Obelinf treats switch ports as part of the device record rather than a separate tracking effort. Every switch in your device inventory carries its interfaces, and each interface records the settings that matter, the VLAN, speed, PoE, and description, while cable tracking links the port to its far end so the connection between a switch port, a patch panel, and a server is explicit rather than implied. Because ports inherit the context of the device, a port lookup resolves the whole picture in one query: the rack position, the VLAN, the cable path, and the device on the other end, with the network topology view showing how the connection fits into the wider network.
The platform is built so port documentation stays current instead of decaying. Changes are recorded with an immutable field level history, so you can see what changed, who changed it, and when, and verification dates let you tell confirmed records from guesses at a glance. Discovery exports from your switches can seed the records, tagging and search make any port findable by interface, device, cable, or VLAN, and because the data model is structured, a port change propagates through racks, cables, and topology instead of requiring five separate edits. That is the difference between a spreadsheet that documents your switches and a source of truth that tracks your network hardware through its entire life. Sign up at obelinf.com and start documenting your switch and port records the way a working network deserves.
Frequently Asked Questions
What should be documented on a network switch?
How do I document switch ports?
What is the best tool for switch and port documentation?
Why is switch port documentation important?
What is LLDP and how does it help with network documentation?
Stop reaching for a spreadsheet
Obelinf keeps every subnet, device, circuit, and rack in one live source of truth, with audit logs and a topology view. Free for personal use.
Related Articles

Patch Panel and Structured Cabling Documentation
A practical guide to patch panel and structured cabling documentation, covering TIA-606 labeling, what to record for every port and cable, and how to keep records accurate.
Read more
Cross Connects Explained: Meet Me Rooms, Fiber, Lead Times, and Pricing
Learn how data center cross connects work, what happens in a meet me room, which fiber type to order, how long installation takes, and what it costs.
Read more
Planned Maintenance Windows in Data Centers: Scheduling Around Risk
How to schedule data center maintenance windows around risk: redundancy limits, maintenance modes, business cycles, third party windows, and the change process and checklist that keep planned work safe.
Read more