Instructions
Chapter 2 Command System RIGOL
DS1000Z-E Programming Guide 2-75
Explanation When the three IP configuration types (DHCP, Auto IP, and Static IP) are all turned
on, the priority of the parameter configuration from high to low is "DHCP", "Auto
IP", and "Static IP". The three IP configuration types cannot be all turned off at
the same time.
When the auto IP mode is valid, disable DHCP manually. You can self-define the
gateway and DNS address for the oscilloscope.
For the gateway setting, refer to the
:LAN:GATeway command. For the DNS
setting, refer to the :LAN:DNS command.
Return
Format
The query returns 1 or 0.
Example
:LAN:AUToip ON /*Disables the Auto IP configuration mode.*/
:LAN:AUToip? /*The query returns 1.*/
:LAN:GATeway
Syntax :LAN:GATeway <string>
:LAN:GATeway?
Description
Sets or queries the default gateway.
Parameter
Name
Type
Range
Default
<string>
ASCII String
Refer to Explanation
——
Explanation The format of <string> is nnn,nnn,nnn,nnn. The range of the first section of
"nnn" is from 0 to 223 (except 127), and the ranges of the other three sections of
"nnn" are from 0 to 255.
When you use this command, the IP configuration mode should be Auto IP (refer
to the
:LAN:AUToip command) or Static IP mode (refer to the :LAN:MANual
command).
Return
Format
The query returns the current gateway in strings.
Example
:LAN:GATeway 192.168.1.1 /*Sets the default gateway to 192.168.1.1.*/
:LAN:GATeway? /*The query returns the current gateway.*/
:LAN:DNS
Syntax :LAN:DNS <string>
:LAN:DNS?
Description
Sets or queries the DNS address.
Parameter
Name
Type
Range
Default
<string>
ASCII String
Refer to Explanation
——
Explanation The format of <string> is nnn,nnn,nnn,nnn. The range of the first section of
"nnn" is from 0 to 223 (except 127), and the ranges of the other three sections of
"nnn" are from 0 to 255.
When you use this command, the IP configuration mode should be Auto IP (refer
to the
:LAN:AUToip command) or Static IP mode (refer to the :LAN:MANual
command).
Return
Format
The query returns the current DNS address in strings.










