Kramer Electronics Ltd.
ASPEN-32UFX, ASPEN-1616UX, VS-8UFX
– Protocol 3000
54
NET-DHCP
Functions
Permission
Transparency
Set:
NET-DHCP
Administrator
Public
Get:
NET-DHCP?
End User
Public
Description
Syntax
Set:
Set DHCP mode
#NET-DHCP
␠
mode
␍
Get:
Get DHCP mode
#NET-DHCP?
␍
Response
~nn
@NET-DHCP
␠
mode
␍␊
Parameters
mode
–
0
(do not use DHCP. Use the IP address set by the factory or the
NET-IP
command),
1
(try to use
DHCP. If unavailable, use the IP address set by the factory or the
NET-IP
command)
Response Triggers
Notes
Connecting Ethernet to devices with DHCP may take more time in some networks.
To connect with a randomly assigned IP by DHCP, specify the device DNS name (if available) using the
NAME
command. You can also get an assigned IP by direct connection to RS-232 protocol port.
Consult your network administrator for correct settings.
Example
Enable DHCP mode, if available:
#NET-DHCP 1<CR>
NET-DNS
Functions
Permission
Transparency
Set:
-
-
-
Get:
NET-DNS?
End User
Public
Description
Syntax
Set:
-
-
Get:
Get DNS address
#NET-DNS?
␍
Response
~nn
@NET-DNS
␠
dns_id,ip
␍␊
Parameters
dns_id
– ID of the DNS name server to retrieve, indexing starts at “
0
”
Iip
– IP address of the DNS server
Response Triggers
After execution, response is sent to the com port that sent the Get
command.
There is no Set command.
Use
NET-CONFIG
to set up network, including DNS name servers.
If
dns_id
is out of the defined DNS range, Error Code #3 (
ERR_PARAMETER_OUT_OF_RANGE
) is returned.
If no
dns_id
is defined, Error Code #3 is returned for any
dns_id
.
Notes
Example
Get the DNS address for this device:
#NET-DNS?<CR>