How to power off/on a 802.3af device with Mikrotik RB?

Hello,
Does somebody know a solution how i can power off and power on a POE 802.3af device, with help of a mikrotik Router?
(I am having a POE 802.3af ip camera, that constantly freezes and then needs a power off/on to work again. I would need to be able to do it from a remote location…)

Thank you

Sacrifice one of the led in your router, connect it to relay that control your camera power supply, routeros can control led which control relay

Can you give me more information on how to do it? is there a tutorial link?

thank you

You could also get a POE switch that has a serial interface and get a routerboard with one as well and enable/disable the port via the serial terminal.

I would suggest you just get a POE switch with a good interface though, like one of these from Panoptic: http://www.panoptictechnology.com/pse-8-smart-switch/

You can log into it remotely and switch the port off, then on.