Volver a la wiki

Port mapping and cabling

Port mapping and cabling

What it is

The properties panel of a switch shows a per-port table: VLAN, speed, admin/oper status, mode (access/trunk), and description. CreaRack reads this live from the device via SNMP, with an SSH fallback for VLAN details. On top of the live data you can record desired values, compare them against the device, and document which cable goes where.

Credentials are never typed in or sent by the browser for any of this. SNMP communities and SSH credentials are stored server-side; when SSH runs through the Local Agent, the Agent fetches the credentials from the server by device ID.

How to read port config from the device

The port buttons appear when the device has a discovery profile (created by network discovery or Device Info).

  1. Select the device and click Refresh Ports in the properties panel.
  2. CreaRack reads the ports via SNMP first. If SNMP returns no VLANs, it supplements them over SSH through the Local Agent (commands like show interfaces status and show vlan brief, adapted per vendor).
  3. A toast confirms the result, e.g. “Read 24 ports + 4 SFP via SNMP”.

With Agent 2.46.2 or newer, the port table works on more makes. Ports that carry several VLANs show as trunk, with their allowed VLANs, on HP, D-Link and TP-Link switches. Ports are also recognised on TP-Link, MikroTik and Ubiquiti, which name their ports differently («port 1: Gigabit Copper», «trunk: sw72 (eth2)», «GigabitEthernet 1/1»).

With Agent 2.46.3 or newer, Juniper switches show their trunks, allowed VLANs and VLAN names too. This needs the device’s make to be Juniper in its discovery profile. If the Juniper is a stack of several switches joined together (a virtual chassis), the port table shows the ports of the first switch of the stack, because the drawing has room for one switch.

With Agent 2.46.5 or newer, the light of each port (up or down) shows the state at the moment of the refresh; before, it showed the state saved at the device’s last full discovery, so a port unplugged since then could still show as up. Also, if SNMP leaves some access ports without a VLAN and the device has SSH credentials, those ports are filled in over SSH; what SNMP did read is kept. Cisco switches need this for ports that were never configured by hand, which SNMP leaves out (over SSH they show VLAN 1).

The Ports and SFP sections now show live data per port. Refresh SNMP re-scans the interface list, and Device Info opens the full discovery profile.

Both Refresh Ports and Refresh SNMP read the device through the Agent chosen in Run on (by default your organization’s Primary Agent), because CreaRack’s servers cannot reach the private network where your devices live; the Agent installed on your own computer is no longer needed for this. If that Agent is offline, too slow to answer or older than 2.40.0, CreaRack tells you and offers Choose Agent and, for admins, Open Agent Fleet. Refresh SNMP saves the interface list on the server and tells you how many interfaces it refreshed. If the device returns no interfaces, the ones already in the device card are kept.

These buttons are always shown for a device with network management. When one cannot be used yet, it appears greyed out: hover it to see what is missing — the device is not yet linked to a discovered network device (discover its IP in Auto-Provision), or it has no SNMP credentials saved (Refresh SNMP only).

How to track desired changes and compare

  1. Click a port row to expand its detail.
  2. Enter the desired VLAN, description, speed, or mode. Edited rows are highlighted; this does not touch the device — it is your documented intent.
  3. Click Compare to open the diff modal. It summarizes ports as modified (desired differs from live), match, and manual only, with a field-by-field view.
  4. Use a port’s reset button to drop its desired overrides and fall back to live values.

Re-run Refresh Ports after changing the device to verify reality now matches intent.

How to document cabling (port connections)

  1. In the port table, free ports show an Assign button in the Device column.
  2. Click it to open the Port Connection modal.
  3. Pick the destination device and port, optionally the cable Type (Cat6, fiber, DAC…), Color, Length, and notes, then click Connect.

The connection appears as a clickable device name on both ends — click it to jump to the connected device, even in another rack. A port can hold only one connection; delete the existing one first to re-patch. Devices discovered on the network (profiles) can also be attached to switch ports, with auto-suggestions based on LLDP/CDP neighbor data.

How to export a cable report

Open Operations in the editor toolbar and click Cable Report. A printable HTML report opens with every connection in the rack, including cable details and topology diagrams. A Markdown download is also available from the same report API.

Troubleshooting

“No port data returned”

VLANs are empty after Refresh Ports

“Port X is already assigned”

Subir