RIGOL
VSA Programming Guide
2-67
Example
The following command enables the auto IP setting mode.
:SYSTem:COMMunicate:LAN:SELF:AUToip:STATe ON or :SYSTem:COMMunicate:LAN:SELF:AUToip:STATe 1
The following query returns 1.
:SYSTem:COMMunicate:LAN:SELF:AUToip:STATe?
:SYSTem:COMMunicate:LAN[:SELF]:DHCP:STATe
Syntax
:SYSTem:COMMunicate:LAN[:SELF]:DHCP:STATe OFF|ON|0|1
:SYSTem:COMMunicate:LAN[:SELF]:DHCP:STATe?
Description
Enables or disables the DHCP configuration mode.
Queries the status of the DHCP configuration mode.
Parameter
Name
Type
Range
Default
--
Bool
OFF|ON|0|1
ON|1
Remarks
The analyzer attempts to acquire the IP address configuration according to the sequence of DHCP, Auto IP,
and Manual IP. These three modes cannot be disabled at the same time.
ON|1: enables the DHCP configuration mode.
OFF|0: disables the DHCP configuration mode and selects the auto IP mode.
Return Format
The query returns 0 or 1.
Example
The following command enables the DHCP configuration mode.
:SYSTem:COMMunicate:LAN:SELF:DHCP:STATe ON or :SYSTem:COMMunicate:LAN:SELF:DHCP:STATe 1
The following query returns 1.
:SYSTem:COMMunicate:LAN:SELF:DHCP:STATe?
:SYSTem:COMMunicate:LAN[:SELF]:IP:ADDRess
Syntax
:SYSTem:COMMunicate:LAN[:SELF]:IP:ADDRess <ip_address>
:SYSTem:COMMunicate:LAN[:SELF]:IP:ADDRess?
Description
Sets the IP address.
Queries the IP address.
Parameter
Name
Type
Range
Default
<ip_address>
ASCII String
Refer to "Remarks"
--
Remarks
The format of <ip_address> is "nnn.nnn.nnn.nnn". The range for the first segment (nnn) of the address is
from 1 to 223 (except 127); and the range for the other three segments is from 0 to 255.