Linux command to verify what is the switch connected to the machine : Good Morning,

On three different server, I want to verify if it's possible to check the name of the switch is connected to these servers. I would perform this with a Linux command if it's possible. Or maybe with some kind information found in the configuration files if they're present. My final goal is to check if 3 our machine of our server farm are connected to a single switch or two ( having in this case High Aivalability). Is it possible using a Specific Linux Command or to list info in a specific configuration Networking file? Or it's not possible in every case?


Many thanks in advance 


Stefano 

I found on the Internet this command: cat /proc/net/bonding/bond0 but is has not been usefull

cat /proc/net/bonding/bond0 of Linux Centos commands

With the command cat /proc/net/bonding/bond0 I have no Output, I would have some typical Linux output lines to analyze if a switch code or switch name is present