create_address_list_entry
Adds IP addresses or hostnames to IPv4/IPv6 firewall address lists, with optional timeout and comments for RouterOS.
Instructions
Adds an entry to an IPv4 or IPv6 firewall address list.
Notes: address: an address or prefix; a hostname is also accepted and RouterOS adds a dynamic child entry per resolved address. timeout: RouterOS duration e.g. "1h". An entry with a timeout is dynamic, so it does not survive a reboot. list_name is matched exactly, including any leading or trailing spaces.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | ||
| family | Yes | ||
| address | Yes | ||
| comment | No | ||
| timeout | No | ||
| disabled | No | ||
| list_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |