1-
U3020AS16
Instrument Settings
DHCP Command
This command disables or enables the use of the Dynamic Host Configuration
Protocol (DHCP).
Syntax
:
SYSTem:COMMunicate:LAN:DHCP {OFF|0|ON|1}
SYSTem:COMMunicate:LAN:DHCP?
When DHCP is enable (factory setting), the instrument will try to obtain an IP
address from the DHCP server. If a DHCP server is found, it will assign a
Dynamic IP address, Subnet Mask, and Default Gateway to the instrument.
When the DHCP is disable or unavailable, the instrument will use the Static IP
address, Subnet Mask, and Default Gateway during power-on.
If you change the DHCP setting, you must cycle power on the U3020A to
activate the new setting.
Example
:
The following command disables DHCP:
SYST:COMM:LAN:DHCP OFF
The following query returns the current DHCP setting:
SYST:COMM:LAN:DHCP?
Typical Response: 0
DNS Command
This command assigns the IP address of the Domain Name System (DNS)
server. Contact your network administrator to determine if DNS is being used
and for the correct address.
Syntax
:
SYSTem:COMMunicate:LAN:DNS <address>
SYSTem:COMMunicate:LAN:DNS?
If you change the DNS address, you must cycle power on the U3020A to
activate the new address.
Example
:
The following command sets the DNS address:
SYST:COMM:LAN:DNS 198.105.232.4
26
Keysight U3020AS16 User's and Service Guide