/cmr/device
device
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...
cmr/device
Package: cmr Type: Directory
此 CMR 服务器管理的设备。设备连接到服务器后就会出现在列表中,在配对获批之前带有 P 标志。服务器本身显示为带有 L 标志的设备。使用此菜单中的命令对设备群进行操作,例如 run-script、upgrade、reboot 或 pair。有关设备如何连接和配对,参见 CMR。
| 标志 | 名称 | 描述 |
|---|---|---|
P | pending | 配对待处理。 |
p | remote-pending | 控制器请求配对。 |
I | inactive | 设备未激活。 |
S | stale | 无连接(已失效)。 |
L | controller | CMR 服务器本身(self-client)。 |
C | connected | 设备已连接。 |
U | upgrade-available | 设备的升级通道提供的版本与已安装版本不同。提供的版本也可能早于已安装版本。 |
| 参数 | 类型 | 描述 |
|---|---|---|
ids | object { ids: super { his-id: string , [our-id] [ /string] } } | 受管设备的标识(his-id / our-id)。 |
pairing-requirement | enum (none | password | confirm) | 应用于此设备的配对要求,覆盖服务器默认值:none、password 或 confirm。 |
labels | multi { array-id, label: enum } | 分配给设备的用户标签(分组/过滤)。 |
port-labels | object { port-and-labels: super { port: string , labels: multi { array-id, label: string } } } | 每个端口的标签。请为标签加引号,例如 port-labels=ether1:"uplink"。/cmr/vlan 规则可以通过这些标签选择端口。 |
identity | string | 设备的系统标识(可编辑)。 |
| 只读参数 | 类型 | 描述 |
|---|---|---|
peer | enum | 此设备连接到的管理对等体。 |
board | string | 板卡名称。 |
version | string | 设备的 RouterOS 版本。 |
minimum-version | string | 最低支持版本。 |
allowed-versions | string | 安全(safepkg)升级指示。 |
address | address (flags=46) | 当前连接地址。 |
auto-labels | multi { array-id, label: string } | 自动分配的标签。 |
packages | multi { array-id, label: string } | 已安装的软件包。 |
state | string | 设备状态。 |
upgrade-rule | enum | 覆盖此设备的升级规则。/cmr/upgrade 规则列表中第一条覆盖该设备的规则会认领它,因此放在顶部的 labels=all 规则会覆盖所有设备。 |
channel | alt | 当前升级通道/版本。 |
available-version | string | 可用的最新升级。 |
connected-time | time | 设备已连接的时间。 |
uptime | time | 设备运行时间。 |
disconnected-since | date | 设备断开连接以来的时间。 |
alerts | super { on: num , [all] /num , [critical] num , [high] /num , [medium] /num , [low] /num } | 按严重级别统计的已启用/总告警数。 |
serial | string | 出厂序列号。 |