Lantronix UDS10 Network Card User Manual


 
UDS10/UDS100 User Guide Configuring the UDS Using Telnet or the Serial Port
29
Manual Connection
The UDS attempts to connect when directed by a command string received from the
serial port. The first character of the command string must be a C (ASCII 0x43), and
the last character must be either a carriage return (ASCII 0x0D) or a line feed (0x0A).
No spaces may be in the command string. Between the first and last command string
characters must be a full or partial destination IP address and can include a
destination port number.
The IP address must be in standard dot-decimal notation and may be a partial
address, representing the least significant 1, 2, or 3 bytes of the remote IP address.
A period is required between each pair of IP address numbers.
If present, the port number must follow the IP address, must be a decimal number in
the range 1-65535, and must be preceded by a forward slash (ASCII 0x2F). The
slash separates the IP address and the port number. If you omit the port number from
a command string, the internally stored remote port number becomes the destination
port number when the connection attempt is made.
If the command string includes a partial IP address, the UDS interprets it to be the
least significant bytes of the IP address and uses the internally stored remote IP
address to provide the most significant bytes of the IP address. If the IP address
entered is 0.0.0.0/0, the device server enters Monitor Mode.
For example, if the remote IP address already configured in the unit is 129.1.2.3, then
an example command string would be C3/7. (This would connect to 129.1.2.3 and
port 7.) You may also use a different ending for the connection string. For example,
C50.1/23 would connect you to 129.1.50.1 and port 23.
Table 5-7. Manual Connection Address Example
Command
String
Result if remote IP is 129.1.2.3 and remote port is 1234
C121.2.4.5/1 Complete override; connection is started with host 121.2.4.5, port 1
C5 Connect to 129.1.2.5, port 1234
C28.10/12 Connect to 129.1.28.10, port 12
Autostart (Automatic Connection): If you enable autostart, the unit automatically
connects to the remote IP address and remote port specified.
Datagram Type: When selecting this option, you will be prompted for the datagram
type. Enter 01 for directed or broadcast UDP.
Hostlist: If you enable this option, the Lantronix unit scrolls through the hostlist until it
connects to a device listed in the hostlist table. Once it connects, the unit stops trying
to connect to any others. If this connection fails, the unit continues to scroll through
the table until it connects to another IP in the hostlist.