
18
Set and Query Subnet Mask in User Setting Mode
Syntax
Command
:SYSTem:COMMunicate:LAN:SMASk
<Subnet mask>
Query
:SYSTem:COMMunicate:LAN:SMASk?
Response
<Subnet mask>
<Subnet mask>
= nnn,nnn,nnn,nnn
Description
Command
Sets the subnet mask.
Query
Queries the currently set subnet mask.
Example
:SYST:COMM:LAN:SMAS 255,255,255,0
:SYST:COMM:LAN:UPDate
:SYST:COMM:LAN:SMAS?
255,255,255,0
Note
When the Subnet mask is changed by
:SYSTem:COMMunicate:LAN:SMASk
,
the change is not reflected until
:SYSTem:COMMunicate:LAN:UPDate
is executed.
Set and Query Default Gateway in User Setting Mode
Syntax
Command
:SYSTem:COMMunicate:LAN:GATeway
<Address>
Query
:SYSTem:COMMunicate:LAN:GATeway?
Response
<Address>
<Address>
= nnn,nnn,nnn,nnn
Description
Command
Sets the default gateway.
Query
Queries the currently set default gateway.
Example
:SYST:COMM:LAN:GAT 192,168,0,100
:SYST:COMM:LAN:UPD
:SYST:COMM:LAN:GAT?
192,168,0,100
Note
When the default gateway is changed by
:SYSTem:COMMunicate:LAN:GATeway
,
the change is not reflected until
:SYSTem:COMMunicate:LAN:UPDate
is executed.
Reflect Communication Settings
Syntax
Command
:SYSTem:COMMunicate:LAN:UPDate
Example
:SYST:COMM:LAN:IPAD 192,168,0,2
:SYST:COMM:LAN:UPD
:SYST:COMM:LAN:IPAD?
192,168,0,2
Description
Reflects LAN-related settings.
Note
When the LAN-related settings are changed
by
:SYSTem:COMMunicate:LAN:IPADdress
,
:SYSTem:COMMunicate:LAN:CONTrol
,
:SYSTem:COMMunicate:LAN:GATeway
or
:SYSTem:COMMunicate:LAN:SMASk
, the
change is not reflected until
:SYSTem:COMMunicate:LAN:UPDate
is executed.
Query MAC Address
Syntax
Query
:SYSTem:MAC?
Response
<MAC address>
Description
Queries the MAC address.
Example
:SYST: MAC?
“00-01-67-07-03-85”