![Kramer SL-280 Скачать руководство пользователя страница 43](http://html1.mh-extra.com/html/kramer/sl-280/sl-280_user-manual_2000924043.webp)
Kramer Electronics Ltd.
SL-280 – Protocol 3000
41
NET-DHCP
Functions
Permission
Transparency
Set:
NET-DHCP
Administrator
Public
Get:
NET-DHCP?
End User
Public
Description
Syntax
Set:
Set DHCP mode
#
NET-DHCP
SP
mode
CR
Get:
Get DHCP mode
#
NET-DHCP?
CR
Response
~nn@
NET-DHCP
SP
mode
CR LF
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
To connect with an 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 if available.
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 name server
#
NET-DNS?
␠
dns_id
␍
Response
~nn
@
NET-DNS
␠
dns_id,ip
␍␊
Parameters
dns_id
– ID of the DNS name server to retrieve:
0
(DNS server 1),
1
(DNS server 2)
ip
– IP address of the DNS server
Response Triggers
After execution, response is sent to the com port that sent the Get
command
Notes
There is no “Set” command. Use the
NET-CONFIG
command to setup the 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
.
Example
Get the IP address of DNS name server 1:
#NET-DNS?
0
<CR>