I wrote this to help identify (un/mis)labeled Red Hat and ESXi servers in a datacenter. This script will get a list of network interfaces and blink the lights on each one for 5 seconds using ‘ethtool -p’. If the interface doesn’t support this method it is removed from the list (ie: lots of on-board Broadcom NICs)