set_poe_out
Set a PoE-capable ethernet port's output mode (auto-on, forced-on, off) to power-cycle and reset locked-up PoE cameras, antennas, or access points on MikroTik devices.
Instructions
Set a PoE-capable ethernet port's PoE output mode (/interface/ethernet set [interface_name] poe-out=).
poe_out must be one of "auto-on", "forced-on", "off".
Primary use case: reset a locked-up antenna/camera/AP powered over PoE by cycling its power - call with poe_out="off" (confirm=true), wait for it to actually power down, then call again with poe_out="auto-on" to bring it back up.
WRITE tool, guarded: blocked entirely unless the server is running
with MIKROTIK_ALLOW_WRITE=true. Call with confirm=False (the
default) to get a before/after preview without changing anything;
call again with confirm=True to actually apply it. Errors clearly
(without changing anything) if interface_name doesn't exist on the
device, or exists but isn't PoE-capable - it never creates or
coerces anything.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| poe_out | Yes | ||
| device_name | Yes | ||
| interface_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||