Patton electronic 2120 User Manual

USER MANUAL
MODEL 2120
RS-232 Single Port Terminal Server
An ISO-9001
Certified Company
Part# 07M2120-UM Doc# 08302U2-001, Rev. D
Revised 10/27/06
SALES OFFICE (301) 975-1000 TECHNICAL SUPPORT (301) 975-1007
TABLE OF CONTENTS
1.0 Warranty Information ................................................................. 5
1.1 FCC Information ........................................................................... 5
1.2 CE Notice...................................................................................... 6
1.3 Service.......................................................................................... 6
2.0 General Information.................................................................... 7
2.1 Product Features.......................................................................... 7
2.2 Software Features ........................................................................ 7
RS-232 Serial Interface................................................................ 7
PPP/SLIP...................................................................................... 8
IP Forwarding/NAT....................................................................... 9
Raw TCP/TELNET ....................................................................... 9
System Features ........................................................................ 10
User Database............................................................................ 10
Utilities........................................................................................ 10
View (Show) Features................................................................ 11
2.3 Description.................................................................................. 12
3.0 Configuration ............................................................................ 15
3.1 Configuration Switches............................................................... 15
Default Settings.......................................................................... 16
Detailed Switch Settings............................................................. 16
3.2 Software Configuration............................................................... 16
Model 2120 Software Command System................................... 17
Model 2120 Help Menu/Command Hierarchy ............................ 17
Entering Commands................................................................... 19
Activating Configuration Commands.......................................... 19
3.3 Default Configuration Parameters .............................................. 20
EIA232 Interface Defaults........................................................... 20
PPP Defaults.............................................................................. 20
RawTCP/Telnet Defaults............................................................ 20
System Defaults ......................................................................... 21
User Database Defaults ............................................................. 21
3.4 Initial Unit Configuration.............................................................. 21
3.5 Remote Configuration of the Unit ............................................... 25
3.6 Sample 2120 Configurations ...................................................... 26
Telnet/TCP Operation................................................................. 26
RawTCP Operation .................................................................... 29
PPP Operation............................................................................ 32
SLIP Operation........................................................................... 35
3.7 User Database............................................................................ 38
User Name ................................................................................. 38
Password.................................................................................... 38
Privilege...................................................................................... 39
Creating Users............................................................................ 39
Deleting All Users....................................................................... 40
Deleting A Single User ............................................................... 40
2
Modifying A User........................................................................ 41
3.8 IP Addressing ............................................................................. 42
Unit IP Address........................................................................... 42
Serial Interface IP Address......................................................... 42
Subnet Mask............................................................................... 44
3.9 Name Servers............................................................................. 44
Domain Name Server (DNS)...................................................... 44
Windows Name Server (WINS).................................................. 45
Obtaining Name Server Addresses From PPP Client................ 45
Obtaining Name Server Addresses From SLIP Client................ 45
3.10 Software Installation Instructions................................................ 46
Software Installation Procedures Using Your Own
FTP Server................................................................................. 46
Software Installation Procedures Using Patton’s
FTP Server................................................................................. 47
4.0 Installation................................................................................. 49
4.1 Model 2120 Connection.............................................................. 49
4.2 AC Power Connection ................................................................ 49
AC Power Supply (100-240VAC) ............................................... 50
DC Power Supply (36-60VDC)................................................... 50
5.0 Operation................................................................................... 51
5.1 LED Status Indicators................................................................. 51
Rear Panel LEDs........................................................................ 51
Top Panel LEDs ......................................................................... 52
5.2 Flow Control And Session Control.............................................. 53
Flow Control ............................................................................... 53
Session Control.......................................................................... 54
5.3 Using "Show" Commands For 2120 Status................................ 54
5.4 2120 Utilities............................................................................... 54
Boot............................................................................................ 54
EIA232 Connection Closure....................................................... 55
Ping ............................................................................................ 55
Raw-TCP.................................................................................... 56
Telnet.......................................................................................... 56
Display ARP Table ..................................................................... 56
A Model 2120 Single Port Terminal Server Specifications....... 57
A.1 Serial Interface ............................................................................ 57
A.2 Serial Transmission .................................................................... 57
A.3 DCE/DTE .................................................................................... 57
A.4 RS-232 Status Indicators ............................................................ 57
A.5 Ethernet Interface ....................................................................... 57
A.6 Ethernet Standard ....................................................................... 57
A.7 System Status Indicators ............................................................ 57
A.8 Protocols Supported ................................................................... 57
A.9 Management Services ................................................................ 57
A.10 Memory ....................................................................................... 57
3
A.11 Power Supply Options ................................................................ 57
A.12 Temperature ............................................................................... 58
A.13 Altitude ........................................................................................ 58
A.14 Humidity ...................................................................................... 58
A.15 Dimensions ................................................................................. 58
A.16 Weight ......................................................................................... 58
B Model 2120 Single Port Terminal Server
Software Command Definitions .............................................. 59
B.1 Activate Image Commands ......................................................... 59
B.2 Boot Commands ......................................................................... 59
B.3 Configure Commands ................................................................. 59
B.4 EIAONCLOSE Commands ......................................................... 69
B.5 FTP Commands .......................................................................... 69
B.6 Ping Commands ......................................................................... 70
B.7 RAWTCP Commands ................................................................. 70
B.8 SHOW Commands ..................................................................... 70
C Pin Configurations.................................................................... 81
4

1.0 WARRANTY INFORMATION

Patton Electronics
defects, and will—at our option—repair or replace the product should it fail within one year from the first date of shipment.
This warranty is limited to defects in workmanship or materials, and does not cover customer damage, abuse or unauthorized modification. If this product fails or does not perform as warranted, your sole recourse shall be repair or replacement as described above. Under no condition shall
Patton Electronics
product. These damages include, but are not limited to , the f ollo wing: lost profits, lost savings and incidental or consequential damages arising from the use of or inability to use this product. cifically disclaims all other warranties, expressed or implied, and the installation or use of this product shall be deemed an acceptance of these terms by the user.

1.1 FCC INFORMATION

This equipment has been tested and found to comply with the limits for a Class A digital device, pursuant to P art 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interfer­ence when the equipment is operated in a commercial environment. This equipment generates, uses, and can radiate radio frequency energy and, if not installed and used in accordance with the instruction manual, may cause harmful interference to radio communications. Operation of this equipment in a residential area is likely to cause harmful interference in which case the user will be required to correct the interference at his own expense. If this equipment does cause harmful interference to radio or television reception, which can be determined by turning the equipment off and on, the user is encouraged to try to correct the interference by one or more of the following measures:
warrants all Model 2120 components to be free from
be liable for any damages incurred b y the use of this
Patton Electronics
spe-
• Reorient or relocate the receiving antenna
• Increase the separation between the equipment and receiver
• Connect the equipment into an outlet on a circuit different from that to
which the receiver is connected
5

1.2 CE NOTICE

The CE symbol on your Patton Electronics equipment indicates that it is in compliance with the Electromagnetic Compatibility (EMC) directive and the Low Voltage Directive (LVD) of the European Union (EU). A Cer­tificate of Compliance is available by contacting Technical Support.
Note
THIS DEVICE IS NOT INTENDED TO BE CONNECTED TO THE PUBLIC NETWORK.

1.3 SERVICE

All warranty and nonwarranty repairs must be returned freight prepaid and insured to Patton Electronics. All returns must have a Return Mate­rials Authorization number on the outside of the shipping container. This number may be obtained from Patton Electronics Technical Services at:
Tel:
(301) 975-1007
E-mail: URL:
support@patton.com
www.patton.com
Note
Packages received without an RMA number will not be accepted.
Patton Electronics' technical staff is also available to answer any ques­tions that might arise concerning the installation or use of your Patton Model 2120. Technical Service hours: through
Friday
.
8AM to 5PM EST, Monday
6

2.0 GENERAL INFORMATION

Thank you for your purchase of this product has been thoroughly tested and is warranted for One Year parts and labor. If any questions or problems arise during installation or use of this product, please do not hesitate to contact
nical Support

2.1 PRODUCT FEATURES

• Enables control of any RS-232 asynchronous serial device ov er a LAN
or via the Internet
• Asynchronous data rates up to 115.2 kbps
• DTE/DCE-selectable serial port
• RS-232 status indicators
• RS-232 serial connection via DB-25 male and female, DB-9 male and
female, and RJ-45 female connector options
• 802.3 10Base-T LAN connection via RJ-45 female connector
• Ethernet Link and System Status Indicators
• User-configurable session options
• Supports standard protocols including TCP, UDP, IP, ICMP, TELNET,
ARP, DHCP, FTP, SLIP, PPP, and PAP
at
(301) 975-1007
Patton Electronics
Patton Electronics Tech-
.
product. This
• Comes with 1 Mbyte RAM and 512 kbytes FLASH
• Small package attaches directly to terminal equipment
• AC or DC power options
• Software updates via Patton’s FTP site
• Can be used as single-port remote access server

2.2 SOFTWARE FEATURES

RS-232 Serial Interface

• Selectable asynchronous data rates from 50 bps to 115.2 kbps
• Selectable serial port options of DCE, DTE
• DCE/DTE on configuration reset (SW2)
7
• Selectable RS-232 character length options of 5, 6, 7, 8
• Selectable RS-232 flow control options of none, hardware, xonxoff
• Selectable RS-232 parity options of none, odd, even, high
• Selectable RS-232 stop length options of 1, 2
• Selectable RS-232 interface protocol options of Telnet, Raw-TCP,
SLIP, and PPP
• Ability to display the current active user on the serial interface
• Ability to disable the user interface at the serial interface when using
Telnet or Raw-TCP
• Receive Buffer Length and Receive Idle Character Triggering support
• Selectable serial interface inactivity timeout (minutes) with
disable option

PPP/SLIP

• Enables devices connected to the serial interface with Ethernet con-
nectivity using either PPP or SLIP protocols
• Proxy ARP provides the de vice connected to the serial interface with a
virtual Ethernet connection
• DHCP enable/disable for static or dynamic IP addressing for PPP
operations
• Configurable DHCP PPP hardware address
• Optional IP addressing from the PPP client device connected to the
serial interface instead of using static or dynamic IP addressing
• Optional PAP user authentication protocol for PPP operations
• Supports Primary and Secondary Domain Name Server (DNS or
WINS) functionality
• Supports DNS address static configuration in the PPP client device
• Ability to configure either 16 or 32-bit FCS when using PPP (previously
fixed at 16)
• Ability to configure receive and transmit ACCM (Async-Control Char-
acter Map) when using PPP (previously fixed at 0xFFFFFFFF).
8
• DHCP:
– DHCP enable/disable for static or dynamic IP addressing of the unit – Permit the use of the DHCP offered IP address in the IP address
destination field
– DHCP Client support for Default Gateway

IP Forwarding/NAT

• Ability to forward IP packets from multiple Ethernet devices across its
serial interface in both SLIP and PPP mode
• NAT support for a single device connected on the Ethernet interface
when IP Forwarding is enabled
• FTP/Port command support when NAT is enabled
• NAT algorithm conforms to RFC 1624

Raw TCP/TELNET

• Permits automatic connection request to a remote device
• Permits incoming connection requests from remote devices on the
serial interface
• Selectable frequency (in seconds) of the automatic connection
requests to remote device
• Selectable TCP port number for serial interface
• Selectable destination IP address for sending automatic connection
requests to a remote device
• Selectable TCP port number for sending automatic connection
requests to a remote device
• Optional User ID & Password capability when sending automatic con-
nection requests to remote device
• Selectable serial interface session termination character
• Flexible Telnet session NVT configuration
• Serial Port TCP Inactivity Support
• Ability to specify TCP port number for the user interface
9

System Features

• Ability to display boot message on the serial interface
• Selectable default gatew ay IP address for use when the destination IP
address cannot be found
• DHCP enable/disable for static or dynamic IP addressing of the unit
• Selectable unit IP address
• Ability to change factory assigned unit MAC Address, MAC Address
preserved when configuration is default
• Ability to enable/disable unit management/configuration via remote
Telnet session
• Ability to display the current active user on the serial interface
• Ability to disable the user interface at the serial interface when using
Telnet or Raw-TCP
• Selectable unit management inactivity timeout (minutes) with disable
option
• Ability to change the preset system command prompt (TS>) to
uniquely identify the unit
• Selectable unit Subnet Mask
• RAW UDP protocol support

User Database

• Fully integrated 64-user database with Telnet, RawTCP and PPP oper-
ation
• All user security accessed through database
• Telnet and RawTCP operations support multiple users

Utilities

• Ability to remotely perform a soft boot of the unit
• Configuration reset to factory default configuration via SW1 (Will not
reset MAC Address)
• Ability to clear configuration changes prior to being activated/written to
memory
10
• Ability to reset non-volatile configuration parameters
• Ability to remotely close the serial interface connection
• Ability to FTP to a remote device
• Ability to Ping to a remote device
• Ability to Raw-TCP to a remote device
• Ability to Telnet to a remote device
• Ability to download software using FTP and write/activate to flash
memory
• Ability to display ARP Table

View (Show) Features

• Ability to view all current serial interface related parameters
• Ability to view current setting of each individual serial interface related
parameter
• Ability to view all current Raw-TCP related parameters
• Ability to view current setting of each individual Raw-TCP related
parameters
• Ability to view all current system related parameters
• Ability to view current setting of each individual system related
parameters
• Ability to view TCP connection state
• Ability to view DHCP state, passed lease time (seconds), renew lease
time (seconds), rebind lease time (seconds), and expire lease time (seconds)
• Ability to view current software version
• Ability to view all current PPP/SLIP related parameters
• Ability to view current setting of each individual PPP/SLIP related
parameter
11

2.3 DESCRIPTION

The Model 2120 Single Port Terminal Server (see Figure 1) provides a quick, easy to use solution for connecting traditional RS-232 terminals and devices to the Local Ethernet/IP Network. The Model 2120 can also function as a very cost effective single port remote access server. Serial asynchronous device connectivity across the LAN is provided using Tel­net/TCP, Raw-TCP, SLIP, or PPP protocols. The v ersatile and feature-rich Model 2120 can literally be used in thousands of different applications and environments, including:
• Factory floor machinery
• Security systems
• Printers
• Scales
• Barcode scanners
• Various instruments
• Climate control systems
• ASCII terminals
• Vending machines
• Cash registers and other point-of-sale (POS) devices
• RS-232 control/console ports (PBX, switches, etc.)
Figure 1.
Model 2120 showing location of Ethernet and RS-232 ports.
12
The Model 2120 is initially configured via the serial interface using a dumb terminal or terminal emulation software in VT-100 mode. The serial interface factory default asynchronous setting is 9600 bits/second, 8 bits per character, no parity, and 1 stop bit. All configuration parameters can be set via the serial interface using the 2120's menu-driven command system. Once initial configuration is complete with a static or dynami­cally assigned IP address and the 2120 is connected to the LAN, config­uration parameters can be modified, configuration parameters and operational status can be viewed, and utilities can be performed ov er the LAN using a Telnet session.
The Model 2120 can use DHCP (Dynamic Host Configuration Protocol) to dynamically obtain the unit IP address over the LAN from a DHCP server. The 2120 sends the DHCP server MAC address information and dynamically obtains its IP address based on the unit MAC address. This feature reduces the numbers of IP addresses on the network and mini­mizes network administration.
Telnet/TCP operation provides an asynchronous device connected to the Model 2120 serial interface with connectivity to a remote device/applica­tion over the LAN. Asynchronous data received at the Model 2120 serial interface is sent to the remote device using the Telnet/TCP protocol. Asynchronous data received from the Telnet/TCP connection is sent to the device connected to the Model 2120 serial interface. When the remote device accessed over the LAN performs the same type of opera­tion, an asynchronous connection is formed between the two devices.
Raw-TCP operation is identical to Telnet/TCP operation with one excep­tion. The data passed between the 2120's serial interface and the remote device/application is directly passed using TCP (Telnet is not used). Aside from this one e xception, Ra w-TCP contains all the f eatures and functionality as Telnet/TCP.
PPP operation provides an asynchronous device connected to the Model 2120 serial interface with LAN connectivity. The Model 2120 and the device connected to its serial interface e xchange IP pac kets where each IP packet is PPP encapsulated. The Model 2120 uses proxy ARP to pro­vide the device connected to the serial interface with a virtual LAN con­nection. The Model 2120 optionally provides PAP as a user authentication protocol. PAP security can be used to validate a user try­ing to establish a LAN connection from the device connected to the Model 2120 serial interface. The Model 2120 IP address for PPP opera­tions can be either configured statically or dynamically using a DHCP server. Further, the PPP IP address may be obtained from the PPP cli­ent device connected to the serial interface.
13
SLIP operation provides a device connected to the Model 2120 serial interface with LAN connectivity. The Model 2120 and the device con­nected to the serial interface exchange IP pack ets where each IP packet is SLIP encapsulated. The Model 2120 uses proxy ARP to provide the device connected to the serial interface with a virtual Ethernet connec­tion. The Model 2120 serial interface IP address must be configured with the same static IP address as the device connected to the serial inter­face.
When operating in PPP mode and accessing the Internet through the Model 2120, the unit can be configured for DNS and/or WINS . These are client name server options for Internet domain name resolution. When operating in SLIP mode, the Model 2120 must be configured to obtain the name server addresses from the SLIP client device.
The Model 2120 features a flexible user database with security for up to 64 users. This enables security access to the Model 2120 serial inter­face and administrative management of the Model 2120 over the LAN. Each user is assigned a user name, password and privilege for access­ing the serial interface (User), administration management features (Admin), or both. If the Model 2120 is configured for PPP (and PAP security is enabled), the user may connect from a remote PPP client through a modem connected to the serial port of the Model 2120 and receive / transmit data over the LAN.
The Model 2120 uses an integrated FTP (File Transfer Protocol) client to obtain new program images and communicate with an FTP server. The FTP client logs onto the FTP server and then can browse and display files located on the FTP server. The FTP client can also obtain a new program image (software release) from the FTP server. The program image is first obtained from the FTP server across the LAN and then stored in FLASH memory. This enables the Model 2120 to obtain new functionality both easily and quickly. The latest Model 2120 software release is available for download via upgrades.patton.com.
The Model 2120 features integrated utility f eatures to perform a variety of functions. These include utilities to activate new software images (acti­vateimage), remotely boot the Model 2120 over the LAN (boot), remotely close the connection to the Model 2120 serial interface (eiaonclose), test connectivity with another IP device (ping), establish a Telnet session with another IP device with Telnet/TCP support (telnet), establish a Raw-TCP session with another IP device with TCP support (rawtcp), and display the Model 2120 ARP Table (za).
Last, the Model 2120 features the ability to view any or all configuration parameter settings and operational status of the Model 2120 unit.
14

3.0 CONFIGURATION

3.1 CONFIGURATION SWITCHES

SW1 is a set of four internal DIP switches (see Figure 2) that are used for configuration reset purposes only . To access switch set SW1, use a small flat blade screwdriver to open the Model 2120’s case as shown in Figure 3.
Figure 2.
Figure 3.
Switch set SW1 location
Opening the Model 2120 case
To configure the DIP switches, use a small screwdriver and gently push each switch to its proper setting. The ON and OFF positions are shown in Figure 2.
15

Default Settings

Default settings for the DIP switches are as follows:
Table 1:
Default Settings
Position Function Factory Default
SW1 Configuration Reset OFF SW2 DCE/DTE on Config Reset OFF SW3 Not Used (Must Be OFF) OFF SW4 Not Used (Must Be OFF) OFF

Detailed Switch Settings

This section provides detailed information about the function of each DIP switch and lists all possible settings.
• Switch 1: Configuration Reset. Set this switch to the ON position and
power cycle the unit to reset to the factory default configuration par am­eters.
Note
This will not change the factory assigned NIC/MAC address.
• Switch 2: DCE/DTE on Configuration Reset. When a configuration
reset is being performed via Switch 1 (above), set this s witch to the ON position to force the serial interface to DTE or to the OFF position to force the serial interface to DCE.
Note
This switch is ONLY read when the configuration is reset through Switch 1 (above).
• Switch 3: Not Used. This switch is not used and must remain in the
OFF position.
• Switch 4: Not Used. This switch is not used and must remain in the
OFF position.

3.2 SOFTWARE CONFIGURATION

The Model 2120 features a menu-driven command system that enables the configuration of the 2120 software via the serial interface using a VT­100 terminal or emulation session or over the LAN using a Telnet ses­sion. Since the Model 2120 is not pre-configured with an IP address for your network, initial configuration of the Model 2120 is performed via the serial interface (See “Initial Unit Configuration” on page 21.). Once initial configuration is complete with a static or dynamically assigned IP address and the Model 2120 is connected to the LAN, configuration parameters can be modified over the LAN using a Telnet session. The
16
management enable command is factory set to yes, which allows the remote configuration of the Model 2120 over the LAN.

Model 2120 Software Command System

The Model 2120 Software Command System is designed with a series of help menus and commands derived from the actual function descrip­tions. Once a session has been established with the 2120 and the sys­tem prompt ( displayed by pressing the <
*** Help Menu ***
activateimage - Activate Image Acquired With FTP Get boot - Boot System configure - Configure Parameters eiaconclose - EIA232 Connection Close ftp - FTP To Remote Device ping - Ping Remote Device rawtcp - Raw-TCP To Remote Device show - Show Parameters and Statistics telnet - Telnet To Remote Device
TS>
) appears, the main help menu (see Figure 4) will be
Enter
> key.
Figure 4.
Main Help Menu
The "configure" and "show" commands are used to access system, eia232 and user database related parameters. Commands other than "configure" and "show" result in ex ecuting an operation or utility and thus do not have menus associated with them.

Model 2120 Help Menu/Command Hierarchy

The help menu/command hierarchy is shown in Figure 5 on page 18.
Note
For a detailed definition of all Model 2120 system commands, valid entries, and defaults see Appendix B on page 59.
17
Figure 5.
Model 2120 Help Menu/Command Hierarchy
18

Entering Commands

Commands are executed b y typing the appropriate command or com­mands at the system prompt (TS>) followed b y a valid entry (if applicable) and the
<Enter>
key. If entering multiple commands, they must be entered in hierarchy order (See “Model 2120 Help Menu/Command Hierarchy” on page 17) and separated by a space. For example, the following command string is entered to set the serial interface data rate to 115.2 kbps:
TS>configure eia232 interface datarate 115200<Enter>
For a single entry command such as “boot”, the following command is entered to remotely boot the Model 2120:
TS>boot<Enter>
Commands entered are matched against the commands available for that menu. Commands are accepted when the characters entered for a command can only match one command for that menu. Thus shortcuts are permitted when entering commands. The following examples show how shortcut commands can be used to enter the same configure and boot commands as listed above:
TS>c e i da 115200<Enter> TS>b<Enter>
Activating Configuration Commands
The Model 2120 configuration parameters can be changed by using the “configure” command and associated sub-commands. Immediately after the necessary “configure” command string is entered, the “configure acti­vate” command
write them to flash memory
must
be entered in order to activate the changes and
. For example, the command string used to set the serial interface data rate to 115.2 kbps (see section “Entering Commands”) must be immediately followed by the following command:
TS>configure eia232 interface datarate 115200<Enter> TS>configure activate<Enter>
If successfully activated, the message “Activate is complete!” will display.
Note
The “configure activate” command MUST be entered after each configuration change!
19

3.3 DEFAULT CONFIGURATION PARAMETERS

The Model 2120 software is pre-configured with the following factory default settings.

EIA232 Interface Defaults

• Character Length: 8 (bits)
• Datarate:
• DTE/DCE Physical Port:
• Flow Control:
• Inactive Timeout: 15 (minutes)
• Serial Interface IP Address:
• Parity:
• Serial Interface Protocol:
• Stop Length: 1 (bits)
• Serial Interface Subnet Mask:

PPP Defaults

• PPP DHCP Enable:
• Peer IP Address Use Enable:
• Peer Name Server Address Use Enable:
• Primary DNS Address:
• Primary WINS Address:
9600
none
(bits per second)
DCE
none
5.5.5.5
Telnet
255.255.255.0
no
no
0.0.0.0
0.0.0.0
no
• Secondary DNS Address:
• Secondary WINS Address:
• User Authentication Protocol:

RawTCP/Telnet Defaults

• Connection From Local Enable:
• Connection From Remote Enable: yes
0.0.0.0
0.0.0.0 none
no
20
• Connection Retry Frequency: 0 (seconds)
• Local Port: 404
• Remote IP Address: 1.1.1.8
• Remote Port: 23
• Remote Password: UNDEFINED (no entry)
• Remote User ID: UNDEFINED (no entry)
• Session T ermination Character: 0x04 (Control-D)

System Defaults

• Boot Message Display Enable: yes
• Default Gateway IP Address: 0.0.0.0 (disabled)
• Unit DHCP Enable: yes
• Unit IP Address: 5.5.5.5
• Unit MAC Address: (Factory Assigned MAC/NIC Address)
• Management Enable: yes
• Management Inactive Timeout: 15 (minutes)
• Prompt: TS>
• Unit Subnet Mask: 255.255.255.0

User Database Defaults

• user database empty!
Note To reset the Model 2120 software to factory default settings, set
internal dip switch #1 to the ON position and power cycle the Model 2120 unit. Once powered on, set switch #1 back to the OFF position. This will reset all settings, with the e xception of the unit MAC address, to the above listed factory defaults.

3.4 INITIAL UNIT CONFIGURATION

Unless pre-configured with an IP address for your LAN (not standard), the Model 2120 must be initially configured via the serial interface using the menu-driven command system and required terminal equipment as described below:
21
1. Verify that the four internal DIP switches are set to the OFF position (factory default).
2. Using ribbon cable or other similar cable, connect the serial RS-232 port of a VT-100 ASCII terminal or similar DTE with terminal emula­tion software to the RS-232 port of the Model 2120.
3. Power up the emulation device and configure its RS-232 port as follows:
– 9600 Baud – 8 data bits, 1 stop bit, no parity – ANSI, VT100 emulation
4. Power up the Model 2120.
5. After the Model 2120 is powered on, the ASCII terminal or emulation device should display the following message:
Model 2120 Terminal Server Software Version ?.?.? (will display current version) TS>
Note If you are unable to connect with the Model 2120 and you have
rechecked your terminal emulation settings, it is recommended that a configuration reset (to factory defaults) be performed on the Model 2120 by setting internal dip switch #1 to the ON posi­tion and power cycling the Model 2120. Once powered on, set switch #1 back to the OFF position. If still unable to establish a connection, please contact Patton Electronics Technical Support at (301) 975-1007.
6. Press the <Enter> key to see the main help menu screen.
*** Help Menu ***
activateimage - Activate Image Acquired With FTP Get boot - Boot System configure - Configure Parameters eiaconclose - EIA232 Connection Close ftp - FTP To Remote Device ping - Ping Remote Device rawtcp - Raw-TCP To Remote Device show - Show Parameters and Statistics telnet - Telnet To Remote Device
TS>
22
7. Before proceeding with the configuration of the Model 2120 for your application, it is suggested that the following "show all" commands be executed in order to view the current system, eia232, and user database configuration parameters:
TS>show system all<Enter> (or "s s a<Enter>")
Boot Message Display Enable : yes Default Gateway Active : 0.0.0.0 Default Gateway Configured : 0.0.0.0 DHCP Enable : yes DHCP State : initialize DHCP Passed Lease Time (sec) : 0 DHCP Renew Lease Time (sec) : 0 DHCP Rebind Lease Time (sec) : 0 DHCP Expire Lease Time (sec) : 0 DHCP IP Address : 0.0.0.0 DHCP Subnet Mask : 0.0.0.0 DHCP Default Gateway : 0.0.0.0 Help Menu Display Enable : yes IP Address Active : 192.168.200.1 IP Address Configured : 192.168.200.1 MAC Address : 0x00A0BA000D95 Management Enable : yes Management Inactive Timeout (min) : 15 Management Port : 23 Prompt : TS> Subnet Mask Active : 255.255.255.0 Subnet Mask Configured : 255.255.255.0 Software Version : 4.0.19
TS>show eia232 interface all<Enter> (or "s e i a<Enter>)
Character Length : 8 Current User Logged : (UNDEFINED) Datarate : 9600 Default Gateway Active : 0.0.0.0 Default Gateway Configured : 0.0.0.0 DTE / DCE Physical Port : dce Flow Control : none Inactive Timeout (min) : 15 IP Address Active : 192.168.200.1 IP Address Configured : 8.8.8.8 Parity : none Protocol : telnet Receive Buffer Length (num char) : 1 Receive Idle Char For Trig (num char) : 1 Stop Length : 1 Subnet Mask Active : 255.255.255.0 Subnet Mask Configured : 255.255.255.0
23
TS>show eia232 ppp all<Enter> (or "s e p a<Enter>)
DHCP Enable : no DHCP State : initialize DHCP Passed Lease Time (sec) : 0 DHCP Renew Lease Time (sec) : 0 DHCP Rebind Lease Time (sec) : 0 DHCP Expire Lease Time (sec) : 0 DHCP IP Address : 0.0.0.0 DHCP Subnet Mask : 0.0.0.0 DHCP Default Gateway : 0.0.0.0 DHCP Hardware Address : 0x000000000000 FCS Length : 16 IP Connection State : closed LCP Echo Reply Received : 0 LCP Echo Request Sent : 0 Peer IP Address Use Enable : no Peer Name Server Address Use Enable : no PPP Connection State : closed Ping Enable : yes Primary Domain Name Server Address : 0.0.0.0 Primary Windows Name Server Address : 0.0.0.0 Secondary Domain Name Server Address : 0.0.0.0 Secondary Windows Name Server Address : 0.0.0.0 Receive Async-Control Character Map : 0xFFFFFFFF Transmit Async-Control Character Map : 0xFFFFFFFF User Authentication Protocol : none
TS>show eia232 rawtcp_telnet all<Enter> (or "s e r a<Enter>)
Connection From Local Enable : no Connection From Remote Enable : yes Connection Retry Frequency (sec) : 0 Keepalive Timeout (sec) : 0 Local Port : 404 Remote Idle Disconnect Timeout (sec) : 0 Remote IP Address : 1.1.1.8 Remote Port : 23 Remote Password : (UNDEFINED) Remote User ID : (UNDEFINED) Session Termination Character : 0x04 TCP Connection State : listen TCP Established/Remote Idle Time (sec) : 0 User Interface Command Enable : yes
TS>show userdatabase all<Enter> (or "s u a<Enter>)
user database empty!
24
8. You are now ready to configure the Model 2120 for your application. Configuration parameters will vary based upon the requirements of each application.
For a detailed definition of all 2120 system commands, valid entries, and defaults see Appendix B on page 59.
Note Contact your Network Administrator if you have questions
regarding configuration parameters required for your application and/or LAN.

3.5 REMOTE CONFIGURATION OF THE UNIT

Once you have performed the initial configuration and the Model 2120 is connected to and communicating with a LAN, the configuration parame­ters can be changed remotely from anywhere on the LAN using an FTP Client (i.e. Windows Command Mode) on a computer that can communi­cate over the LAN.
1. From the Windows “Run” prompt at your computer, type: command and click OK.
2. At the DOS prompt, Telnet into the 2120 by typing:
telnet <
the IP address of the 2120>
and pressing <Enter>.
3. When connected to the 2120, the computer should display the fol­lowing message:
Model 2120 Terminal Server - Telnet Session Software Version ?.?.? (will display current version) TS>
4. Press the “Enter” key to see the main help menu screen.
*** Help Menu ***
activateimage - Activate Image Acquired With FTP Get boot - Boot System configure - Configure Parameters eiaconclose - EIA232 Connection Close ftp - FTP To Remote Device ping - Ping Remote Device rawtcp - Raw-TCP To Remote Device show - Show Parameters and Statistics telnet - Telnet To Remote Device
TS>
5. Y ou are no w ready to change the configuration of the Model 2120 f or your application.
25
For a detailed definition of all 2120 system commands, valid entries, and defaults see Appendix B on page 59.
Note Contact your Network Administrator if you have questions
regarding configuration parameters required for your application and/or LAN.

3.6 SAMPLE 2120 CONFIGURATIONS

The Model 2120 features and functionality allow it to operate in thou­sands of different applications; however, this section is not intended to cover all the possibilities. The configuration samples provided below will describe some of the typical 2120 applications and the configuration set­tings required for proper operation and serve as a useful reference when configuring the Model 2120 for your own application. This section will not discuss in detail the serial devices connected to the Model 2120 and related operating systems and/or applications. Actual configurations will vary from application to application based on the requirements and con­figuration of the serial device and related operating systems and applica­tions.

Telnet/TCP Operation

In the typical Telnet/TCP application (see Figure 6), the user has a need to remotely connect to a serial device located on the LAN for administra­tion, configuration, monitoring, troubleshooting, data collection, etc. To enable the remote connection via Telnet session, the Model 2120 is usu­ally assigned a static IP address. The user then launches a Telnet/TCP session from their Computer specifying the IP Address of the Model 2120 and port number and remotely connecting to it over the LAN. Once connected, the Telnet/TCP client converts the asynchronous data into TCP packets and sends it over the LAN to the IP address of the Model
2120. When received, the Model 2120 converts the packets back to
asynchronous data and forwards the data to the de vice connected to the serial interface. The serial device sends asynchronous data back to the Model 2120 and the Model 2120 converts the data into TCP pac kets and sends it over the LAN back to the originating Telnet/TCP client and is converted to asynchronous data to complete the cycle. Once the desired tasks are performed, the Telnet session is usually terminated.
26
Loading...
+ 58 hidden pages