Devices managed by this CMR server. A device appears in the list as soon as it connects to the server, with the P flag until the pairing is approved. The server itself is shown as the device with the L flag. Use the commands in this menu to operate on the fleet, for example run-script, upgrade, reboot, or pair. See CMR for how devices connect and pair.
| Argument | Type | Description |
|---|
| ids | object { ids: super { his-id: string
, [our-id] [ /string]
}
} | Identities (his-id / our-id) of the managed device. |
| pairing-requirement | enum (none | password | confirm) | Pairing requirement applied to this device, overriding the server default: none, password, or confirm. |
| labels ( unset ) | multi { array-id, label: enum
} | User labels assigned to the device (grouping/filtering). |
| port-labels ( unset ) | object { port-and-labels: super { port: string
, labels: multi { array-id, label: string
}
}
} | Labels per port. Quote the label, for example port-labels=ether1:"uplink". /cmr/vlan rules can select ports by these labels. |
| identity | string | System identity (editable) of the device. |
| Read-only Argument | Type | Description |
|---|
| peer | enum | The management peer this device is connected to. |
| board | string | Board name. |
| version | string | RouterOS version of the device. |
| minimum-version | string | Minimum supported version. |
| allowed-versions | string | Safe (safepkg) upgrade indicator. |
| address | address (flags=46) | Current connection address. |
| auto-labels ( unset ) | multi { array-id, label: string
} | Automatically assigned labels. |
| packages ( unset ) | multi { array-id, label: string
} | Installed packages. |
| state | string | Device state. |
| upgrade-rule | enum | Upgrade rule covering this device. The first rule in the /cmr/upgrade rule list that covers the device claims it, so a labels=all rule placed at the top covers every device. |
| channel | alt | Current upgrade channel/version. |
| available-version | string | Newest available upgrade. |
| connected-time ( unset ) | time | Time the device has been connected. |
| uptime ( unset ) | time | Device uptime. |
| disconnected-since ( unset ) | date | Time since the device disconnected. |
| alerts | super { on: num
, [all] /num
, [critical] num
, [high] /num
, [medium] /num
, [low] /num
} | Enabled/total alert counts by severity. |
| serial | string | Factory serial number. |