UCX series – User's Manual 126
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
Add New Favorite
Device
modifying the hostname.
Command and Response
ç <unique_name>
æ <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
ç
æ
Network Security #new
Enable/Disable Ethernet Port
Command and Response
ç SET·/V1/MEDIA/ETHERNET/<ethernet_port>.Enabled=<status>
æ pw·/V1/MEDIA/ETHERNET/<ethernet_port>.Enabled=<status>
Parameters
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
ç
æ
DIFFERENCE:
Command and Response
ç GET·/V1/MANAGEMENT/NETWORK/SERVICES/<port>.Port
æ pw·/V1/MANAGEMENT/NETWORK/SERVICES/<port>.Port=<port_num>
Parameters
Parameter description Parameter values
<port> Port type
HTTP
HTTPS
LW3
UART1
UART2
<port_num> Port number
80
443
6107
8001
8002
Example
ç
æ
Enable/Disable Service Port
DIFFERENCE:
Command and Response #http #https
ç GET·/V1/MANAGEMENT/NETWORK/SERVICES/<port>.Enabled=<status>
æ pw·/V1/MANAGEMENT/NETWORK/SERVICES/<port>.Enabled=<status>
Parameters
Parameter description Parameter values
<port> Port type
HTTP
HTTPS
<status> The port is enabled.
The port is disabled.
true
false
Example
ç
æ