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 → Set Comment
AI-generatedSummary
Set the comment on a MikroTik interface identified by its ID or name.
Inputs
- targetId (required) — ID (*1, *2) or name (e.g., ether1) of the interface to modify.
- commentText (required) — Comment string to set on the interface.
Output shape
An array with a single item containing json that holds resource, operation, count (always 1 for set), and data – the raw RouterOS response from /interface/set.
On success
datais typically an empty array; errors are surfaced via the node's error handling.
Examples
Example 1: Add a description to an ethernet interface
Set Resource = Interface, Operation = Set Comment, Target ID / Name = ether1, Comment = Uplink to switch