Tiza Group

Home / Guides / Testing, commissioning and faults

Unused Switch Ports Left Open in a Substation

Enabled but empty substation switch ports: how to inventory them, tell spares apart and close them without breaking anything. We configure it remotely.

By Shadai García, CEO and protection engineer at Tiza Group.

Short answer

An empty but enabled port lets anyone with a cable into the substation network. Before disabling it, prove it is really free: port status and counters, learned addresses, network drawing and physical cable run. Then disable it, remove it from process VLANs, label it and keep the approved list to compare against.

Symptom

A network review turns up switch ports with nothing connected but still enabled: plug in a laptop and they link up and pass traffic. The reverse also happens: cables are connected and run to a point nobody recognizes, or the configuration has active ports that are not on the drawing. The finding usually comes from an audit, from site acceptance or from a contractor who plugged in wherever convenient.

There is no visible failure: protection and SCADA work as before. The issue is exposure, and it is worse if the free port belongs to the VLAN carrying relay-to-relay messages or to the management VLAN. The general rule of closing what is not used is covered in hardening relays, switches and IEDs; this guide is about finding which port is surplus and closing it without leaving anyone offline.

Likely causes, from most to least likely

CauseHow to recognize itWhat confirms or rules it out
Switch delivered with all ports enabledEvery free port has the same factory or template configurationCompare with another switch of the project and with the delivered configuration file
Device removed and port not cleaned upPort description names equipment that is gone; VLAN still assignedChange history, date of last link loss
Temporary commissioning connectionPort in a process or management VLAN, with no description or a generic oneTest records; addresses seen only during the works
Spare planned in the design but left activeListed as spare on the drawing or port scheduleThe design; ruled out if no document shows it
Occasional-use port (engineering, portable recorder)Sporadic link, always with the same addressesLink event log matched with work orders
Undeclared deviceThere is link or learned addresses and the drawing says “free”MAC address, vendor deduced from it and cable tracing

How to diagnose it

  1. Export each switch configuration. For every port note enabled or not, description, native and allowed VLANs, mode (access or trunk) and any access control.
  2. Read the real status. On SNMP-managed switches, the standard interfaces table (IF-MIB, RFC 2863) separates administrative status (what was configured) from operational status (what is happening) and records when it last changed. An “enabled, no link” port is a candidate, not yet a free port.
  3. Look at the past, not just the instant. Review frame counters and the link up/down log. A switch reboot may clear counters: note since when they have been counting.
  4. Review learned addresses. The MAC address table says what is behind each port right now. Entries age out, so a silent device may not appear. If the switch publishes neighbors with LLDP (IEEE 802.1AB), use it as a second source.
  5. Cross-check the documents. Network drawing, communication matrix, addressing plan and asset inventory. Each port must end up in one of four boxes: documented in use, undocumented in use, spare or free.
  6. Trace the cable. For undocumented ports and any port with a cable but no link, follow it to the far end. A fiber or pair that ends in someone else’s cabinet, an office or a guard hut is a separate finding.
  7. Let one operating cycle pass. Before closing doubtful ports, watch a period that includes periodic maintenance and scheduled downloads.

If an unknown device shows up, handle it with the guide on unknown traffic on the network before disabling anything: shutting the port stops the connection, but note address, time and port first.

Illustrative example

A generic case with made-up figures. A substation has 4 switches of 24 ports, 96 ports in all. The inventory finds 61 with link. Of the remaining 35, 6 are listed as spares in the design, 2 are engineering ports that link only during maintenance, 1 is the second path of a redundant device that was switched off and 26 appear in no document. In addition, 3 of the 61 linked ports are shown as free on the drawing.

The outcome is not “disable 35”: 26 ports are disabled, 6 spares are disabled and labeled, 2 engineering ports stay closed and are opened by work order, and 1 is kept: 26 + 6 + 2 + 1 = 35. Separately, the 3 connections the drawing showed as free are investigated.

What to do

  • Free port: disable it, remove process and management VLANs and, if the switch allows, leave it in an isolated VLAN with no way out. Save the configuration permanently, because on many devices a change held only in running memory is lost at reboot.
  • Spare: disabled and labeled on the device and in the port description.
  • Engineering and maintenance: closed by default and opened only during the job, or with authentication of the connecting device. For that second option see RADIUS and 802.1X in the substation network, and first check what happens to relays if the authentication server does not answer.
  • Port in use: limit the allowed addresses if the switch supports it. Note that replacing a failed device changes the address and the rule must be updated; if nobody knows, the spare unit will not link in the middle of an emergency.
  • Ownerless connection: identify it, decide with the person responsible for the installation and record the decision.
  • Baseline: export the final configuration and the approved port list. SNMP and syslog monitoring can raise an alarm when a closed port shows up active again.

Close one switch at a time, checking GOOSE subscriptions, SCADA signals and time synchronization before moving to the next.

Field checklist

  • Configuration of each switch exported and backed up.
  • Port table: configured, operational, last change, VLAN, description.
  • Learned addresses and neighbors noted with date and time.
  • Each port classified: in use, undocumented, spare or free.
  • Unidentified cables traced end to end.
  • Redundant and engineering ports confirmed with operations.
  • Changes applied in a window, one switch at a time, and saved.
  • Protection, SCADA and time communications verified after each switch.
  • Approved list and drawings updated.

What not to do

  • Do not bulk-disable “everything that is down today”: you may close a redundant path and not notice until the main one fails.
  • Do not shut the port you are managing the switch through, or a trunk, without local console access.
  • Do not rely on a physical blocker as the only measure: it does not change the configuration.
  • Do not make the change without a backup and a way to roll it back.
  • Do not trace cables through cubicles, trenches or panels with live parts without qualified staff and the site safety rules.

When to call us

Call us when there are several switches and no reliable drawing, when connections appear that nobody can explain or when closing ports must be coordinated with VLANs, GOOSE and redundancy without losing functions. We configure it remotely, with a prior backup and verification afterwards: request configuration support.

Open it in Tiza Designer: the hardening baseline helps record what must be closed on each device.

References

  • IEEE 802.1X-2020, Port-Based Network Access Control.
  • IEEE 802.1AB, Station and Media Access Control Connectivity Discovery.
  • IETF RFC 2863, The Interfaces Group MIB.
  • IEC 62443-3-3:2013, System security requirements and security levels.
  • NERC CIP-007-6, Cyber Security – System Security Management (requirement R1, ports and services).

Frequently asked questions

If a port has no link, can I just disable it?

Not always. It may be the engineering port used only during maintenance, the second path of a redundant device, a spare planned in the design or a device that is switched off that day. Check current status against history, the network drawing and the cable run before deciding.

Is unplugging the spare cable enough?

No. The port stays enabled and whoever plugs in another cable gets a link. Disable it in the configuration, save it permanently and, as an extra barrier, fit a physical port blocker.

What about spare ports the project requires?

Leave them disabled and labeled as spare. Enable them with a work order when they are put to use, and update the approved port list the same day.

WhatsApp