Datasheet

API command notes
180
will result in:
!trap
=category=4
=message=already have device with such name
!done
While adding several entries with same name as static DNS entries is completely legal, addressing entries using
name value for .id is NOT. Entry with name=example.com address=192.168.88.1 added before.
/ip/dns/static/set
=.id=example.com
=address=3.3.3.3
The result
!trap
=category=0
=message=no such item
Monitor-traffic
it is equivalent of CLI /interface monitor-traffic command
Details
Basic command syntax:
/interface/monitor-traffic
=interface=<id1>,<id2>,<id3>
Output: replies will be sent in succession with in statistics about interface in order of IDs given in command. So,
first re! will be for <id1>, second for <id2>
Duration: command runs until interrupted with /cancel
planned changes: it is planned to add item identification to replies.
since interfaces have name field, value from that field can be used to address interface instead of .id
Example
Command
/interface/monitor-traffic
=interface=ether1-Local,ether3-Out
Return
!re
=rx-packets-per-second=4
=rx-drops-per-second=0
=rx-errors-per-second=0
=rx-bits-per-second=8531
=tx-packets-per-second=3
=tx-drops-per-second=0
=tx-errors-per-second=0