User manual

RIGOL Chapter 2 Command System
2-84 MSO7000/DS7000 Programming Guide
:LAN Commands
The :LAN commands are used to set and query the LAN parameters.
:LAN:DHCP
:LAN:AUToip
:LAN:GATeway
:LAN:DNS
:LAN:MAC?
:LAN:DSErver?
:LAN:MANual
:LAN:IPADdress
:LAN:SMASk
:LAN:STATus?
:LAN:VISA?
:LAN:MDNS
:LAN:HOST:NAME
:LAN:DESCription
:LAN:APPLy
:LAN:DHCP
Syntax
:LAN:DHCP <bool>
:LAN:DHCP?
Description
Turns on or off the DHCP configuration mode; or queries the on/off status of the
current DHCP configuration mode.
Parameter
Name
Type
Range
Default
<bool>
Bool
{{1|ON}|{0|OFF}}
1|ON
Remarks
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 DHPC is valid, the DHCP server in the current network will assign the
network parameters (such as the IP address) for the oscilloscope.
After the :LAN:APPLy command is executed, the configuration type can take
effect immediately.
Return
Format
The query returns 1 or 0.
Example
:LAN:DHCP OFF /*Disables DHCP configuration mode.*/
:LAN:DHCP? /*The query returns 0.*/