Actions67
- Interface Actions
- Firewall Address List Actions
- IP Pool Actions
- ARP Actions
- DHCP Server Actions
- IP Address Actions
- Hotspot Actions
- Queue Simple Actions
- Wireless Actions
- System Actions
- System Clock Actions
- System Identity Actions
- System Script Actions
- System Scheduler Actions
- IP Service Actions
- Netwatch Actions
- Log Actions
- Custom Command Actions
Interface → Enable
AI-generatedSummary
Enables a MikroTik network interface.
Inputs
- targetId (required) — ID or name of the interface to enable (e.g., *1, *2, ether1).
- options — Additional options for the MikroTik API call. If omitted, defaults are used: connectionAttempts=5, connectionDelay=3, cleanKeys=false, tag=0.
Output shape
returns an object with fields resource, operation, count, and data. resource and operation are strings (always 'interface' and 'enable' respectively). count is the number of items in data. data contains the raw MikroTik API response; when cleanKeys is true, response keys have '-' and '/' replaced with '_'.
The node first attempts to connect to the MikroTik device using the configured credentials, retrying according to the connection attempts and delay options. On success it sends the command
/interface/enablewith the target interface ID/Name.
Examples
Example 1: Enable interface 'ether1'.
Set Target ID/Name to 'ether1'.