Skip to content
Contents
GuidesOpenWrt

Linksys LGS328MPC v2: why does the log say sfp-p49 when the SFP ports are labelled 25–28?

On this 28-port switch running snapshot r38143-031659df7f, the slot names in the log can differ from the front panel. Keep the VLAN configuration unchanged. Use a spare slot, a test link and the port counters to map one physical socket at a time.

On this 28-port switch running snapshot r38143-031659df7f, the slot names in the log can differ from the front panel. Keep the VLAN configuration unchanged. Use a spare slot, a test link and the port counters to map one physical socket at a time.

Identify the socket that generated the event

Manage the switch through a separate Ethernet port. Run these three read-only commands over SSH. Save the build number, slot names and interface list before inserting the test module.

ubus call system board
logread | grep -i sfp
ip -s link show
sfp-p49 … sfp-p52
Host maximum power 1.0W

A line containing sfp-p49 and Host maximum power 1.0W gives a slot name and a power limit. It does not identify a front-panel port or establish that a module is present and the link is up.

Check the mapping with one transfer

Insert a compatible module into one unused socket that supports hot plugging and connect a working peer. Run the commands again. Record the slot with the new event and the interface whose carrier changed. If there is no event, check the log time and how the module is seated.

Interface counters on an OpenWrt 25.12.6 x86/64 virtual machine. This shows where to read the counters.
Interface counters on an OpenWrt 25.12.6 x86/64 virtual machine. This shows where to read the counters.

Transfer a small file on an existing test VLAN and check the counters on the peer port. Hardware switching can bypass CPU counters. Use physical port statistics where available. Record the panel number, log name, interface and counter change, then check other sockets individually.

If traffic works and the mapping is repeatable, keep the table. A module event without carrier calls for a link check. Remove the test cable and verify the original uplink and management address. If there is no spare socket, wait for a maintenance window.

Banana Pi BPI-R4: how to identify eth1 and sfp-lan before upgrading

Explore hardware

Devices mentioned

Comments