7. LW3 Programmers’ Reference
UCX series – User's Manual
126
Applied firmware package: v1.2.0b9 | LDC software: v2.5.10b1
8.13.6.
Setting the Hostname
The host name is a property that can be used instead of the IP address when connecting to the device. It is
also suitable for finding in the Device Discovery window of the LDC, see more details in the
section. If the IP address of the device is changing, the host name can be used as a fixed property.
Restarting HTTP(S) Services is required after the hostname changed. A new certficate is generated after
modifying the hostname.
Command and Response
ç
SET·/V1/MANAGEMENT/NETWORK.HostName=
<unique_name>
æ
pw·/V1/MANAGEMENT/NETWORK.HostName=
<unique_name>
Parameters
The
<unique_name>
can be 1-64 character long and the following are allowed for naming: the elements of
the English alphabet and numbers. Hyphen (-) and dot (.) is also accepted except as last character.
Example
ç
SET /V1/MANAGEMENT/NETWORK.HostName=room-switcher
æ
pw /V1/MANAGEMENT/NETWORK.HostName=room-switcher
8.14.
Network Security
#new
8.14.1.
Enable/Disable Ethernet Port
Command and Response
ç
SET
·/V1/MEDIA/ETHERNET/
<ethernet_port>
.Enabled=
<status>
æ
pw
·/V1/MEDIA/ETHERNET/
<ethernet_port>
.Enabled=
<status>
Parameters
Identifier
Parameter description
Parameter values
<ethernet_port>
Ethernet port number
P1-P5*
<status>
The port is enabled.
The port is disabled.
true
false
*The UCX-2x1-HC30 model has three Ethernet port (P1-P3), UCX-2x2-H30 model has one (P1-P3).
Example
ç
SET /V1/MEDIA/ETHERNET/P4.Enabled=true
æ
pw /V1/MEDIA/ETHERNET/P4.Enabled=true
8.14.2. Query Service Port Number
DIFFERENCE:
This command is available from 1.2.0 firmware package.
Command and Response
ç
GET
·/V1/MANAGEMENT/NETWORK/SERVICES/
<port>
.Port
æ
pw
·/V1/MANAGEMENT/NETWORK/SERVICES/
<port>
.Port=
<port_num>
Parameters
Identifier
Parameter description
Parameter values
<port>
Port type
HTTP
HTTPS
LW3
UART1
UART2
<port_num>
Port number
80
443
6107
8001
8002
Example
ç
GET /V1/MANAGEMENT/NETWORK/SERVICES/HTTP.Port
æ
pr /V1/MANAGEMENT/NETWORK/SERVICES/HTTP.Port=80
8.14.3.
Enable/Disable Service Port
DIFFERENCE:
This command is available from 1.2.0 firmware package.
Command and Response
#http #https
ç
GET
·/V1/MANAGEMENT/NETWORK/SERVICES/
<port>
.
Enabled=
<status>
æ
pw
·/V1/MANAGEMENT/NETWORK/SERVICES/
<port>
.
Enabled=
<status>
Parameters
Identifier
Parameter description
Parameter values
<port>
Port type
HTTP
HTTPS
<status>
The port is enabled.
The port is disabled.
true
false
Example
ç
SET /V1/MANAGEMENT/NETWORK/SERVICES/HTTP.Enabled=true
æ
pw /V1/MANAGEMENT/NETWORK/SERVICES/HTTP.Enabled=true