set_lan
Configure LAN interface settings for a Rigol MHO98 oscilloscope, including IP, gateway, DNS, DHCP, auto IP, manual mode, mDNS, and hostname, then apply changes.
Instructions
Configure the LAN interface (section 3.14).
ip/gateway/dns: dotted-quad, first octet 0..223 (not 127), others 0..255; mask: dotted-quad with every octet 0..255. Static addresses only apply when DHCP and Auto IP are off and manual (static) mode is on. The three IP modes cannot all be off at once (firmware rule). dhcp/auto_ip/manual/mdns: booleans; hostname/description: printable ASCII. apply: send :LAN:APPLy afterwards to activate all pending LAN settings.
extra: only documented :LAN keywords are accepted, e.g. {"HOST:NAME": "scope1"} → :LAN:HOST:NAME scope1.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | No | ||
| dns | No | ||
| dhcp | No | ||
| mask | No | ||
| mdns | No | ||
| apply | No | ||
| extra | No | ||
| manual | No | ||
| auto_ip | No | ||
| gateway | No | ||
| hostname | No | ||
| description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |