Kramer Electronics Ltd.
VP-427X2
– Protocol 3000
57
Function
Description
Syntax
Parameters/Attributes
Example
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.
COMMAND
#NET-DHCP
dhcp_state
<CR>
FEEDBACK
~nn@NET-DHCP
dhcp_state
<CR><LF>
dhcp_state
–
0
– Static IP
1
– DHCP
Enable DHCP mode:
#NET-DHCP
1
<CR>
NET-DHCP?
Get DHCP mode.
COMMAND
#NET-DHCP?
<CR>
FEEDBACK
~nn@NET-DHCP
dhcp_mode
<CR><LF>
dhcp_state
–
0
– Static IP
1
– DHCP
Get DHCP mode:
#NET-DHCP?
<CR>
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.
COMMAND
#NET-GATE
ip_address
<CR>
FEEDBACK
~nn@NET-GATE
ip_address
<CR><LF>
ip_address
– Format:
xxx.xxx.xxx.xxx
Set the gateway IP address
to 192.168.0.1:
#NET-
GATE
192
.
168
.
000
.
001
<
CR>
NET-GATE?
Get gateway IP.
A network gateway
connects the device via
another network and
maybe over the
Internet. Be aware of
security problems.
COMMAND
#NET-GATE?
<CR>
FEEDBACK
~nn@NET-GATE
ip_address
<CR><LF>
ip_address
– Format:
xxx.xxx.xxx.xxx
Get the gateway IP address:
#NET-GATE?
<CR>
NET-IP
Set IP address.
For proper settings
consult your network
administrator.
COMMAND
#NET-IP
ip_address
<CR>
FEEDBACK
~nn@NET-IP
ip_address
<CR><LF>
ip_address
– Format:
xxx.xxx.xxx.xxx
Set the IP address to
192.168.1.39:
#NET-
IP
192
.
168
.
001
.
039
<CR
>
NET-IP?
Get IP address.
COMMAND
#NET-IP?
<CR>
FEEDBACK
~nn@NET-IP
ip_address
<CR><LF>
ip_address
– Format:
xxx.xxx.xxx.xxx
Get the IP address:
#NET-IP?
<CR>
NET-MAC?
Get MAC address.
For backward
compatibility, the
id
parameter can be
omitted. In this case,
the Network ID, by
default, is 0, which is
the Ethernet control
port.
COMMAND
#NET-MAC?
id
<CR>
FEEDBACK
~nn@NET-MAC
id
,
mac_address
<CR><LF>
id
– Network ID–the device
network interface (if there are more
than one). Counting is 0 based,
meaning the control port is ‘0’,
additional ports are 1,2,3….
mac_address
– Unique MAC
address. Format: XX-XX-XX-XX-
XX-XX where X is hex digit
#NET-MAC?
id
<CR>
NET-MASK
Set subnet mask.
For proper settings
consult your network
administrator.
COMMAND
#NET-MASK
net_mask
<CR>
FEEDBACK
~nn@NET-MASK
net_mask
<CR><LF>
net_mask
– Format:
xxx.xxx.xxx.xxx
Set the subnet mask to
255.255.0.0:
#NET-
MASK
255
.
255
.
000
.
000
<
CR>
NET-MASK?
Get subnet mask.
COMMAND
#NET-MASK?
<CR>
FEEDBACK
~nn@NET-MASK
net_mask
<CR><LF>
net_mask
– Format:
xxx.xxx.xxx.xxx
Get the subnet mask:
#NET-MASK?
<CR>
PROT-VER?
Get device protocol
version.
COMMAND
#PROT-VER?
<CR>
FEEDBACK
~nn@PROT-VER
3000:version
<CR><LF>
version
– XX.XX where X is a
decimal digit
Get the device protocol
version:
#PROT-VER?
<CR>
RESET
Reset device.
To avoid locking the
port due to a USB bug
in Windows, disconnect
USB connections
immediately after
running this command.
If the port was locked,
disconnect and
reconnect the cable to
reopen the port.
COMMAND
#RESET
<CR>
FEEDBACK
~nn@RESET
ok
<CR><LF>
Reset the device:
#RESET
<CR>