SYSTem:COMMunicate:LAN:DHCP

34980A

SYSTem:COMMunicate:LAN:DHCP

Syntax

SYSTem:COMMunicate:LAN:DHCP <mode>

SYSTem:COMMunicate:LAN:DHCP?

Description

This command disables or enables use of the Dynamic Host Configuration Protocol (DHCP) for the 34980A.

When DHCP is enabled (factory setting), the 34980A will try to obtain an IP address from a DHCP server. If a DHCP server is found, it will assign a dynamic IP address, Subnet Mask, and Default Gateway to the instrument.

When DHCP is disabled or unavailable, the 34980A 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 34980A to activate the new setting.

Parameters

Name

Type

Range of Values

Default Value

<mode>

Boolean

{OFF|0|ON|1}

This is a required parameter

Remarks

  • Most Corporate LANs have a DHCP server.

  • If a DHCP LAN address is not assigned by a DHCP server, then a static IP will be assumed after approximately 2 minutes. See the SYSTem:COMMunicate:LAN:BSTatus? command for more information on the instrument's boot status.

  • The DHCP setting is stored in non-volatile memory, and does not change when power has been off, after a Factory Reset (*RST command), or after an Instrument Preset (SYSTem:PRESet command).  

Return Format

The query command returns "0" (OFF) or "1" (ON).

Examples

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

See Also

SYSTem:COMMunicate:LAN:BSTatus?

SYSTem:COMMunicate:LAN:GATEway

SYSTem:COMMunicate:LAN:IPADdress

SYSTem:COMMunicate:LAN:SMASk