MikroTik API icon

MikroTik API

Community Node for MikroTik RouterOS API

Actions67

ARP → Add

AI-generated

Summary

Adds a static ARP entry mapping an IP address to an interface on a MikroTik router.

Inputs

  • ipAddressField (required) — IP address to add to the ARP table.
  • targetId (required) — Interface ID or name (e.g., ether1) where the ARP entry belongs.
  • commentText — Optional comment for the ARP entry.
  • options.connectionAttempts — Number of connection attempts (default: 5).
  • options.connectionDelay — Delay between attempts in seconds (default: 3).
  • options.cleanKeys — Replace - and / with _ in response keys when true.
  • options.tag — Custom tag for the command (default: 0).

Output shape

json

Returns an object with resource, operation, count, and the data from the MikroTik API response.

Examples

Example 1: Add ARP entry for 192.168.1.10 on interface ether1 with comment 'Workstation'.

Set ipAddressField to 192.168.1.10, targetId to ether1, commentText to Workstation.

Links

Discussion