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.

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
Comments