Hi,
I think this is quite unusual approach, as normally you can enable CDP/LLDP on your switch, and then identify physical switch name and port number in vSphere Client and get mac address from the switch.
If you don't have any other possibilities I would try with
1. Connect to host with putty.
2.Replace vmnic0 with your nic number. Run command : pktcap-uw --uplink vmnic0 -c 500 -o /tmp/test.pcap
3. Connect to host with WinSCP and copy test.pcap file
4. Open file in Wireshark
5. Check STP or LOOP protocol
