CLI user manual
21
Operating
Command
Description
Advanced
UDP
working
mode
Set UDP_multi
<session_list>
<local_port> <dns> <dest_addr>
<dest_addr_end> <dest_port>
<RealCom>
<session_list>
:
Session choice. 1,2,3,4 or all
optional
<local_port>
:
Local port, range{1-65535}
<dns>
:
Open DNS or not
0 --disable
1 --Enable
<dest_addr>
:
IP configuration ip or domai
<dest_addr_end>
:
IP configuration over
<dest_port>:Destination port, range{1-65535}
<link_mode>
:
connection mode
0 --data active
1 --link_now
<heartbeat>
:
heartbeat time{0-65535(S)}
<TCP_timeout>
:
Timeout{0-65535(S)}
<RealCom>
:
Virtual COM port or not
0 --disable
1 -Enable
Example:
Configuration working mode is advanced, enter the bold type command as follows and enter
return key:
Serial(COM2)#
set oneToMulti 1
[OK]
Example:
Configuration “session:1, working mode: UDP, local port: 5555, disable DNS, IP
address:192.168.1.55, destination port: 4444, disable virtual COM port”, enter the bold type command
as follows and enter return key:
Serial(COM2)#
set UDP 1 1 55555 0 192.168.1.55 44444 0
[OK]
Example:
Configuration“ session: 1, local port: 3333, diable DNS, IP address: 192.168.17.11,
destination port: 2222, connection mode: link now, heartbeat time: 0, Timeout: 20s, virtual COM port
disable”, enter the bold type command as follows and enter return key:
Serial(COM2)#
set tCP_C 1 1 33333 0 192.168.17.11 22222 1 0 20 0
[OK]
Example:
COM2 in advanced mode, configuration working mode: TCP server, session: 4, enter the
bold type command as follows and enter return key:
Serial(COM2)#
SET session_multi 1 4
[OK]