Troubleshooting
Why a managed switch WAN port stops passing traffic
Short answer
Link LEDs prove the cable, not the forwarding state. When a managed switch's WAN port dies with its lights still blinking, the port's forwarding state is stuck, most often by duplicate-IP detection, loop protection or a wedged MAC table. Move the uplink to a spare port to restore traffic without a reboot, then read the port counters and the event log to find which management feature fired, and disable or tune it before the port repeats the trick.
On this page
A managed switch port that shows link but refuses to cross traffic is not a dead port: its forwarding state is stuck, most often by duplicate-IP detection, loop or storm protection, or a wedged MAC address table. Any link-state change forces the port to rebuild that state, and a cable move does it in seconds without a reset while the rest of the switch keeps running. Once traffic is back, read the port statistics and the event log: the counters tell you whether the port froze or failed physically, and the log names the management feature that armed the trap, so you can disable or tune it before the port repeats the trick.
Link lights prove the cable, not the forwarding state #
The LEDs and the link state live in the physical layer: cable seated, speed and duplex negotiated, a good electrical connection. Forwarding lives above that, in the MAC address table and the port's forwarding state, where management features can shut a port while the physical link stays healthy. That is how one port dies alone. In one reported case, a wastewater-panel switch kept the touchscreen talking to both local PLCs and kept the remote I/O polling over Modbus TCP, while everything trying to cross the WAN port was killed on a port whose LEDs still showed active.
The split shows up one layer up at devices too: S7-1200 shows link lights but TIA Portal cannot connect is the same divide, where the LED certifies the cable and says nothing about the session on top of it.
Three states kill an uplink port #
Duplicate-IP detection fires on one probe, not a real conflict #
Many managed switch lines snoop ARP traffic to build an IP-to-MAC table; IP Device Tracking is the common name for the feature. The switch listens to ARP replies and sends probes of its own, and when a reply ties an address to a MAC other than the one it expects, it reads a conflict and can disable the port.
No real duplicate is needed: a probe answered through a second path, a looped segment that carries the same ARP twice, or a single misbehaving device is enough. Rockwell's knowledgebase documents this failure on Ethernet modules with IP Device Tracking and gives a per-port disable: the interface command ip device tracking maximum 0, which sets the tracked-device maximum to zero and turns the feature off on that port. A reported case behaves the same way: a controller port disabled itself for a duplicate IP address with no duplicate present, and unplugging and replugging the cable cleared it.
Loop and storm protection shuts the port to save the network #
A managed switch also watches for broadcast floods and for its own frames coming back to it. When a burst crosses the configured threshold, the switch can throttle or shut the port it blames for the flood. On an uplink that bridges a chatty machine cell to the plant, a broadcast burst from the cell side can look exactly like the storm the feature exists to stop, and the port goes quiet with its link still up.
A wedged MAC table freezes forwarding with nothing in the log #
The MAC table maps destination addresses to ports. When its learning state wedges, the switch stops forwarding frames it believes it already knows the path for, or stops learning new ones entirely. No feature fired, so no log entry explains it, and the port's counters freeze while the LEDs blink. Any link-state change rebuilds that port's table entries, which is why a cable move clears a fault the log cannot explain.
Move the uplink first, diagnose after #
- Confirm the local side still talks: HMI to PLC across the same switch. If local traffic is dead too, the whole switch is the fault, not one port.
- Pick a moment when a few seconds of lost remote link is acceptable on the running line, and tell whoever is watching it.
- Read the dead port's packet counters once and write the numbers down; frozen values are the evidence you need later.
- Move the WAN cable to a spare port.
- Watch the new port's LEDs come up and its counters climb, then test a connection from the plant side before closing the cabinet.
- Leave the old port empty and label it; nothing goes back into it until you know which feature fired.
The move is more than a workaround. A fresh port steps around whatever armed state lives on the dead one, because replugging the same port can re-trigger the feature immediately, while a new port buys a running line while you read the log. In the two reported cases the moved uplink came back instantly, with no reset and no reboot, and the communication errors cleared with it. Both reported switches ran near-default settings apart from their IP addresses, so the new port needed nothing; where you have configured per-port VLANs or security features, copy the dead port's settings to the new one before the move.
Counting the filler switch WAN port over 60 seconds #
The case this example works from: a filler-line switch whose uplink sat on port 2 for three years, then stopped crossing traffic with its LEDs still active; moving the cable to port 9 restored traffic and the communication errors reset. Before a move, two reads of the port statistics page prove the port is frozen rather than merely idle. The counter values below are example readings that show the method; your numbers will differ, and only their movement matters.
Inputs:
- Reading interval: 60 s between the two statistics reads, chosen for simple arithmetic; any fixed interval works.
- Received-packet counter on the WAN port: 1,742,380 packets at the first read, 1,742,380 packets at the second read (example readings).
- Transmitted-packet counter on the WAN port: 2,205,911 packets at the first read, 2,205,911 packets at the second read (example readings).
Rule in words: the rate through the port equals the second counter reading minus the first, divided by the seconds between the reads. The magnitude does not matter; movement does. A counter that holds still on a port whose link is up means the switch is passing no frames on that port, whatever the LEDs say.
Arithmetic:
- Received: (1,742,380 - 1,742,380) packets / 60 s = 0 packets / 60 s = 0 packets/s.
- Transmitted: (2,205,911 - 2,205,911) packets / 60 s = 0 packets / 60 s = 0 packets/s.
Result: 0 packets/s in both directions with the link LEDs on.
Decision: on a port that should be busy, the uplink while the plant side polls the cell or any port serving the local HMI, a counter that holds still across the whole window means frozen forwarding, so move the uplink. Repeat the two reads on the new port afterward: counters climbing within the same window confirm traffic is crossing again. If instead the packet counters climb but the error counter (CRC/FCS) climbs with them, the port forwards fine and the fault is physical, so chase the cable, the transceiver or the far-end network card rather than the switch.
Read the event log and name the feature #
With traffic restored, open the switch's event or alarm log and read the entries around the freeze time. Three message families matter:
- Duplicate-IP messages name the address and usually the two MAC addresses involved. If the address is one you know is unique, the detector misfired and the documented per-port disable above is the cure. If two devices genuinely share the address, one carries a copied static setting or a restored default, and that device is the real fault.
- Port-shutdown, loop-detect or storm entries name the port and the trigger. Cross-check what was patched around that time: a temporary loop from a test cable or a laptop bridging two wall ports arms these features in seconds.
- MAC-flap notices, where the same source address arrives alternately on two ports, point at a loop or an unwanted redundant path rather than a wedged port.
When the log points at a duplicate and you cannot find one, work the sequence documented in a comparable case: clear the ARP caches on the switches, then re-check the VLAN membership on every port involved, because a port in the wrong VLAN can carry one device's ARP traffic by two paths and manufacture a phantom second device. When the log is silent, the wedge was table state rather than a feature, so expect it back eventually and keep the spare-port habit.
Keep the port from wedging again #
- Replicate the dead port's configuration on its new home when the switch runs per-port VLANs or security features; a near-default switch needs nothing copied.
- Apply the vendor's documented per-port disable to uplink ports where the log named the feature. For ARP-snooping duplicate-IP detection, that is
ip device tracking maximum 0in interface configuration mode. - Contain the broadcast chatter. The switches in the reported cases went into the panels to stop communication conflicts from chatty traffic in the first place, and a segmented cell gives storm and duplicate-IP features less to misread. A device that bridges the cell to the plant chokes on the same chatter a different way: Why an industrial gateway locks up when used as a network hub covers that failure at the device.
- Leave one port patched, proven and labeled as the documented spare, so the next wedge costs a cable move instead of a hunt for a free port.
- If the route to the outside world must survive a dead path rather than a wedged port, that is failover territory: a router watches its own WAN path and moves traffic to a second route when the first dies, and WAN failover with routed uplink interfaces covers how routed-uplink failover behaves.
Questions asked
Does moving the cable to a new port change how the switch behaves?
The switch keeps its configuration; ports carry settings individually. If the switch ran near-default settings, as both reported cases did apart from the IP address, the new port works as soon as the link comes up. If you configured VLANs, security features or speed settings on the dead port, copy them to the new port first, or the uplink may come back with the wrong membership and cause a second fault that looks like the first.
Why does a port run for years and then wedge without warning?
These traps arm on a single frame, not on wear. A duplicate-IP detector fires when one ARP reply ties an address to a second MAC, storm protection fires on one broadcast burst, and a MAC table wedges on one odd learning event. A switch can run three years without ever seeing the frame, then see it once when a device renews an address or a laptop bridges two ports. Nothing degraded; the trigger finally arrived.
Is a full power cycle a better fix than moving the cable?
A reboot also clears a wedged port, which is why the fault can look like it healed itself overnight. But it drops every device on the switch, takes minutes, and wipes the volatile evidence: counters reset and the log can lose the entries around the freeze. The cable move clears the same state in seconds, keeps the rest of the cell running, and leaves the dead port's statistics intact for diagnosis.
Can a duplicate IP address message be real?
Yes. The log names the address and usually two MAC addresses. First check the mundane cause: a laptop with a static address copied from a controller, a device returned to its factory default address, or two spares configured alike. Conflicts like those are real, and the second device is the fault. Only when every device on the wire holds a unique address does the message become evidence that the detection feature itself misfired.


