With copper Ethernet you can see if there's a physical link even when the NIC is unused, i.e. is not configured with IP. With copper, 'ethtool ens802s0f0' will tell you "Link detected: yes" or "Link detected: no." This is not true of SFP+ interfaces, at least in the farm I support.
My question is, how can I quickly test the physical condition or state of this a fibre connection without configuring it, without assigning an IP address? All of the fibre NICs in the network are physically wired to a switch but some are unconfigured on the host. Also, there may or may not be a port configured on the Cumulus switch at the other end of the cable.
Thanks for any advice.