Introduced in lager 0.10.0. The default instrument type is
MikroTik_hAP.Syntax
--box BOX (Lagerbox name or IP; uses the default box if
omitted). Most operate on a NETNAME — the name of a router net previously
registered with add-net.
Commands
Command Reference
add-net
Register a router as a net on the box.
connect
Verify connectivity to a router net.
interfaces
List network interfaces on a router net.
wireless-interfaces
List wireless interfaces and their configuration.
wireless-clients
List currently connected wireless clients.
dhcp-leases
List DHCP leases — devices that have received IP addresses.
system-info
Get system resource information from a router net.
reboot
Reboot a router net. Prompts for confirmation unless --yes is passed.
enable-interface / disable-interface
Enable or disable a wireless interface by name.
block-internet
Block all internet access on a router net (drops forwarded traffic). Use reset
to restore access.
reset
Reset a router net to a clean baseline state: removes all test-tagged firewall
rules, bandwidth limits, and access-list entries; re-enables DHCP and all wireless
interfaces. If --ssid and --password are provided, a fresh baseline WPA2
network is applied. Prompts for confirmation unless --yes is passed.
run
Run an arbitrary router REST API GET call. PATH is the API path relative to
/rest, e.g. /ip/address.

