MikroTik API icon

MikroTik API

Community Node for MikroTik RouterOS API

Actions67

Custom Command → Execute

AI-generated

Summary

Execute an arbitrary RouterOS command on the connected MikroTik device.

Inputs

  • command — The RouterOS command to execute. Defaults to '/system/resource/print'.

Output shape

{ resource, operation, count, data } array from the RouterOS response. Keys with '-' or '/' are replaced with '_' when 'cleanKeys' is true.

Data is the raw result from the executed command.

Examples

Example 1: Default execution

Command defaults to '/system/resource/print'. No additional options set.

Links

Discussion