AutoIP
Setting AUTOIP mode will enable the AutoIP function and disable DHCP operation for networks
where a DHCP server is not available. The existing static IP address (if any) will be erased.
You can also use the SET DHCP and SET AUTOIP commands to combine modes and override the
default addressing mode operation selected by this command. If doing so, you should use the
SET IPADDR command prior to using SET DHCP or SET AUTOIP, as it has precedence. For
example, you can use the SET IPADDR
enable DHCP. The system would attempt to use DHCP, and if unable to obtain an address would
use the static IP address
AUTOIP OFF, in which case the system would only use DHCP and would never switch over to
AutoIP mode. You can use the SHOW IPADDR command to view the current address in use, as
well as the status of the DHCP and AUTOIP clients.
Return Value: none
Example(s):
SET IPADDR 10.0.0.2
SET IPADDR DHCP
SET IPADDR AUTOIP
SET GPIB ADDR [address]
Sets the GPIB bus [address].
Function:
Syntax:
Set GPIB addr
Address
Argument(s):
This function sets the GPIB bus address for both talker and listener functions. The [address]
Remarks:
parameter may be any value from 0 to 30. This command will take effect immediately, and does
not require a reboot. The default setting for the GPIB address is 10.
Return Value: none
Example(s):
SET GPIB ADDR 16
SET DHCP
Function:
DHCP client control
Syntax:
SET DHCP
enable
Argument(s):
Remarks:
This function can be used to selectively enable or disable the DHCP client. A value of 0 (or OFF)
disables DHCP, while any other value (or ON) enables DHCP.
Return Value: none
Example(s):
SET DHCP 1
SET DHCP ON
SET DHCP OFF
SET AUTOIP
Function:
AutoIP client control
Syntax:
SET AUTOIP
Argument(s):
enable
Remarks:
This function can be used to selectively enable or disable the AutoIP client. A value of 0 (or OFF)
disables AutoIP, while any other value (or ON) enables AutoIP.
Return Value: none
Example(s):
SET AUTOIP 1
SET AUTOIP ON
SET AUTOIP 0
Command Operation
ipaddr
. Likewise, you can use SET IPADDR DHCP followed by SET
[address]
Sets the bus address to the value chosen, 0 – 30 range.
// Sets the GPIB bus address to 16.
enable
byte, 0-1 (or OFF/ON)
// enable DHCP
// enable DHCP
// disables DHCP
enable
byte, 0-1 (or OFF/ON)
// enable AutoIP
// enable AutoIP
// disables AutoIP
ipaddr
to set a fixed IP, followed by SET DHCP ON to
// sets static IP, disables DHCP and AUTOIP
// enables DHCP (and AutoIP)
// enables AutoIP (disables DHCP)
MANUAL IM635
Page 25
Need help?
Do you have a question about the 8512 Series and is the answer not in the manual?