Lantronix Device Server MSS 485 Скачать руководство пользователя страница 10

 

Introduction

Protocols 

 

1 - 5

 

1.3 Protocols

 

A network protocol is a method of communicating over the Ethernet. 
Each protocol specifies a certain arrangement of data in the Ethernet 
packets, and provides different services for its users. The MSS supports 
the following protocols: 

TCP/IP

Support includes Telnet, Rlogin, UDP, and DNS. The Telnet 
terminal protocol, supported on most UNIX systems, is an easy-
to-use interface that creates terminal connections to any network 
host supporting Telnet. Rlogin is a protocol that allows users to 
initiate a TCP/IP login session. UDP (User Datagram Protocol) is 
a connectionless protocol that results in smaller packet headers, 
no session overhead, and the ability to send to multiple hosts. 
The MSS also supports the use of Domain Name Servers (DNS), 
allowing a network nameserver to translate text node names into 
numeric IP addresses. 

The MSS also implements basic Simple Network Management 
Protocol (SNMP) functionality. SNMP commands enable users, 
usually system administrators, to get information from and 
control other nodes on a local area network (LAN), and respond 
to queries from other network hosts. The MSS allows 
configuration of one community name with read/write access.

IPX/ SPX (NetWare)

The MSS provides IPX/SPX access to the serial device from 
NetWare and any other IPX/SPX nodes. It allows users to 
download system files from NetWare hosts and log into the MSS 
via NetWare for remote configuration.

The MSS supports all four NetWare frame types: Ethernet v2, 
Native mode, 802.2, and 802.2 SNAP.

Local Area Transport (LAT)

LAT is a protocol developed by Digital Equipment Corporation 
(DEC) for local network connections and is supported on most 
DEC operating systems. The MSS provides logins to remote hosts 
and host-initiated connections, as well as access to the MSS serial 
port from LAT hosts.

Содержание Device Server MSS 485

Страница 1: ...MSS485 Installation Guide For the Lantronix MSS485 Micro Serial Server ...

Страница 2: ... 1 1 1 RS 485 Protocols 1 2 1 1 2 Two wire Mode 1 2 1 1 3 Four wire Mode 1 3 1 2 Terms 1 4 1 3 Protocols 1 5 1 4 Software 1 6 1 5 Configuration 1 6 2 Installation 2 1 MSS485 Components 2 1 2 2 Installation 2 3 2 2 1 Power up Diagnostics 2 6 2 3 Is It Working 2 7 ...

Страница 3: ...2 3 Other Incoming TCP IP Logins 3 4 3 2 4 Incoming LAT Logins 3 5 3 3 Serial Port Logins 3 5 3 4 Remote Console Logins 3 5 3 5 Starting Outbound Connections 3 6 3 5 1 Telnet 3 6 3 5 2 SPX 3 7 3 5 3 LAT 3 7 3 6 Logout 3 7 4 Configuration 4 1 Command Set 4 1 4 2 System Passwords 4 1 4 2 1 Privileged Password 4 1 4 2 2 Login Password 4 2 4 3 Protocol Configuration 4 2 4 3 1 TCP IP Parameters 4 2 4 3...

Страница 4: ...ons 5 4 5 1 4 Code Examples 5 4 5 2 Interactive Connections 5 5 5 2 1 Session Control 5 5 5 2 2 Outgoing Connections 5 7 5 2 3 Status Displays 5 9 5 3 Emulating a Direct Serial Connection 5 11 5 4 Multihost Mode 5 13 A Technical Support B Troubleshooting C Pinouts D Specifications Warranty Statement Declaration of Conformity Index ...

Страница 5: ......

Страница 6: ...xt version of this manual located on CD ROM includes more specific information about configuring and using the MSS and reloading MSS software Be sure to read the section of the configuration chapter that applies to the protocol you are using TCP IP IPX SPX or LAT For more detailed information on the MSS including a complete command reference see the MSS Reference Manual located on the CD in HTML P...

Страница 7: ...x recommends the use of shielded twisted pair cabling 1 1 1 RS 485 Protocols A large number and variety of protocols run over RS 485 However the MSS does not convert or interpret serial data It only moves data between serial and Ethernet Any RS 485 protocol will have to be implemented by host software 1 1 2 Two wire Mode In two wire mode the MSS operates in half duplex one pair of wires shares tra...

Страница 8: ...evice such as the MSS acts as master while the other devices are slaves Figure 1 2 Example Four wire Mode Network It is important to connect the transmitter of the master device to the wire that is connected to the receive terminals on the slave devices and connect the receiver of the master device to the wire that is connected to the transmit terminals on the slave devices In essence the master d...

Страница 9: ...net addresses The MSS is a node Devices connected to the MSS are not nodes Master The device that controlls all other devices on an RS 485 network An RS 485 network typically has one master device Slave Any device on the RS 485 network that is not the master An RS 485 network can have up to 31 slave devices Session A logical connection to a service A typical session is a terminal connected to a ho...

Страница 10: ... translate text node names into numeric IP addresses The MSS also implements basic Simple Network Management Protocol SNMP functionality SNMP commands enable users usually system administrators to get information from and control other nodes on a local area network LAN and respond to queries from other network hosts The MSS allows configuration of one community name with read write access IPX SPX ...

Страница 11: ...s of the MSS Ethernet address Be sure to note the Ethernet address before configuring the unit When using IPX or LAT it is possible to power up the MSS and have it work properly with no additional configuration required TCP IP users must give the unit an IP address NOTE For more information about methods used to configure an IP address see page 3 1 Lantronix has provided EZWebCon software to help ...

Страница 12: ...el has a screw terminal block and an RJ45 port for an RS 485 serial connection as well as an RS 232 DB9 console port Figure 2 1 MSS485 Front Panel The screw terminal block and RJ45 connector are wired in parallel Only one of these ports can be used at a time The MSS485 rear panel has an RJ45 Ethernet connector a reset button and a power connector Figure 2 2 MSS485 Rear Panel Console DB9 Console Po...

Страница 13: ...activity Figure 2 3 MSS485 Top Panel Showing LEDs NOTE Although a red LED during boot mode usually signals an error red LED patterns are part of the normal operation of the MSS and are not necessarily indicative of errors or dangerous operation The top of the MSS485 also contains an oval shaped hole in the lower left corner The hole accommodates a screwdriver which is needed to attach cabling wire...

Страница 14: ...it will terminate any active sessions it may be desirable to place the server in a location secure from user access Also be aware of the unit s environmental operating limits and cabling limits See Appendix D for details Switch Group Functions 2 Wire 485 4 Wire 485 4 Wire 485 Termination 2 Wire 485 Termination No Termination 2 or 4 Wire 485 RX Biasing No RX Biasing Ground Shield Float Shield 6 8 7...

Страница 15: ... 485 network to the MSS via the screw terminal block you may have to connect from 2 to 6 wires depending upon the desired MSS usage mode Do not over tighten the screws only light pressure is necessary NOTE If you would like to change your RS 485 connection at a later time be sure to power down the unit before changing cables or DIP switch settings 3 Connect the MSS to the Ethernet The MSS can be c...

Страница 16: ...hrough 3 to the Off position B Switches 4 and 5 control termination RS 485 networks should only be terminated at the extreme ends For termination in two wire mode set switch 4 to the On position and switch 5 to the Off position For termination in four wire mode set both switches to the On position To disable termination set both switches to the Off position C Switches 6 and 7 control RX receive bi...

Страница 17: ...ting 2 2 1 Power up Diagnostics The MSS boot up procedure consists of three steps During normal operation the boot process requires approximately 30 seconds to complete 1 The MSS runs through a set of power up diagnostics for approximately five seconds The Power LED should remain solid green the OK and Serial LEDs should show varying patterns corresponding to the test being run NOTE The Power and ...

Страница 18: ...the network there are four ways to confirm that it is working correctly If there is a terminal attached press the Return key and log in If you are able to log in the server is running normally If an IP address has been configured for the MSS see IP Address Configuration on page 3 1 ping the MSS from a TCP IP host Figure 2 7 Pinging the MSS Perform a test using the Test command See the Commands cha...

Страница 19: ......

Страница 20: ...he following points before logging into and configuring the MSS The MSS IP address must be configured before any TCP IP functionality is available see IP Address Configuration on page 3 2 Connecting a terminal to the console port or logging into the remote console port does not automatically create privileged user status You must use the Set Privileged command to configure the unit see Privileged ...

Страница 21: ...if the download file name in the configuration file does not exist If this is the case create a file in the download path to get the BOOTP daemon to respond BOOTP and RARP are enabled by default on the MSS If you wish to disable them use the Change BOOTP and Change RARP commands see the Commands chapter in the MSS Reference Manual on the CD ROM 3 1 2 Using an ARP Entry and the Ping Command If the ...

Страница 22: ...ishing to access the MSS will have to be told the MSS s IP address This is typically configured in the unix file etc hosts or via a nameserver Refer to the host s documentation for additional information 3 1 3 Using the Serial Console Connect a terminal to the serial console and press the Return key If the MSS is running normally when you press the Return key a Local prompt will be displayed You c...

Страница 23: ...h the Change Incoming Password command The incoming password feature can be disabled with the Change Incoming Nopass command 3 2 2 EZWebCon Login and Configuration EZWebCon enables users on TCP IP networks to log into and configure the MSS The program offers a simple interface that prompts the user for the information necessary to configure the server Instructions for installing running and using ...

Страница 24: ...lem during the boot process you can press any key to get the Boot prompt This prompt enables you to enter a special set of commands called Boot Configuration Program BCP commands which are discussed in Appendix B If the unit passes its power up diagnostics and completes the boot procedure the Local prompt should be displayed Proceed to Chapter 4 to configure the unit using the command line interfa...

Страница 25: ...rmation about incoming and outgoing connections NOTE Outgoing connections cannot be made via the same method as the incoming connection was made In other words if a user Telnets into the MSS he cannot Telnet back out 3 5 1 Telnet To start an outgoing Telnet session type Telnet at the Local prompt followed by either the host s name or its numeric IP address Figure 3 6 Telnet Connection telnet 192 0...

Страница 26: ...ame Figure 3 7 SPX Connection 3 5 3 LAT To connect to a LAT service type the word LAT followed by the name of the desired host or service To view available LAT nodes and services enter Show Nodes LAT or Show Services at the Local prompt The example below shows how to connect to the highest rated service named modem on the network Figure 3 8 LAT Service Connection 3 6 Logout To manually log out of ...

Страница 27: ......

Страница 28: ...the server This chapter covers many of the MSS commands The full command set is discussed in detail in Chapter 6 Commands in the MSS Reference Manual located on CD ROM NOTE To return to factory defaults press and hold the Reset button while cycling power on the unit or enter the Initialize Factory command at the Local prompt 4 2 System Passwords There are two important passwords for the MSS the pr...

Страница 29: ...of up to six alphabetic characters Figure 4 3 Changing Login Password NOTE Default passwords may pose a security risk and should be changed as soon as possible This is especially true of the privi leged password 4 3 Protocol Configuration Certain options can be configured for each of the protocols supported by the MSS For more information on protocol configuration refer to the version of this chap...

Страница 30: ... Loadhost The MSS loads its operational software from the specified loadhost when an Initialize Reload command is entered see the Commands chapter located on the CD ROM Ex CHANGE LOADHOST 192 0 1 73 IP Security The serial port can be restricted to allow connections only to and from certain hosts on the network Configuration involves adding entries to the local host table and specifying whether con...

Страница 31: ...AT networks is controlled by timers which specify when messages will be sent from the server to other network nodes The timer value is set to a default at the fac tory and should not need to be changed 4 4 Serial Port Configuration The serial port is set at the factory for 9600 baud 8 data bits one stop bit and no parity These and other serial port features can be configured as shown below Remembe...

Страница 32: ...on the specified timer value The default is 30 minutes Ex CHANGE INACTIVE TIMER 2 Preferred Services If preferred services are configured the MSS will attempt to use those services for connections when no service names are specified in Telnet TCP Rlogin SPX or LAT connection commands A preferred service can be defined for each protocol or the None keyword can be use to denote that there is no pref...

Страница 33: ...0005 Autostart Normally the serial port will wait for a carriage return before starting a connection When the Autostart option is enabled the connection will be established as soon as the unit boots A port set for Autostart will not be idle and therefore will not be available for network connections If network connections are desired Autostart should remain disabled the default Ex CHANGE AUTOSTART...

Страница 34: ...ing LAT connections to VMS Ultrix and OSF 1 hosts Using host applications with the MSS Using the code examples included with the MSS Interactive uses include manipulating sessions making outgoing connections and viewing server and network information with the help of the Show commands In addition explanations are provided for Setting up two MSSs to emulate a direct serial connection over the LAN U...

Страница 35: ...ine for their specific needs NOTE If the serial port is in use the socket connection will be refused 5 1 1 1 TCP IP Socket Connections The MSS supports TCP IP socket connections to ports 2001 and 3001 Opening a TCP session to port 3001 will form a raw TCP IP connection to the serial port Port 2001 can be used when Telnet IAC interpretation is needed To specify a connection to a socket use the Teln...

Страница 36: ...AT port number Map the application port to the MSS by specifying the MSS node name and the serial port name Enter the following commands at the VMS prompt Figure 5 3 Creating a LAT Application Port NOTE The procedure is similar for DEC UNIX LAT If heavy input or output loads are expected on the LTA port you can set alternate type ahead to reduce flow control on the ports Figure 5 4 Reducing Flow C...

Страница 37: ...c or Remote to allow network connection requests Local access does not allow a port to receive connection requests from the network To change the port s access type use the Change Access command followed by either Dynamic or Remote The port must be idle Use the Show Ports command to verify that the port is not in use NOTE To ensure that the port will be idle do not attach a terminal to the serial ...

Страница 38: ...ecting sessions By default the MSS handles the Break key locally Users can change whether the Break key is processed by the MSS Local processed by the remote host Remote or ignored None using the Change Break command Figure 5 6 Changing Break Key 5 2 1 2 Local Switch If your terminal does not have a Break key you can configure a local break switch key with the Change Local Switch command Figure 5 ...

Страница 39: ...ion list shown with the Show Session command would be 1 Thor 2 Duff 3 Conan In the example Conan is the current session The current session is either the session to which a user is currently connected or the last session the user was in before entering local mode If Bob presses the backward key while working in Conan he will resume his session on Duff If he presses the forward key while working in...

Страница 40: ... 2 2 1 Telnet To start an outgoing Telnet session to a remote host on a TCP IP network type Telnet at the Local prompt followed by either the host s name or its numeric IP address Figure 5 9 Opening a Telnet Connection NOTE If a preferred or dedicated service has been configured a host name is not required You can also make a Telnet connection to a specific port number as described in Status Displ...

Страница 41: ...themselves via SAP announcements The MSS advertises itself at boot time as MSS_xxxxxx_S1 where xxxxxx represents the last six digits of its hardware name As long as the target device is advertising itself via SAP announcements the MSS should be able to make an SPX connection Enter the following command including the target device s SAP name Figure 5 11 Making an SPX Connection To view all availabl...

Страница 42: ...n port 5 of a VAX host named vax8 Figure 5 13 Connecting to a Specific Port NOTE If the information supplied in the command is incorrect or if there is no such service on the specified host or port the con nection will be refused If the MSS has been configured to allow incoming LAT logins the MSS will also show up as a service on the network Users can connect to the MSS from another LAT based serv...

Страница 43: ...atus 5 2 3 5 Show Ports This command displays the configuration and connection status of the serial port Settings such as flow control baud rate parity and default hosts are shown In addition users can view the port access type and login status Errors are summarized although in less detail than those shown by the Show Server Counters command 5 2 3 6 Show Server Bootparams This command displays MSS...

Страница 44: ...availability 5 2 3 10 Show Sessions This command displays information about current sessions including each active port user and type of session 5 2 3 11 Show Users This command displays the name port number and connection status of all current users or a specified user 5 3 Emulating a Direct Serial Connection Two MSS serial servers can be connected to emulate a direct serial connection on a LAN M...

Страница 45: ...ys available to accept connections from mss_a When the UDP protocol is used there is no connection Each MSS must be told explicitly which hosts it is allowed to accept packets from Broadcast or multicast IP addresses can be specified to allow an MSS to send packets to all hosts on a subnet In UDP mode each MSS would have to be configured to both send packets to and accept packets from the other MS...

Страница 46: ...l not perform any packetizations or conversions nor will it change the data to show which host s it came from the host s and serial device handle this independent of the MSS To configure the MSS for multihost mode first set the MSS for a dedicated multihost connection using the Change Dedicated Hostlist command Figure 5 15 Setting the MSS for Multihost Mode Next configure the list of hosts with wh...

Страница 47: ... the host connections is terminated prematurely the MSS will attempt to reconnect at preset intervals If a UDP connection attempt receives an ICMP Unavailable message the MSS will wait ten seconds before retrying The waiting period for Telnet and Rlogin is 120 seconds and for LAT it is 30 seconds If a host s flow control blocks the MSS from sending the MSS will not send any serial data to that hos...

Страница 48: ...formation Your name company name address and phone number Product name Unit serial number Software version issue the Show Server command Network configuration including the output of a Netstat com mand Description of the problem Debug report stack dump if applicable Product status when the problem occurred Please try to include information on user and network activity at the time If the problem is...

Страница 49: ......

Страница 50: ...uations and error messages are listed in Table B 1 If you cannot find an explanation for your problem try to match it to one of the other errors If you cannot remedy the problem contact your dealer or Lantronix Technical Support Table B 1 Problems and Error Messages Problem Message Error Remedy The MSS is connected to a power source but there is no LED activity The unit or its power supply is dama...

Страница 51: ...mly connected to a functional and properly terminated network node The MSS s Ethernet address is invalid The MSS s Ethernet address is located on the bottom of the unit Use the Change Hardware command to set the correct address see page B 5 then reboot Init Noboot command was entered See Entering Commands at the Boot Prompt on page B 4 The MSS passes power up diagnos tics but attempts to download ...

Страница 52: ... Is the MSS in the loadhost s etc hosts file The MSS must be in this file for the host to answer a BOOTP or TFTP request Is the download file in the right directory Is it world readable The download file must be in the correct directory and be world readable for the BOOTP request to be answered You should generally specify the complete pathname for the download file in the BOOTP configuration file...

Страница 53: ...activity it will continue booting provided the flash is good However if the user presses a key during that ten second time period the MSS will display the Boot prompt NOTE If the message Will attempt another download in x minutes is displayed press any key for the Boot prompt Table B 3 TFTP Troubleshooting Area to Check Explanation Is TFTP enabled on the loadhost Ensure that the etc inetd conf fil...

Страница 54: ...n Program Help displays a one page summary of available commands and what they do Init 451 reboots the MSS after it has been configured If the MSS can find and load the specified software loadfile it will restart itself with full functionality If it can t the server will attempt to reload continu ously Change option tailors your server configuration and is used with one or more of the options list...

Страница 55: ... The MSS will automatically add SYS to the file name you specify Note that all protocols must have a file name specified either the default or set by the user The default is MSS SYS TCP IP users must use the Software option to specify the loadhost the loadfile and their own network address NetWare and TFTP users can specify a complete path name up to 31 characters if the file is located in a direc...

Страница 56: ...r Figure C 1 Pinout of DB9 Console Port C 2 RS 485 Connectors The RJ45 and Screw Terminal Block RS 485 connectors are wired in parallel Only one of these ports can be used at a time C 2 1 RS 485 RJ45 Connector The figure below shows the pin connections of the RS 485 RJ45 connector only Figure C 2 Pinout of RS 485 RJ45 Connector RX TX Shield 1 5 9 6 2 Shield 3 TXA 4 TXB 5 RXB 7 Shield 6 RXA 1 8 ...

Страница 57: ...cated on the bottom of the MSS485 labeled left to right For more information about their configuration see Installation on page 2 5 Figure C 4 DIP Switch Block and Label on Bottom of MSS Shield TXA TXB RXB RXA Shield Switch Group Functions 2 Wire 485 4 Wire 485 4 Wire 485 Termination 2 Wire 485 Termination No Termination 2 or 4 Wire 485 RX Biasing No RX Biasing Ground Shield Float Shield 6 8 7 4 5...

Страница 58: ...national Adapter output voltage 6 Volts DC at 700 mA Operating current 700 mA at 6 Volts Power consumption 4 2 Watts maximum D 2 Temperature Limitations Operating range 5 to 50 C 41 to 122 F Storage range 40 to 66 C 40 to 151 F Maximum temperature change per hour 20 C 36 F NOTE Rapid temperature changes may affect operation Do not operate the MSS near heating or cooling devices large windows or do...

Страница 59: ...ications D 2 D 4 Altitude Limitations Operating 2 4 km 8 000 ft Storage 9 1 km 30 000 ft If you are operating the MSS above 2 4 km 8 000 ft decrease the operating temperature rating by 1 8 C for each 1 000 m 1 F for each 1 000 ft ...

Страница 60: ...ing returned to the customer Lantronix shall have no obligation to make repairs or to cause replacement required through normal wear and tear of necessitated in whole or in part by catastrophe fault or negligence of the user improper or unauthorized use of the Product or use of the Product in such a manner for which it was not designed or by causes external to the Product such as but not limited t...

Страница 61: ...e information recommendations descriptions and safety notations supplied by Lantronix Lantronix liability is limited at its election to 1 refund of buyer s purchase price for such affected products without interest 2 repair of such products or 3 replacement of such products provided however that the buyer follows the procedures set forth herein Warranty claims must be received by Lantronix within ...

Страница 62: ...formation Technology Equipment Immunity Characteristics IEC 6100 4 2 1995 Electro Static Discharge Test IEC 6100 4 3 1996 Radiated Immunity Field Test IEC 6100 4 4 1995 Electrical Fast Transient Test IEC 6100 4 5 1995 Power Supply Surge Test IEC 6100 4 6 1996 Conducted Immunity Test IEC 6100 4 8 1993 Magnetic Field Test IEC 6100 4 11 1994 Voltage Dips Interrupts Test L V D Directive 73 23 EEC Supp...

Страница 63: ......

Страница 64: ...ity name SNMP 1 5 Configuration IPX SPX 4 3 LAT 4 4 TCP IP 4 2 Configuration file 1 6 Connections socket 5 2 Counters 5 11 D Dedicated 5 12 Dedicated connections 5 12 Dedicated service 4 5 Displaying current settings B 6 Domain 5 10 Domain name server 4 3 Domain name server DNS 1 5 E Encapsulation 4 3 Error messages B 3 Ethernet address B 5 Ethernet connecting to 2 4 Examples code 5 4 EZWebCon 1 6...

Страница 65: ...activity 4 5 M Master 1 4 MSS485 1 1 Multihost mode 5 13 N Name resolution 4 3 Nameserver 5 10 NetWare 1 5 1 6 4 3 Specifying fileserver B 6 Node 1 4 5 2 5 10 NVRAM B 6 O OK LED 2 6 B 1 Outgoing connections 5 7 P Parity 4 5 5 10 Passwords 4 1 5 10 Ping 2 7 3 2 Port 7000 3 5 Ports socket 5 2 Power connector 2 1 Power LED 2 2 2 6 Power specifications D 1 Power supplying 2 6 Power up diagnostics 2 6 ...

Страница 66: ... 5 5 7 5 11 Show commands 5 9 Slave 1 4 SNMP 1 5 Community name 1 5 Sockets 5 2 Software 1 6 5 10 Specifying filename B 6 Specifications D 1 SPX 5 2 5 4 5 8 Subnet mask 4 2 5 10 Superuser privileges 3 2 4 1 T TCP IP 5 4 B 1 TCP IP Configuration 4 2 Technical support A 1 Telnet 1 6 5 2 5 7 Temperature limitations D 1 Troubleshooting Boot B 1 Error messages B 3 Power up B 1 U UDP 1 5 5 12 ...

Страница 67: ......

Страница 68: ...ed in the United States of America The revision date for this manual is August 2003 Part Number 900 189 Rev E WARNING This equipment has been tested and found 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 ...

Страница 69: ......

Отзывы: