Lantronix UDS200 User Manual

UDS200
User Guide
Part Number 900-303
Revision D December 2007
Copyright & Trademark
Ethernet is a trademark of XEROX Corporation. UNIX is a registered trademark of The Open Group. Windows 95, Windows 98, Windows 2000, and Windows NT are trademarks of Microsoft Corp. Netscape is a trademark of Netscape Communications Corporation.
Contacts
Lantronix Corporate Headquarters
15353 Barranca Parkway Irvine, CA 92618, USA Phone: 949-453-3990 Fax: 949-453-3995
Technical Support
http://www.lantronix.com/support
Sales Offices For a current list of our domestic and international sales offices, go to the Lantronix web site at www.lantronix.com/about/contact
.
Disclaimer & Revisions
Operation of this equipment in a residential area is likely to cause interference, in which case the user, at his or her own expense, will be required to take whatever measures may be required to correct the interference.
Note: This product has been designed to comply with the limits for a Class A
digital device pursuant to Part 15 of FCC Rules. These limits are designed to provide reasonable protection against such interference when operating in a commercial environment. This equipment generates, uses, and can radiate radio frequency energy, and if not installed and used in accordance with this guide, may cause harmful interference to radio communications.
Changes or modifications to this device not explicitly approved by Lantronix will void the user's authority to operate this device.
The information in this guide may change without notice. The manufacturer assumes no responsibility for any errors that may appear in this guide.
Date Rev. Comments
4/03 A
6/04 B Reorganized, added application examples 10/04 C Updated 12/07 D Corrected warranty page and technical support information
Initial Document
2
Contents
Figures 6
Tables 6
1: Using This Guide 7
Purpose and Audience _______________________________________________ 7
Chapter Summary ___________________________________________________ 7
Additional Documentation _____________________________________________ 8
2: Introduction 9
Applications ________________________________________________________ 9
Application Examples ________________________________________________ 9
Protocol Support ___________________________________________________ 10
Additional Features _________________________________________________ 11
Configuration Methods ______________________________________________ 11
Product Information Label ____________________________________________ 11
3: Getting Started 12
Installing the UDS200 _______________________________________________ 12
Required Information________________________________________________ 13
Hardware Address ______________________________________________________ 13 IP Address_____________________________________________________________ 13
Assigning the IP Address and Related Network Settings ____________________ 14
DeviceInstaller__________________________________________________________ 14 Serial Port Login ________________________________________________________ 15
4: Configuring the UDS Using Web Manager 16
Accessing Web Manager_____________________________________________ 16
Configuring the UDS ________________________________________________ 18
5: Configuring the UDS Using Telnet or the Serial Port 20
Using a Telnet Connection ________________________________________________ 20 Using the Serial Port _____________________________________________________ 22
Server Configuration (Network Configuration)_____________________________ 22
IP Address_____________________________________________________________ 22 Set Gateway IP Address__________________________________________________ 23 Netmask ______________________________________________________________ 23 Change Telnet configuration password ______________________________________ 23
3
DHCP Naming _________________________________________________________ 23
Channel 1 Configuration (Serial Port Settings) ____________________________ 24
Baudrate______________________________________________________________ 24 I/F (Interface) Mode _____________________________________________________ 24 Flow _________________________________________________________________ 25 Port Number ___________________________________________________________ 25 Connect Mode _________________________________________________________ 26 Manual Connection _____________________________________________________ 27 Remote IP Address _____________________________________________________ 30 Remote Port ___________________________________________________________ 30 Disconnect Mode _______________________________________________________ 31 Flush Mode____________________________________________________________ 31 Pack Control___________________________________________________________ 32 Disconnect Time (Inactivity Timeout) ________________________________________ 33 Send Characters _______________________________________________________ 33 Telnet Terminal Type ____________________________________________________ 33 Channel (Port) Password _________________________________________________ 33
Expert Settings_____________________________________________________ 33
TCP Keepalive time in s __________________________________________________ 34 ARP Cache timeout in s __________________________________________________ 34
Security Settings ___________________________________________________ 34
Disable SNMP _________________________________________________________ 34 SNMP Community Name _________________________________________________ 34 Disable Telnet Setup ____________________________________________________ 35 Disable TFTP Firmware Upgrade __________________________________________ 35 Disable Port 77FE (Hex) _________________________________________________ 35 Disable Web Setup______________________________________________________ 35 Disable ECHO Ports_____________________________________________________ 35 Enable Enhanced Password ______________________________________________ 35
Factory Default Settings______________________________________________ 36
Channel 1 and Channel 2 Configuration Defaults ______________________________ 36 Expert Settings Defaults__________________________________________________ 36 Security Settings Defaults ________________________________________________ 36
Exiting Configuration Mode ___________________________________________ 36
6: Updating Firmware 37
Obtaining Firmware _________________________________________________ 37
Reloading Firmware_________________________________________________ 37
Using DeviceInstaller ____________________________________________________ 37 Using TFTP ___________________________________________________________ 38
4
Using Another Unit ______________________________________________________ 39 Using the Serial Port _____________________________________________________ 39
7: Using Monitor Mode 41
Entering Monitor Mode Using the Serial Port _____________________________ 41
Entering Monitor Mode Using the Network _______________________________ 41
Using Monitor Mode Commands_______________________________________ 42
8: Troubleshooting and Technical Support 43
LEDs ____________________________________________________________ 43
Problems and Error Messages ________________________________________ 44
Technical Support __________________________________________________ 47
9: Technical Specifications 49
10: Connections and Pinouts 50
UDS200 Serial Ports _____________________________________________________ 50 Serial Connector Pinouts _________________________________________________ 50 Network Port ___________________________________________________________ 51 Ethernet Connector Pinouts _______________________________________________ 51 Null-Modem Cable ______________________________________________________ 51
A: Alternative Ways to Assign an IP Address 53
DHCP ________________________________________________________________ 53 AutoIP ________________________________________________________________ 53 BOOTP _______________________________________________________________ 54 ARP and Telnet_________________________________________________________ 54
B: Binary to Hexadecimal Conversions 55
Converting Binary to Hexadecimal _____________________________________ 55
Conversion Table _______________________________________________________ 55 Scientific Calculator _____________________________________________________ 56
Connect Mode Options ______________________________________________ 57
Disconnect Mode Options ____________________________________________ 60
Flush Mode (Buffer Flushing) Options___________________________________ 62
Interface Mode Options ______________________________________________ 67
Pack Control Options________________________________________________ 67
Declaration of Conformity 69
Warranty 70
Index 71
5
Figures
Figure 2-1. Application Examples ........................................................................................................ 10
Figure 2-2. Sample Hardware Address................................................................................................ 11
Figure 3-1. UDS200 Connected to Serial Device and Network........................................................... 12
Figure 4-1. Web Browser Login ........................................................................................................... 16
Figure 4-2. UDS Configuration Guidelines Page ................................................................................. 17
Figure 4-3. Lantronix Web Manager .................................................................................................... 18
Figure 4-4. Server Properties Configuration on the Web Browser ...................................................... 19
Figure 5-1. Network Login Using Telnet .............................................................................................. 20
Figure 5-2. Setup Mode Window ......................................................................................................... 21
Figure 5-3. Network Configuration ....................................................................................................... 22
Figure 5-4. Server Configuration Option .............................................................................................. 24
Figure 5-5. Channel 1 Configuration.................................................................................................... 24
Figure 5-6. Hostlist Option ................................................................................................................... 28
Figure 5-7. Expert Settings Options..................................................................................................... 33
Figure 5-8. Security Settings................................................................................................................ 34
Figure 6-1. TFTP Dialog Box ............................................................................................................... 38
Figure 6-2. Sending Firmware to another Unit..................................................................................... 39
Figure 6-3. Firmware Upgrade Screen Display................................................................................... 39
Figure 7-1. Entering Monitor Mode Using the Network........................................................................ 41
Figure 10-1. Serial Interface................................................................................................................. 50
Figure 10-2. DB9 Male RS232 Serial DTE Connector......................................................................... 50
Figure 10-3. Network Interface ............................................................................................................ 51
Figure 10-4. RJ45 Ethernet Connector ................................................................................................ 51
Figure 10-5. Null-Modem Cable (Lantronix Part No. 500-164)............................................................ 52
Tables
Table 5-1. Netmask Examples 23 Table 5-2. Interface Mode Options 25 Table 5-3. Common Interface Mode Settings 25 Table 5-4. Flow Control Options 25 Table 5-5. Connect Mode Options 26 Table 5-6. Manual Connection Address Example 27 Table 5-7. Modem Mode Commands 30 Table 5-8. Disconnect Mode Options 31 Table 5-9. Flush Mode Options 31 Table 5-10. Pack Control Options 32 Table 7-1. Monitor Mode Commands 42 Table 7-2. Command Response Codes 42 Table 8-1. UDS200 LEDs 44 Table 8-2. Problems and Error Messages 44
6
11:: UUssiinngg TThhiiss GGuuiiddee
Purpose and Audience
This guide provides the information needed to configure, use, and update the UDS200 device server. It is for system administrators and those responsible for installing and maintaining the UDS200.
Chapter Summary
The remaining chapters in this guide include:
2: Introduction Describes the main features of the UDS200 and the
3: Getting Started Provides information for installing your unit and getting it up
4: Configuring the UDS Using Web Manager
5: Configuring the UDS Using Telnet or the Serial Port
protocols it supports.
and running.
Provides instructions for accessing Web Manager and using it to configure settings for the UDS.
Provides instructions for accessing Setup Mode (command line interface) using a Telnet connection through the network or a terminal or terminal emulation program through the serial port. Details the settings that you must configure.
6: Updating Firmware Provides instructions for obtaining the latest firmware and
updating the UDS200.
7: Using Monitor Mode Provides instructions for accessing and using the command
line interface to monitor the network and diagnose problems.
8: Troubleshooting and Technical Support
9: Technical Specifications Lists technical specifications for the UDS200.
10: Connections and Pinouts Provides descriptions and illustrations of connection
A: Alternative Ways to Assign an IP Address
B: Binary to Hexadecimal Provides instructions on converting binary values to
Describes common problems and error messages and how to contact Lantronix Technical Support.
hardware.
Provides detailed information about using DHCP, AutoIP, BOOTP ARP, and Telnet to assign an IP address.
hexadecimals and tables listing all configuration options in hexadecimal notation.
7
UDS200 User Guide Using This Guide
Additional Documentation
The following guide is available on the product CD or the Lantronix Web site:
www.lantronix.com
.
DeviceInstaller User Guide
Provides instructions for using the Windows-based utility to configure the UDS and other Lantronix device servers. (CD and web site)
8
22:: IInnttrroodduuccttiioonn
Applications
The UDS family of Device Servers allows serial devices, such as those listed below, to connect and communicate over Ethernet networks using the IP protocol family (TCP for connection-oriented stream applications and UDP for datagram applications).
Security alarms
Access control devices
Fire control panels
Time/attendance clocks and terminals
ATM machines
Data collection devices
RFID readers
Universal Power Supply (UPS) management units
Telecommunications equipment
Data display devices
Virtually any asynchronous RS-232, RS422, or RS485 device.
Application Examples
Using a method called serial tunneling, the UDS200 encapsulates serial data into packets and transports them over Ethernet. Using two UDS200 units, connected by a network, virtual serial connections can extend across a facility or around the world.
The Com Port Redirector software included on the product CD simplifies the integration process by extending the functionality of COM-port-based Windows™ applications. Virtual COM ports, mapped to remote device servers on the network, can replace direct serial connections.
9
Introduction UDS200 User Guide
Figure 2-1. Application Examples
Note: For step-by-step instructions on configuring the UDS for serial
tunneling or for use with the Com Port Redirector, access the UDS Configuration Tutorials using Web Manager. (See Accessing Web Manager.)
Protocol Support
The UDS200 uses the Internet Protocol (IP) for network communications and the Transmission Control Protocol (TCP) to assure that no data is lost or duplicated, and everything sent to the connection arrives correctly at the target.
Other protocols supported are:
ARP, UDP, TCP, ICMP, Telnet, TFTP, AutoIP, DHCP, HTTP, and SNMP for
network communications.
TCP, UDP, and Telnet for connections to the serial port.
TFTP for firmware updates.
IP for addressing, routing, and data-block handling over the network.
User Datagram Protocol (UDP) for typical datagram applications in which
devices interact with other devices without maintaining a point-to-point connection.
10
Introduction UDS200 User Guide
Additional Features
Modem Emulation: In modem emulation mode, the UDS200 can replace dial-up
modems. The unit accepts modem AT commands on the serial port, and then establishes a network connection to the end device, leveraging network connections and bandwidth to eliminate dedicated modems and phone lines.
Built-in Web Server: The UDS200 includes a built-in web server for configuring the unit and displaying operating and troubleshooting information on the attached links to online support.
Configuration Methods
After installation, the UDS200 requires configuration. For the unit to operate correctly on a network, it must have a unique IP address on the network. There are three basic methods for logging into the UDS200 and assigning IP addresses and other configurable settings:
DeviceInstaller: Configure the IP address and other network settings on the UDS200 using a Graphical User Interface (GUI) on a PC attached to a network. See DeviceInstaller on page 14.)
Web Manager: Through a web interface, configure the UDS200 settings using the Lantronix Web Manager. (See 4: Configuring the UDS Using Web Manager.)
Serial and Telnet Ports: There are two approaches to accessing Setup Mode: making a Telnet connection to the network port (9999) or connecting a terminal (or a PC running a terminal emulation program) to the unit’s serial port. (See 5:
Configuring the UDS Using Telnet or the Serial Port.)
Product Information Label
The product information label on the underside of the unit contains the following information about your specific unit:
Bar code
Serial number
Product ID (name)
Product description
Hardware address (also referred to as Ethernet or MAC address)
The first three bytes of the hardware address are fixed and read 00-20-4A, identifying the unit as a Lantronix product. The fourth, fifth, and sixth bytes are unique numbers assigned to each unit.
Figure 2-2. Sample Hardware Address
00-20-4A-14-01-18 or 00:20:4A:14:01:18
11
33:: GGeettttiinngg SSttaarrtteedd
This chapter describes how to get your UDS up and running in the shortest possible time.
Installing the UDS200
The following diagram shows a properly installed unit:
Figure 3-1. UDS200 Connected to Serial Device and Network
To install the unit, complete the following steps in order. Refer to the numbers in the previous figure.
1. Connect a serial device to your unit. See 10: Connections and Pinouts for more information about what kinds of device attachments the unit supports.
2. Connect an Ethernet cable to the 10/100 port.
3. Supply power to your unit using the power supply that was included in the packaging.
Note: The required input voltage is 9-30 VDC or 9-24 VAC
(2W maximum).
4. Supply power to the serial device.
Note: If you encounter a problem, please see LEDs on page 43 for
diagnostic information.
12
Getting Started UDS200 User Guide
Required Information
Hardware Address
Take note of the unit’s hardware address (also known as the MAC or Ethernet address). It is on the product label, in the format: 00-20-4a-XX-XX-XX, where the XXs are unique numbers assigned to the product (see Product Information Label on page
11).
Hardware Address: 00-20-4a-_____-_____-_____
IP Address
The UDS must have a unique IP address on your network. This address references the specific unit. By default, the device is DHCP-enabled and automatically assigned an IP address on DHCP-enabled networks. If you are assigning a static IP address, the systems administrator generally provides the IP address, subnet mask, and gateway.
Note: The factory default IP address is 0.0.0.0 to enable DHCP, BOOTP,
and AutoIP. When the units boots, it sends a DHCP broadcast to try and get an IP address. If it receives no reply from a DHCP server, the UDS tries BOOTP. If the UDS does not receive a response from BOOTP, it reverts to an AutoIP address.
IP Address: _______ _______ _______ _______
Subnet Mask: ___
____ _______ _______ _______
Gateway: _______ _______ _______ _______
You have several options for assigning an IP to your unit. This chapter provides information about using the DeviceInstaller (graphical user interface) and serial port login (command line interface) methods.
Note: For more information other methods of assigning IP addresses, such
as DHCP, AutoIP, ARP and Telnet, see A: Alternative Ways to Assign an IP
Address.
13
Getting Started UDS200 User Guide
Assigning the IP Address and Related Network Settings
This section describes two ways to assign the IP address and related network settings quickly:
DeviceInstaller
Serial Port Login
DeviceInstaller
Note: The DeviceInstaller User Guide and the DeviceInstaller online help
provide more detailed information on using DeviceInstaller.
Installing DeviceInstaller
To use the DeviceInstaller utility, you first install it from the product CD.
1. Insert the product CD into your CD-ROM drive. The Lantronix UDS10/UDS100 DeviceInstaller window displays.
2. If the CD does not launch automatically:
a) Click the Start button on the Task Bar and select Run.
b) Enter your CD drive letter, colon, backslash, deviceinstaller.exe (e.g.,
E:\deviceinstaller.exe).
3. Click the DeviceInstaller button. The installation wizard window displays.
4. Respond to the installation wizard prompts. (When prompted to select an installation type, select Typical.)
Assigning the IP Address and Network Class
1. Click the Start button on the Task Bar and select Programs Æ Lantronix Æ DeviceInstaller Æ DeviceInstaller. The DeviceInstaller window displays.
2. Click the Assign IP icon. The Assign IP Address window displays.
3. Enter the Hardware or Ethernet address of the device.
4. Select Assign a specific IP address to assign a static IP address to the device, or select Obtain an IP address automatically to enable BOOTP, DHCP, or Auto IP on the device.
5. Click Next.
6. Enter an IP address, subnet mask, and gateway for the device. Enter this information in XXX.XXX.XXX.XXX format.
7. Click Next.
8. Click the Assign button to finalize the IP assignment.
14
Getting Started UDS200 User Guide
Adding the Unit to the Manage List
Now add the unit to the list of similar Lantronix devices on the network so that you can manage and configure it. To perform this step, click the Search icon.
DeviceInstaller locates the unit and adds it to the list. Now you can manage (configure) the unit so that it works with the serial device on the network.
Methods of Configuring the UDS
Now that the UDS has an IP address and other initial settings, you can configure it further by several methods.
Note: To assign Expert settings and Security settings, you must use the
Setup Mode window in a Telnet session.
To configure the unit using a Web browser, click the Web icon. The Lantronix
Web Manager window displays in your browser. Continue with 4: Configuring
the UDS Using Web Manager.
To configure the unit using a Telnet session or the serial port, click the
Telnet icon. The Setup Mode window displays. Continue with 5: Configuring
the UDS Using Telnet or the Serial Port.
Serial Port Login
To assign the IP address and other network settings using a serial connection, follow these steps:
1. Connect a console terminal or a PC running a terminal emulation program to the
unit's serial port. The default serial port settings are 9600 baud, 8 bits, no parity, 1 stop bit, no flow control.
2. To enter Setup Mode, cycle the unit's power (power off and back on). After
power-up, the self-test begins and the red Diagnostic LED starts blinking. You have one second to enter three lowercase x characters.
Note: The easiest way to enter Setup Mode is to hold down the x key at
the terminal (or emulation) while powering up the unit.
3. Select 0 (Server Configuration) and follow the prompts until you get to IP
address.
4. Enter the new IP address, subnet mask, and gateway (if applicable).
5. Do one of the following:
Continue with 5: Configuring the UDS Using Telnet or the Serial Port.
Select 9 to save and exit Setup Mode. The unit performs a power reset.
15
44:: CCoonnffiigguurriinngg tthhee UUDDSS UUssiinngg WWeebb MMaannaaggeerr
You must configure the UDS so that it can communicate on a network with your serial device. For example, you must set the way the unit responds to serial and network traffic, handles serial packets, and starts and closes connections.
This chapter gives an overview of the procedure for using Web Manager to configure a UDS. This is the easiest and preferred method.
The unit’s configuration is stored in nonvolatile memory (NVRam) and is retained without power. You can change the configuration at any time. The unit performs a reset after the configuration has been changed and stored.
Note: When configuring the UDS200, note that it does not support 2 stop
bits for port 2.
Accessing Web Manager
If your unit already has an IP address, you can log into it using a standard Web browser with Java enabled.
Note: You can also access Web Manager by clicking the Web icon on the
DeviceInstaller “Manage List” window (see Methods of Configuring the UDS on page 15.)
1. Type the unit's IP address into the Web browser's URL (Address/Location) field.
Figure 4-1. Web Browser Login
2. When the UDS Configuration Guidelines Page displays, select one of the four links:
16
Configuring the UDS Using Web Manager UDS200 User Guide
Figure 4-2. UDS Configuration Guidelines Page
UDS settings opens a configuration window to configure the UDS200, as
shown in Figure 4-3.
Serial cabling lets you view pinouts for the UDS serial port.
View UDS Configuration Tutorials provides step-by-step instructions for
configuring serial tunneling and the Com Port Redirector.
Technical Support lets you download the latest firmware for your UDS and
view documentation.
17
Configuring the UDS Using Web Manager UDS200 User Guide
Figure 4-3. Lantronix Web Manager
Configuring the UDS
To configure the unit using a Web browser, select UDS Settings on the UDS Configuration Guidelines page and perform the following steps.
1. Use the menu (pushbuttons) to navigate to sub-pages where you can configure server settings.
Note: Explanations of all parameters are in 5: Configuring the UDS
Using Telnet or the Serial Port.
2. When you are finished, click the Update Settings button to save your settings.
For example, to enter server properties:
1. Click the Server Properties button. The Server Properties section of the Web page displays.
2. Confirm or enter values for:
IP Address
Subnet Mask
Gateway Address
18
Configuring the UDS Using Web Manager UDS200 User Guide
Figure 4-4. Server Properties Configuration on the Web Browser
3. In the Telnet Password field, enter a password to prevent unauthorized access
to the Setup Mode using a Telnet connection to port 9999. The password is limited to four characters. (An enhanced password setting of 16 characters is available under Security Settings in Setup Mode.)
Note: No password is required to access the Setup Mode window using
a serial connection.
4. Click the Update Settings button.
19
55:: CCoonnffiigguurriinngg tthhee UUDDSS UUssiinngg TTeellnneett oorr tthhee
SSeerriiaall P
Poorrtt
You must configure the UDS so that it can communicate on a network with your serial device. For example, you must set the way the unit will respond to serial and network traffic, how it will handle serial packets, and when to start or close a connection.
As an alternative to using Web Manager, configure the UDS using a series of prompts referred to as Setup Mode, accessed through a Telnet or a serial port connection. Once you access the screen, the configuration procedure is identical.
The unit’s configuration is stored in nonvolatile memory (NVRam) and is retained without power. You can change the configuration at any time. The unit performs a reset after the configuration has been changed and stored.
This chapter provides instructions on using Setup Mode and detailed explanations of the configuration settings.
Note: When configuring the UDS200, note that it does not support 2 stop
bits for port 2.
Using a Telnet Connection
To configure the unit over the network, establish a Telnet connection to port 9999.
Note: You can also establish a Telnet connection by clicking the Telnet icon
on the DeviceInstaller “Manage List” window (see Methods of Configuring the
UDS on page 15.)
1. From the Windows Start menu, click Run and type the following command, where x.x.x.x is the IP address and 9999 is the unit’s fixed network configuration port number.
Figure 5-1. Network Login Using Telnet
telnet x.x.x.x 9999
Note: Be sure to include a space between the IP address and 9999.
2. Click OK. To remain in Setup Mode, you must press Enter within 5 seconds.
The configuration settings display, followed by the Change Setup menu.
20
Configuring the UDS Using Telnet or the Serial Port UDS200 User Guide
Figure 5-2. Setup Mode Window
3. Select an option on the menu by entering the number of the option at the Your
choice ? prompt and pressing Enter.
4. To enter a value for a parameter, type the value and press Enter, or to confirm a
current value, just press Enter.
5. When you are finished, save the new configurations (option 9). The unit reboots.
21
Loading...
+ 51 hidden pages