Tiza Group

Home / Guides / Testing, commissioning and faults

Switch Port That Shuts Down Silently and Isolates an IED

A switch port shuts itself down and leaves an IED off the network: causes, what to read in the log and prevention. We configure it remotely.

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

Short answer

When a switch port shuts down by itself, almost always the switch itself shut it down because of a protection rule (loop, excess errors, disallowed address, storm control), or the physical link dropped because of a cable, a connector or a transceiver at its limit. The switch log says what the reason was; if there is no log or alarm, that is the first defect to fix.

Symptom

An IED disappears from the network. The SCADA shows the communication alarm, the relay does not respond to a connectivity test and, on going to the cabinet, the port indicator is off. Sometimes it comes back by itself after minutes or hours; other times it stayed that way until someone disconnected and reconnected the cable. No switch warning announced it. The protection of the isolated IED can keep working with its hardwired inputs, but any function that depends on the network (GOOSE messages, reports, remote settings, network synchronization) is compromised.

To know what is normal in a substation switch, see substation Ethernet switch. This guide deals only with a port that drops or shuts down and how to find out why.

Likely causes, from most to least likely

CauseHow to recognize it
Degraded physical link: cable, connector, dirty fiber or transceiver at its limitLink drops and recoveries with frame errors that increase before the drop
Shutdown by the switch’s own protection: loop detected, storm, excess errorsThe log shows the port state and the reason, or the port appears as blocked by a function
Port security: an unauthorized address or too many addressesHappens after changing a device, connecting a laptop or replacing an IED
Different speed or duplex negotiation between the two endsFrame errors at one end and late collisions at the other
RSTP topology change that leaves that port blockingThe port is up but not forwarding; the tree changed after a switching operation
Switch power supply or temperatureSeveral ports with the same pattern; see communications cabinet that overheats and shuts down the switch
The IED itself: network interface that restartsThe port goes up and down with the device restart, with no prior errors

How to diagnose it

  1. Read the switch log before touching anything. Time of each drop or shutdown, current port state and the reason if reported. That evidence is lost if the device is restarted.
  2. Look at the port counters: frame errors, drops, accumulated link drops. A high error counter before the drop points to the physical layer; a clean counter points to a switch rule.
  3. Compare the two ends. The negotiated speed and duplex mode must match on the switch and on the IED. A mismatch produces errors at one end and collisions at the other, and degrades the link until it drops.
  4. Review recent history: was a device changed, a laptop connected, a switching operation made, the switch updated? A port disabled by security or by a loop almost always follows a change.
  5. If the medium is fiber, measure the received optical power with a meter and compare it with the transceiver range; clean the connectors before measuring. The guide on single-mode versus multimode fiber in substations helps with the criteria.
  6. If it is copper, test the cable with a certifier or replace it with a new, tested one. Check the route near power cables and the grounding of the shields.
  7. Check RSTP if there were topology changes: which port is root, which ones block and whether the IED port is defined as an edge port. See RSTP and Ethernet redundancy.

Field checklist

  • Switch log saved before any change.
  • Port state and reason for the shutdown noted.
  • Port error and drop counters read.
  • Speed and duplex mode matching at both ends.
  • Fiber or copper connectors clean and properly seated.
  • Replacement cable or fiber tested, if the symptom continues.
  • Recent history of changes and switching operations reviewed.
  • Port alarm wired or sent to supervision.

Illustrative example

Generic situation with invented data. A relay loses the network every few weeks and the port appears off. The switch log shows, minutes before each drop, a growing number of frame errors on that port, and then the link drops and comes back three times in a row until the switch leaves it disabled for excess drops. The connector on the relay side is dirty and the cable runs next to a power cable. It is cleaned, the cable is replaced by one with a corrected route and the port alarm is enabled. In the following quarter there are no drops. The key data was in the log, not in the cabling at a glance.

What to do

  • Physical: clean, replace and measure again. Do not return a doubtful transceiver to service without checking its power.
  • Negotiation: set both ends to the same mode according to the network policy; if auto-negotiation is used, use it at both.
  • Loop or storm: find the origin before re-enabling the port; otherwise it will shut down again. See traffic storm in the substation network.
  • Port security: register the address of the new device or authorize the change through the procedure; do not disable the function across the whole network for one exception.
  • RSTP: define the ports that go to IEDs as edge ports and review the topology; network configuration is work for qualified personnel.
  • Without warning: send the state of each critical port to supervision, by alarm contact or through the management protocol. A critical port that is down must be seen in the SCADA, not discovered at the next fault.
  • Automatic recovery: if policy allows, configure a port disabled by a rule to recover after a time and leave a record in the log. If not allowed, define who handles it and within what time.

Reading logs and counters is safe. Changing the switch configuration on a network in service requires a rollback plan and qualified personnel, because a mistake can isolate more devices.

What not to do

  • Do not restart the switch as a first action: it erases evidence and can isolate the whole station network.
  • Do not re-enable the port over and over without knowing why it shut down.
  • Do not disable the switch protection functions to prevent them from shutting down ports.
  • Do not connect foreign devices to free ports of the substation switch.
  • Do not work in energized cabinets or move fiber connectors with the transmitter on without the optical and electrical safety precautions of your procedure.

When to call us

If you cannot identify why the port shuts down, if the isolation repeats after replacing the cable and transceiver, or if you need to review the RSTP, security and alarm configuration of several switches, a specialist is advisable. We configure it remotely. Request it at remote relay configuration.

References

  • IEC 61850-3, Communication networks and systems for power utility automation, Part 3: General requirements.
  • IEEE 1613, Standard Environmental and Testing Requirements for Communications Networking Devices Installed in Electric Power Substations.
  • IEEE 802.3, Standard for Ethernet.
  • IEEE 802.1Q, Bridges and Bridged Networks.
  • IEC 62439-3, Industrial communication networks: High availability automation networks, Part 3: Parallel Redundancy Protocol (PRP) and High-availability Seamless Redundancy (HSR).

Frequently asked questions

Why does a port stay shut down and not recover by itself?

Because some switch protection functions disable the port when they detect a condition (loop, excessive traffic, disallowed address, continuous errors) and wait for a manual action or a timer. If automatic recovery and the alarm were not configured, the downstream device is isolated without anyone noticing.

How do I tell a physical problem from a configuration one?

Look at the port log. If there are link drops with error counters rising beforehand, it is physical (cable, connector, fiber or transceiver). If the port goes to a disabled state because of a rule and the link was stable, it is configuration or a network event that triggered the rule.

What happens to the protection hanging from that port?

It depends on the design. If the relay is only on that connection, it loses all its communication: GOOSE, reports and management. If it has a second path (redundancy), the network should keep it communicating; the isolation that occurs is a sign that this redundancy is not working as believed.

WhatsApp