6. LW3 Programmers’ Reference
HDMI20-OPTC series – User's Manual
49
6.7. Network Configuration
6.7.1. Querying the IP Address
Command format:
GET
●
/MANAGEMENT/NETWORK.IpAddress
Response format:
pr
●
/MANAGEMENT/NETWORK.IpAddress=<IP_Address>
Example:
˃
GET /MANAGEMENT/NETWORK.IpAddress
˂
pr /MANAGEMENT/NETWORK.IpAddress=192.168.0.101
6.7.2. Changing the IP Address (Static)
Command format:
SET
●
/MANAGEMENT/NETWORK.StaticIpAddress=<IP_address>
Response format:
pw
●
/MANAGEMENT/NETWORK.StaticIpAddress=<IP_address>
Example:
˃
SET /MANAGEMENT/NETWORK.StaticIpAddress=192.168.0.103
˂
pw /MANAGEMENT/NETWORK.StaticIpAddress=192.168.0.103
6.7.3. Querying the Subnet Mask
Command format:
GET
●
/MANAGEMENT/NETWORK.NetworkMask
Response format:
pr
●
/MANAGEMENT/NETWORK.NetworkMask=<netmask>
Example:
˃
GET /MANAGEMENT/NETWORK.NetworkMask
˂
pr /MANAGEMENT/NETWORK.NetworkMask=255.255.255.0
6.7.4. Changing the Subnet Mask (Static)
Command format:
SET
●
/MANAGEMENT/NETWORK.StaticNetworkMask=<netmask>
Response format:
pw
●
/MANAGEMENT/NETWORK.StaticNetworkMask=<netmask>
Example:
˃
SET /MANAGEMENT/NETWORK.StaticNetworkMask=255.255.255.0
˂
pw /MANAGEMENT/NETWORK.StaticNetworkMask=255.255.255.0
6.7.5. Querying the Gateway Address
Command format:
GET
●
/MANAGEMENT/NETWORK.GatewayAddress
Response format:
pr
●
/MANAGEMENT/NETWORK.GatewayAddress=<gw_address>
Example:
˃
GET /MANAGEMENT/NETWORK.GatewayAddress
˂
pr /MANAGEMENT/NETWORK.GatewayAddress=192.168.0.1
6.7.6. Changing the Gateway Address (Static)
Command format:
SET
●
/MANAGEMENT/NETWORK.StaticGatewayAddress=<gw_address>
Response format:
pw
●
/MANAGEMENT/NETWORK.StaticGatewayAddress=<gw_address>
Example:
˃
SET /MANAGEMENT/NETWORK.StaticGatewayAddress=192.168.0.5
˂
pw /MANAGEMENT/NETWORK.StaticGatewayAddress=192.168.0.5
6.7.7. Querying the DHCP State
Command format:
GET
●
/MANAGEMENT/NETWORK.DhcpEnabled
Response format:
pw
●
/MANAGEMENT/NETWORK.DhcpEnabled=true|false
Example:
˃
GET /MANAGEMENT/NETWORK.DhcpEnabled
˂
pw /MANAGEMENT/NETWORK.DhcpEnabled=true
6.7.8.
Changing the DHCP State
Command format:
SET
●
/MANAGEMENT/NETWORK.DhcpEnabled=true|false
Response format:
pw
●
/MANAGEMENT/NETWORK.DhcpEnabled=true|false
Example:
˃
SET /MANAGEMENT/NETWORK.DhcpEnabled=false
˂
pw /MANAGEMENT/NETWORK.DhcpEnabled=false
6.7.9.
Enabling Ethernet Port
Command format:
SET
●
/MEDIA/ETHERNET/<P
n
>.Enabled=true|false
Response format:
pw
●/
MEDIA/ETHERNET/<P
n
>.Enabled=true|false
Example:
˃
SET /MEDIA/ETHERNET/P2.Enabled=false
˂
pw /MEDIA/ETHERNET/P2.Enabled=false
Explanation: Disabled the P2 Ethernet port.