l For the query form, specify "CURRent" (default) to read the dynamic subnet mask currently being used by
the instrument. Specify "STATic" to read the subnet mask currently stored in non-volatile memory within
the instrument (may not be the actual mask used by the instrument if DHCP is enabled).
l The subnet mask is stored in non-volatile memory, and does not change when power has been off, after a
Factory Reset (*RST command), or after an Instrument Preset (SYSTem:PRESet command).
l The subnet mask is set to "255.255.0.0" when the instrument is shipped from the factory or after a
SYSTem:SECurity:IMMediate command.
Return Format
The query returns the subnet mask in the form "nnn.nnn.nnn.nnn" (the quotes are also returned).
Examples
The following example sets the subnet mask.
SYST:COMM:LAN:SMAS "255.255.255.0"
SYST:COMM:LAN:UPD
The following example returns the subnet mask currently being used by the instrument.
SYST:COMM:LAN:SMAS? CURR or SYST:COMM:LAN:SMAS?
Typical Response: "255.255.0.0"
See Also
SYSTem:COMMunicate:LAN:DHCP
SYSTem:COMMunicate:LAN:GATEway
SYSTem:COMMunicate:LAN:IPADdress
SYSTem:COMMunicate:LAN:SMASk
418 Keysight 53220A/53230A Programmer's Reference