7. LW3 Programmers' Reference
7.8. Ethernet Port Configuration
7.8.1. Set the DHCP State
ATTENTION!
When you change a network property the new value is stored but the applySettings method
must be called always to apply the new settings. When two or more network parameters are changed the
applySettings method is enough to call once as a final step; it results the device to reboot.
Command and Response
#dhcp #network
SET·/MANAGEMENT/NETWORK.DhcpEnabled=<dhcp_status>
ç
pw·/MANAGEMENT/NETWORK.DhcpEnabled=<dhcp_status>
æ
Parameters
If the
<dhcp_status>
parameter is true, the current IP address setting is DHCP, if the parameter is false the
current IP address is static.
Example
ç SET /MANAGEMENT/NETWORK.DhcpEnabled=true
æ pw /MANAGEMENT/NETWORK.DhcpEnabled=true
ç CALL /MANAGEMENT/NETWORK:applySettings(1)
æ mO /MANAGEMENT/NETWORK:applySettings
INFO:
The applySettings method will save and apply the new value and results the device to reboot.
INFO:
The current setting can be queried by using the
7.8.2. 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
ç CALL /MANAGEMENT/NETWORK:applySettings(1)
æ mO /MANAGEMENT/NETWORK:applySettings
INFO:
The applySettings method will save and apply the new value and results the device to reboot.
INFO:
The current setting can be queried by using the
#ipaddress
GET
command.
GET
command.
Applied firmware package: v1.5.0b8 | LDC software: v2.3.0b1
MMX4x2 series – User's Manual
7.8.3. Change the Subnet Mask (Static)
Command and Response
#ipaddress
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
ç CALL /MANAGEMENT/NETWORK:applySettings(1)
æ mO /MANAGEMENT/NETWORK:applySettings
INFO:
The applySettings method will save and apply the new value and results the device to reboot.
INFO:
The current setting can be queried by using the
7.8.4. Change the Gateway Address (Static)
Command and Response
SET·/MANAGEMENT/NETWORK.StaticGatewayAddress=<gw_address>
ç
pw·/MANAGEMENT/NETWORK.StaticGatewayAddress=<gw_address>
æ
Example
ç SET /MANAGEMENT/NETWORK.StaticGatewayAddress=192.168.0.5
æ pw /MANAGEMENT/NETWORK.StaticGatewayAddress=192.168.0.5
ç CALL /MANAGEMENT/NETWORK:applySettings(1)
æ mO /MANAGEMENT/NETWORK:applySettings
INFO:
The applySettings method will save and apply the new value and results the extender to reboot.
INFO:
The current setting can be queried by using the
7.8.5. Apply Network Settings
Command and Response
ç CALL·/MANAGEMENT/NETWORK:ApplySettings()
æ m0·/MANAGEMENT/NETWORK:ApplySettings
Example
ç CALL /MANAGEMENT/NETWORK:ApplySettings()
æ m0 /MANAGEMENT/NETWORK:ApplySettings
All network settings which are changed have been applied and network interface restarts.
90
GET
command.
GET
command.
Need help?
Do you have a question about the MMX4x2-HDMI and is the answer not in the manual?