Specifications
RIGOL Chapter 2 Command System
2-204 M300 Programming Guide
SYSTem:COMMunicate:LAN:GATEway
Syntax SYSTem:COMMunicate:LAN:GATEway "<address>"
SYSTem:COMMunicate:LAN:GATEway? [{CURRent|STATic}]
Description
Set or query the default gateway.
Parameters
Name
Type
Range
Default
<address>
ASCII
string
The format is nnn.nnn.nnn.nnn;
the first nnn ranges from 1 to 223 (except
127), the other three range from 0 to 255.
None
Explanation This command is only available when the manual IP configuration mode is enabled.
You are recommended to ask your network administrator for a gateway address
available.
The command has two optional parameters. Use "CURRent" to query the gateway
address currently set (the
SYSTem:COMMunicate:LAN:UPDate command is not
executed). Use "STATic" to query the gateway address currently stored in the
non-volatile memory (refer to
Appendix C: Non-volatile Memory). When the parameter
is omitted, the system queries the gateway address currently set.
The default gateway is stored in the non-volatile memory (refer to
Appendix C:
Non-volatile Memory) and does not change when the power has been off, after a
Factory Reset (send the
*RST command) or after an Instrument Preset (send the
SYSTem:PRESet command).
Return
Format
The query returns the current gateway address, for example, “172.16.3.2”.
Example SYST:COMM:LAN:GATE "172.16.3.4"
SYST:COMM:LAN:UPD
SYST:COMM:LAN:GATE? STAT
The query returns "172.16.3.4".
Related
commands
SYSTem:COMMunicate:LAN:MANUip
SYSTem:COMMunicate:LAN:DNS
SYSTem:COMMunicate:LAN:IPADdress
SYSTem:COMMunicate:LAN:SMASk