Skip to main content
Version: current

device


cmr/device​

Package: cmr
Type: Directory

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.

FlagNameDescription
PpendingPairing pending.
premote-pendingController requests pairing.
IinactiveDevice is inactive.
SstaleNo connection (stale).
LcontrollerThe CMR server itself (self-client).
CconnectedDevice is connected.
Uupgrade-availableThe upgrade channel of the device offers a different version than the installed one. The offered version can also be earlier than the installed version.
ArgumentTypeDescription
idsobject { ids: super { his-id: string , [our-id] [ /string] } }Identities (his-id / our-id) of the managed device.
pairing-requirementenum (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.
identitystringSystem identity (editable) of the device.
Read-only ArgumentTypeDescription
peerenumThe management peer this device is connected to.
boardstringBoard name.
versionstringRouterOS version of the device.
minimum-versionstringMinimum supported version.
allowed-versionsstringSafe (safepkg) upgrade indicator.
addressaddress (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.
statestringDevice state.
upgrade-ruleenumUpgrade 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.
channelaltCurrent upgrade channel/version.
available-versionstringNewest available upgrade.
connected-time ( unset )timeTime the device has been connected.
uptime ( unset )timeDevice uptime.
disconnected-since ( unset )dateTime since the device disconnected.
alertssuper { on: num , [all] /num , [critical] num , [high] /num , [medium] /num , [low] /num }Enabled/total alert counts by severity.
serialstringFactory serial number.