MMX4x2 series – User's Manual 77
The IP address settings can be queried as follows. #dhcp #ipaddress #network
Command and Response
(IP_STAT=<type>;<ip_address>;<subnet_mask>;<gateway_addr>
Parameters
Parameter Parameter description
<type> Assignment of the IP address
0
static
1
dynamic (DHCP)
<ip_addr> IP address
(four decimal octets separated by dots)
<subnet_mask> Subnet mask
(four decimal octets separated by dots)
<gateway_addr> Gateway address
(four decimal octets separated by dots)
Example
address is 192.168.0.1.
Setting the IP Address
IP address can be set as follows.
Command and Response
{IP_ADDRESS=<type>;<ip_address>}
(IP_ADDRESS=<type>;<ip_address>
Parameters
See the previous section.
Example
{ip_address=0;192.168.0.110}
(IP_ADDRESS=0;192.168.0.110)
INFO: The IP address can be queried by typing the {ip_address=?}
IP address that is stored in the device even if DHCP is enabled; in this case, this IP address is not valid.
Setting the Subnet Mask
Subnet mask can be set as follows.
Command and Response
{IP_NETMASK=<subnet_mask>}
(IP_NETMASK=<subnet_mask>
Parameters
See the section.
Example
INFO:
mask is not valid.
Setting the Gateway Address
Gateway address can be set as follows.
Command and Response
<gateway_addr>}
<gateway_addr>
Parameters
See the section.
Example
INFO:
the static IP gateway address that is stored in the device even if DHCP is enabled. In that case, the latest
valid gateway address (for static IP) is stored.
Applying the Network Settings
Apply the network settings and restart the network interface.
Command and Response
{ip_apply}
Example
{ip_apply}