status_interfaces.php: Data for switch uplinks may be replaced by switch port data when media state monitoring is set
Like in #10793#note-9 written status->interface for mvneta1 shows mixed data from mvneta1 and switch port 1.
Make it more transparent which data are shown.
You can show both connect speeds and traffic counters or you add the switch port to the section:
1_LAN Interface (lan, mvneta1) => 1_LAN Interface (lan, mvneta1, e6000sw0port1)
The best is, you show all: mvneta1 and e6000sw0port[1-5]
#1 Updated by Jim Pingle 4 months ago
- Subject changed from status->interface: the data shown for mvneta1 is not always the real data of mvneta1 to status_interfaces.php: Data for switch uplinks may be replaced by switch port data when media state monitoring is set
- Category set to Interfaces
Fixing the subject and adding some notes:
This happens if "Switch Port" on Interfaces > LAN (or whichever interface the uplink is assigned) is set to one of the switch ports, rather than being left at the default setting. So in that case it is expected since the page is following what the user requested, though it may not be what they intended.
Seeing the uplink status would still be useful in this case, as well as indicating the port status monitoring association on the interface status output.