iMac Doesn't see Ethernet Cable
Just for grins and giggles...

Did you verify that your cable and network port are good?  

First thing to try is moving your connection from whatever port on the switch it is on to another.  Sometimes a port on the switch just may be bad.

You will also want to verify the cable.  If you have access to another computer or a laptop, remove the patch cable from your iMac and plug it into the laptop.  If the problem persists, then you will need to solve that issue before doing more diagnostics on your iMac.  

Once you have verified that the connection from the switch to your iMac is good, then I would proceed with diagnosing the hardware, then the software on the iMac.