REFERENCE

v6.11.0

RoMON

Router Management Overlay Network settings and ports (`/tool romon`).

Tools

get_romon

Get RoMON Global Settings · Risk: read

Read the global RoMON (Router Management Overlay Network) settings (/tool romon print). Use to check whether the Layer-2 management overlay is enabled, inspect the RoMON ID, and review configured secrets. Returns the current enabled, id, and secrets fields. For per-interface port entries use list_romon_ports.

No tool-specific parameters.

update_romon

Update RoMON Global Settings · Risk: write-idempotent

Set global RoMON (Router Management Overlay Network) parameters (/tool romon set) — toggle the Layer-2 management overlay on/off, change the RoMON ID, or update shared secrets. For per-interface participation settings use add_romon_port or remove_romon_port. Returns the full updated settings after applying changes. Arguments: enabled (bool, turns overlay on/off), id (MAC-style RoMON node ID, defaults to device MAC), secrets (comma-separated shared secret(s) for the overlay).

ParameterRequiredDefinition
enabledNo{"type":"boolean"}
idNoRoMON ID (MAC-style) {"type":"string"}
secretsNoComma-separated shared secret(s) {"type":"string"}

add_romon_port

Add RoMON Port Entry · Risk: write

Add an interface entry to the RoMON port table (/tool romon port add) — controls which interfaces participate in the Layer-2 management overlay and their path cost. Use interface='all' to configure the global default entry that applies to all interfaces. For listing existing entries use list_romon_ports; to delete an entry use remove_romon_port. Returns port detail for the added interface after creation. Arguments: interface (interface name or 'all'), cost (integer path cost for the overlay), secrets (per-port shared secret), forbid (bool, block RoMON on this interface), disabled (bool).

ParameterRequiredDefinition
interfaceYesInterface, or 'all' for the default entry {"default":"all","type":"string"}
costNoPath cost for the overlay {"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}
secretsNo{"type":"string"}
forbidNoForbid RoMON on this interface {"type":"boolean"}
disabledYes{"default":false,"type":"boolean"}
commentNoFree-form comment for the port entry {"type":"string"}

list_romon_ports

List RoMON Port Entries · Risk: read

List RoMON port entries (/tool romon port print) — shows all interfaces registered in the Layer-2 management overlay with their cost, secrets, forbid, and disabled flags. Optionally filter by interface_filter to narrow results to a single interface name. For the global RoMON toggle and ID use get_romon; to add or delete a port entry use add_romon_port or remove_romon_port. Returns the .id values needed by remove_romon_port.

ParameterRequiredDefinition
interface_filterNo{"type":"string"}

remove_romon_port

Remove RoMON Port Entry · Risk: destructive

Remove a RoMON port entry from the overlay port table (/tool romon port remove). port_id accepts either an interface name (e.g. ether1) or a RouterOS .id (e.g. *1) taken from list_romon_ports. Verifies the entry exists before removing and returns an error if not found. To recreate an entry with different parameters use add_romon_port; to change global overlay settings use update_romon.

ParameterRequiredDefinition
port_idYesInterface name or RouterOS '.id' {"type":"string"}

On this page