Arduino and Router

Hello,

I am trying to connect my Arduino Uno to a router via Ethernet shield. There are lights that are also connected to the same router via Ethernet cable. I am wondering, if there is a way to use the Arduino to send a signal to the router, then to the port that the lights are connected to, to turn on/off the lights?

If so, where can I find more information? Which library/commands should I use?

The router is http://www.amazon.com/Ubiquiti-TS-8-PRO-ToughSwitch-Advanced-Controllers/dp/B00CXU1NHY

Any help will be appreciated.

Thanks, Aaron

then to the port that the lights are connected to, to turn on/off the lights?

Without providing any info about the light system, i doubt you will get much help.