Two Cisco IE switches carry a bottling cell. CDP reports a native VLAN mismatch, and the HMI's untagged frames show up in the wrong VLAN. Which change fixes the path?
Select an answer to reveal the explanation.
Short Explanation
You’ve found the issue: the trunk ends disagree about which VLAN receives untagged frames. Match the native VLAN on both ends, and the HMI’s frames can reach the intended VLAN; port security on the access port won’t fix the trunk labeling.
Full Explanation
On an 802.1Q trunk, the native VLAN is the VLAN that carries untagged frames. When the trunk ends use different native VLANs, a frame leaves in one VLAN and arrives in another, which explains the CDP mismatch and the HMI’s misplaced traffic. Make the native VLAN the same on both ends so untagged frames reach the VLAN expected by the HMI and PLC. Raising the port-security maximum on the HMI access port does not change how the trunk classifies frames. Removing the HMI gateway does not repair the VLAN mismatch and may break traffic that needs routing. Converting the PLC access ports to routed ports abandons the VLAN design rather than correcting the trunk. One caveat: networks often use an explicit, unused native VLAN on both ends instead of leaving VLAN 1 by habit. To check the repair, confirm CDP reports no native VLAN mismatch and that the HMI appears in its intended VLAN. Record the before-and-after evidence, the changed interface or account, the time, and the approver in the work order. On the next shift, verify that the original symptom is gone and the change did not create a second path. If a live batch is running, leave the controller running and complete only work that does not restart it, avoiding an unplanned outage.