I have a LAN consisting of switches connected to each other then to some devices, How to get the mac address of the switch connected to a specific port on the main switch then get the ports and device names who have their mac address present in the switching table.
I know it is a trivial question but I am so confused and google has disappointed me for the first time.