Instructions
RIGOL Chapter 2 Command System
2-102 DSG800 Programming Guide
:SYSTem:COMMunication:LAN:IP:SUBnet:MASK
Syntax :SYSTem:COMMunication:LAN:IP:SUBnet:MASK <value>
:SYSTem:COMMunication:LAN:IP:SUBnet:MASK?
Description Set the subnet mask.
Query the current subnet mask.
Parameter
Name Type Range Default
<value> ASCII string
The format is nnn.nnn.nnn.nnn and
the range of the nnn is from 0 to 255.
--
Explanation This command is only valid when the Manual-IP configuration mode is turned
on.
You are recommended to ask your network administrator for a subnet mask
available.
Return Format The query returns the subnet mask. For example, 255.255.255.0.
Example
:SYST:COMM:LAN:IP:SUB:MASK 255.255.255.0
:SYST:COMM:LAN:IP:SUB:MASK?
Related
Command
:SYSTem:COMMunication:LAN:IP:MANual
:SYSTem:COMMunication:LAN:RESet
Syntax :SYSTem:COMMunication:LAN:RESet
Description Reset the current network parameters.
Explanation
After resetting the current parameters, DHCP and Auto-IP are turned on and
Manual-IP is turned off.
:SYSTem:COMMunication:LAN[:SELF]:PREFerred
Syntax :SYSTem:COMMunication:LAN[:SELF]:PREFerred <value>
:SYSTem:COMMunication:LAN[:SELF]:PREFerred?
Description Set the DNS (Domain Name Service).
Query the current DNS.
Parameter
Name
Type
Range
Default
<value> ASCII string
The format is nnn.nnn.nnn.nnn,
wherein, the range of the first nnn is
from 1 to 223 (except 127) and the
ranges of the other three nnn are from
0 to 255
--
Explanation
You are recommended to ask your network administrator for an address available.
Return Format The query returns the DNS address. For example, 172.16.2.3.
Example
:SYST:COMM:LAN:PREF 172.16.2.3
:SYST:COMM:LAN:PREF?