how to check which interfacce port has cable connected
We are going to move some servers from one location to another. How to verify whether the cables are connected to the right interface port?
like one server has eth0 active and eth1 is down. now if the tech guys connect the cable on eth1 port then how to know that
Is it /sys/class/net/eth1 and look for carrier or there is a better way ?
thanks in advance