4 3
1.3.27 Set Control Port IP Address Configuration
The Set Control Port IP Address Configuration command configures the IP address for the
control port of the device. The IP address, subnet mask and gateway IP address can be
configured. Dynamic addressing (DHCP or APIPA (Auto IP, 169.254.x.x)) can be selected by
using addresses of all 0’s. The new configuration will take effect the next time the device is
booted.
There are three parameters to this command: the IP address, the subnet mask and the
gateway IP address.
The following command configures the control port IP address to
10.88.102.37, the subnet mask to 255.0.0.0 and the gateway IP to 10.0.0.1:
SETCTLNET 10.88.102.37 255.0.0.0 10.0.0.1<CR>
Response:
ACK SETCTLNET 10.88.102.37 255.0.0.0 10.0.0.1<CR>
The following command configures the control port to use
dynamic addressing (DHCP/APIPA):
SETCTLNET 0.0.0.0 0.0.0.0 0.0.0.0<CR>
Response:
ACK SETCTLNET 0.0.0.0 0.0.0.0 0.0.0.0<CR>
1.3.28 Get Control Port IP Address Configuration
The Get Control Port IP Address Configuration command returns the configured IP address
settings for the control port of the device, including the IP address, subnet mask and gate-
way IP address. If dynamic addressing is configured, addresses of all 0’s will be returned.
Please note that the values returned by this command are the settings that have been
programmed to be used on the next reboot, not the currently assigned IP address, subnet
mask and gateway IP address.
The following command returns the configured control port IP
address settings, when the IP address is static:
GETCTLNET<CR>
Response:
ACK GETCTLNET 192.168.18.105 255.255.255.0
192.168.18.1<CR>
The following command returns the configured control port IP
address settings, when the IP address is dynamic:
GETCTLNET<CR>
Response:
ACK GETCTLNET 0.0.0.0 0.0.0.0 0.0.0.0<CR>
Summary of Contents for CDT100 MK3
Page 28: ...2 8 API SPECIFICATION...