6. LW2 Programmers' Reference
6.4.3. Set the Subnet Mask
Description: Subnet mask can be set as follows.
Format
Command {IP_NETMASK=<subnet_mask>}
Response (IP_NETMASK=<subnet_mask>)CrLf
Legend:
<subnet_mask>:
INFO: The subnet mask can be queried by typing the "ip_address=?" command. The response contains
the fix IP subnet mask that is stored in the device even if DHCP is enabled; in this case, this IP subnet
mask is not valid.
6.4.4. Set the Gateway Address
Description: Gateway address can be set as follows.
Format
Command {IP_GATEWAY=<gateway_addr>}
Response (IP_GATEWAY=<gateway_addr>)CrLf
Legend:
<gateway_addr>:
INFO: The gateway address can be queried by typing the "ip_gateway=?" command. The response contains
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.
6.4.5. Apply Network Settings
Description: Apply the network settings and restart the network interface.
Format
Command {ip_apply}
Response (IP_APPLY)CrLf
Example
{ip_netmask=255.255.255.0}
(IP_NETMASK=255.255.255.0)
Four decimal octets separated by dots.
Example
{ip_gateway=192.168.0.50}
(IP_GATEWAY=192.168.0.50)
Four decimal octets separated by dots.
Example
{ip_apply}
(IP_APPLY)
MMX4x2 series – User's Manual
47
Need help?
Do you have a question about the MMX4x2-HT200 and is the answer not in the manual?