MikroTik API icon

MikroTik API

Community Node for MikroTik RouterOS API

Actions67

ARP → Get All

AI-generated

Summary

Fetch all ARP entries from the MikroTik device, with optional key cleaning and request tagging.

Inputs

  • connectionAttempts — Number of times to try connecting
  • connectionDelay — Delay between attempts (seconds)
  • cleanKeys — Replace - and / with _ in response keys
  • tag — Custom tag for the command

Output shape

array

Each item contains resource, operation, count, and data fields. The data array holds the raw ARP entries returned by RouterOS /ip/arp/print. If cleanKeys is enabled, - and / in all data keys are replaced with _. The tag value, if greater than 0, is appended as .tag=N to the API parameters.

Examples

Example 1: Retrieve all ARP entries with default retry behavior and cleaned keys.

Leave all options at defaults; cleanKeys enabled.

Links

Discussion