The device page of a switch (and of a router or access point) has a Connected devices card: a faceplate with one block per port (link, speed, the device on it) and a list of what is on the port you click. Where the links come from:
- A switch plugin that reads the MAC table (SNMP, MikroTik, UniFi, Omada…) reports the port of every client. This works on its own.
- You say so, for a switch that cannot tell (the TP-Link Easy Smart): open the device, Settings → Network position, choose the switch and type the port, or click a port on the switch’s faceplate and connect a device to it. Several devices can share a port. A connection you set is never overwritten by a plugin; if the plugin reports something else, both are shown.
- A device behind a second switch: connect that device to the second switch and the second switch to the first. The port that leads there lists everything behind it.
The device also sits below the switch in the network map, and the map shows the port in the tooltip and side panel of the link.
A host that is connected with a bond (NIC teaming, LACP) over more than one port: tick the ports on the host’s page under Bonded connection (see Bonded connections). The ports are then marked with the host and the bond on the switch’s page, and a lost link is reported.