Function
Description
NET-DHCP
Set DHCP mode.
Only 1 is relevant
for the mode value.
To disable DHCP,
the user must
configure a static IP
address for the
device.
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 USB or
RS-232 protocol port,
if available.
For proper settings
consult your network
administrator.
For Backward
id
compatibility, the
parameter can be
omitted. In this case,
the Network ID, by
default, is 0, which is
the Ethernet control
port.
NET-DHCP?
Get DHCP mode.
For Backward
id
compatibility, the
parameter can be
omitted. In this case,
the Network ID, by
default, is 0, which is
the Ethernet control
port.
NET-GATE
Set gateway IP.
A network
gateway connects
the device via
another network and
maybe over the
Internet. Be careful
of security issues.
For proper settings
consult your network
administrator.
NET-GATE?
Get gateway IP.
A network
gateway connects
the device via
another network and
maybe over the
Internet. Be aware of
security problems.
NET-IP
Set IP address.
For proper
settings consult your
network
administrator.
NET-IP?
Get IP address.
NET-MAC?
Get MAC address.
NET-MASK
Set subnet mask.
For proper
settings consult your
network
administrator.
NET-MASK?
Get subnet mask.
MTX3-16-M – Protocol 3000
Syntax
COMMAND
#NET-DHCPdhcp_state<CR>
FEEDBACK
~nn@NET-DHCPdhcp_state<CR><LF>
COMMAND
#NET-DHCP?<CR>
FEEDBACK
~nn@NET-DHCPdhcp_mode<CR><LF>
COMMAND
#NET-GATEip_address<CR>
FEEDBACK
~nn@NET-GATEip_address<CR><LF>
COMMAND
#NET-GATE?<CR>
FEEDBACK
~nn@NET-GATEip_address<CR><LF>
COMMAND
#NET-IPip_address<CR>
FEEDBACK
~nn@NET-IPip_address<CR><LF>
COMMAND
#NET-IP?<CR>
FEEDBACK
~nn@NET-IPip_address<CR><LF>
COMMAND
#NET-MAC?<CR>
FEEDBACK
~nn@NET-MACmac_address<CR><LF>
COMMAND
#NET-MASKnet_mask<CR>
FEEDBACK
~nn@NET-MASKnet_mask<CR><LF>
COMMAND
#NET-MASK?<CR>
FEEDBACK
~nn@NET-MASKnet_mask<CR><LF>
Kramer Electronics Ltd.
Parameters/Attributes
–
dhcp_state
1 – Try to use DHCP. (If unavailable,
use the IP address set by the
factory or the net-ip command).
–
dhcp_mode
0 – Do not use DHCP. Use the IP set
by the factory or using the net-
ip or net-config command.
1 – Try to use DHCP. If unavailable,
use the IP set by the factory or
using the net-ip or net-
config command.
ip_address
– Format: xxx.xxx.xxx.xxx
– Format: xxx.xxx.xxx.xxx
ip_address
– Format: xxx.xxx.xxx.xxx
ip_address
– Format: xxx.xxx.xxx.xxx
ip_address
– Unique MAC address.
mac_address
Format: XX-XX-XX-XX-XX-XX where X
is hex digit
– Format: xxx.xxx.xxx.xxx
net_mask
– Format: xxx.xxx.xxx.xxx
net_mask
Example
Enable DHCP mode for port
1, if available:
#NET-DHCP1<CR>
Get DHCP modes for each
port:
#NET-DHCP?<CR>
Set the gateway IP address
to 192.168.0.1:
#NET-
GATE192.168.000.001<
CR>
Get the gateway IP address:
#NET-GATE?<CR>
Set the IP address to
192.168.1.39:
#NET-
IP192.168.001.039<CR
>
Get the IP address:
#NET-IP?<CR>
#NET-MAC?<CR>
Set the subnet mask to
255.255.0.0:
#NET-
MASK255.255.000.000<
CR>
Get the subnet mask:
#NET-MASK?<CR>
79
Need help?
Do you have a question about the MTX3-16-M and is the answer not in the manual?