9. Programmer's Reference
9. Programmer's Reference
9.18. Network Configuration - MMU
ATTENTION!
Calling the ApplySettings method after the network setting is always required. See the details
of the method in the
Apply Network Settings
9.18.1. Query the DHCP State
Command and Response
ç GET•/MANAGEMENT/NETWORK.DhcpEnabled
pw•/MANAGEMENT/NETWORK.DhcpEnabled=<logical_value>
æ
Parameters
The
<logical_value>
can be true or false.
Example
ç GET /MANAGEMENT/NETWORK.DhcpEnabled
æ pw /MANAGEMENT/NETWORK.DhcpEnabled=true
9.18.2. Change the DHCP State
Command and Response
SET•/MANAGEMENT/NETWORK.DhcpEnabled=<logical_value>
ç
pw•/MANAGEMENT/NETWORK.DhcpEnabled=<logical_value>
æ
Parameters
The
<logical_value>
can be set to true or false.
Example
ç SET /MANAGEMENT/NETWORK.DhcpEnabled=false
æ pw /MANAGEMENT/NETWORK.DhcpEnabled=false
9.18.3. Query the IP Address
Command and Response
ç GET•/MANAGEMENT/NETWORK.IpAddress
pr•/MANAGEMENT/NETWORK.IpAddress=<IP_Address>
æ
Example
ç GET /MANAGEMENT/NETWORK.IpAddress
æ pr /MANAGEMENT/NETWORK.IpAddress=192.168.0.100
#network #dhcp #ipaddress
Applied F-series endpoint firmware package: v1.5.4 | Applied R-series endpoint firmware package: v1.5.4 | Applied MMU firmware package: v1.3.3 | LDC software: v2.4.2b4
series – Matrix Application Mode – User's Manual
series – Matrix Application Mode – User's Manual
section.
9.18.4. Change the IP Address (Static)
Command and Response
SET•/MANAGEMENT/NETWORK.StaticIpAddress=<IP_address>
ç
pw•/MANAGEMENT/NETWORK.StaticIpAddress=<IP_address>
æ
Example
ç SET /MANAGEMENT/NETWORK.StaticIpAddress=192.168.0.85
æ pw /MANAGEMENT/NETWORK.StaticIpAddress=192.168.0.85
9.18.5. Query the Subnet Mask
Command and Response
ç GET•/MANAGEMENT/NETWORK.NetworkMask
pr•/MANAGEMENT/NETWORK.NetworkMask=<netmask>
æ
Example
ç GET /MANAGEMENT/NETWORK.NetworkMask
æ pr /MANAGEMENT/NETWORK.NetworkMask=255.255.255.0
9.18.6. Change the Subnet Mask (Static)
Command and Response
SET•/MANAGEMENT/NETWORK.StaticNetworkMask=<netmask>
ç
pw•/MANAGEMENT/NETWORK.StaticNetworkMask=<netmask>
æ
Example
ç SET /MANAGEMENT/NETWORK.StaticNetworkMask=255.255.255.0
æ pw /MANAGEMENT/NETWORK.StaticNetworkMask=255.255.255.0
9.18.7. Query the Gateway Address
Command and Response
ç GET•/MANAGEMENT/NETWORK.GatewayAddress
pr•/MANAGEMENT/NETWORK.GatewayAddress=<gw_address>
æ
Example
ç GET /MANAGEMENT/NETWORK.GatewayAddress
æ pr /MANAGEMENT/NETWORK.GatewayAddress=192.168.0.1
174
174