Cable discovery

Edition: PROPro ENTERPRISEEnterprise, off by default

What it does

Every switch already knows its neighbours: LLDP and CDP name the device and the port at the other end of each cable. Cable discovery reads those tables from the switches the Network devices connector already collects, compares them with the cables in NetBox, through every patch panel, and shows what it found on the site's own topology. Nothing is written to NetBox until a person applies it.

A cable is recorded when a project hands over, and from then on it changes in the cabinet, not in NetBox: a drive moved to another port, two access points swapped, a PLC added to a cell switch, or a direct cable entered where the run really goes through two patch panels. Cable discovery finds these, and knows the difference between a direct cable and a run through panels.

FIG. 1 · One link, two witnessesSolid: the path NetBox records, through patch panel C. Dashed: what switch A reports. They agree, so the link is confirmed; a direct A–B cable is never drawn over a patch panel.

What it reads

Cable discovery is a step at the end of each Network devices run. The run is already signed in to every switch in its scope, so it asks for the neighbour tables too, with the same read-only show commands on the same fixed list. The full list, and when each command is sent, is in What each connector reads.

SourceWhat it reads
Cisco IOS and IOS-XEIncluding Industrial Ethernet and Stratix models that run IOS: show lldp neighbors detail and show cdp neighbors detail.
Siemens SCALANCEX, XC and XR switches and the S and SC appliances: show lldp neighbors detail, and show lldp status for the ports where LLDP is switched off.
VMware vCenterWhat each ESXi host's physical NIC hears by CDP or LLDP, as a second witness for the server side of a link.

Each neighbour is matched to one NetBox device by name, PROFINET station name, serial, MAC or address, and to one interface, PROFINET port numbers included. Two candidates, or none, is a question for you, never a guess. Each link is traced in NetBox from end to end, through patch panels, front and rear ports and media converters, as the Physical view traces cables.

Setting up

Cable discovery is off by default, three times over: an administrator turns it on for the install, someone turns it on for a Network devices job, and a job starts at Report only.

Reading the results

The review is the site's logical topology in a discovery mode. It opens on what was found: only the devices involved, on their Purdue levels. Colour is the state, the line is the evidence, and the links waiting for you carry a slow, quiet stream of dots. A review that is waiting shows on the Overview's Needs you, on the site's Topology and Physical heads, and on the Network devices jobs, each with how many links are waiting and how many questions.

How certain

Every link says which rung of the evidence ladder it stands on, in words, never as a percentage, and the line on the drawing is styled to match.

EvidenceLineWhat it means
Confirmed from both endssolidBoth switches were read and each reports the other. The only links the one bulk action, Apply all confirmed from both ends, will write.
One end reports it; the far end is not collecteddashedUsual for end devices such as a PLC or an HMI. Proposed for a person, one at a time.
One end reports it; the other was read and does notdashedBoth ends could have spoken and only one did. Proposed for a person, with that reason.
A vCenter hint onlydottedAn ESXi host's NIC names the switch port, and the switch has not confirmed it.
Seen oncefaintA link must be seen in two runs in a row before it is proposed at all.

What it writes

What it never does:

Limits