enable_interface
Enable a network interface by name on a MikroTik device, setting disabled=no. Requires write access and supports a preview before applying changes.
Instructions
Enable a network interface by name (sets disabled=no).
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 if
interface_name does not exist on the device - it is never created.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| device_name | Yes | ||
| interface_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||