Moxa Technologies NPORT 6150 User Manual

Moxa Technologies NPORT 6150 User Manual

Nport 6000 series
Hide thumbs Also See for NPORT 6150:
Table of Contents

Advertisement

NPort 6000 Series User's Manual
Edition 15.0, November 2016
www.moxa.com/product
© 2016 Moxa Inc. All rights reserved.

Advertisement

Table of Contents
loading

Summary of Contents for Moxa Technologies NPORT 6150

  • Page 1 NPort 6000 Series User’s Manual Edition 15.0, November 2016 www.moxa.com/product © 2016 Moxa Inc. All rights reserved.
  • Page 2: Copyright Notice

    NPort 6000 Series User’s Manual The software described in this manual is furnished under a license agreement and may be used only in accordance with the terms of that agreement. Copyright Notice © 2016 Moxa Inc. All rights reserved. Trademarks The MOXA logo is a registered trademark of Moxa Inc.
  • Page 3: Table Of Contents

    Introduction ............................1-1 Overview ............................1-2 Package Checklist ..........................1-2 NPort 6610/6650 ......................... 1-2 NPort 6150, NPort 6250, and NPort 6450 ..................1-3 Product Features ..........................1-3 Product Selection Chart ........................1-4 Product Specifications ......................... 1-5 NPort 6150 ..........................1-5 NPort 6250/6250-S-SC/6250-M-SC ....................
  • Page 4 Setting up the DDNS ........................5-9 Configuring the Route Table......................5-10 Module Settings ..........................6-1 NM-TX01, NM-TX02, NM-FX01-M-SC, NM-FX01-S-SC, NM-FX02-M-SC, NM-FX02-S-SC ........ 6-2 Using Ethernet Redundancy ......................6-2 The STP/RSTP Concept ........................ 6-3 Differences between RSTP and STP ....................6-5 STP Example ..........................
  • Page 5 Installing the UNIX Driver......................13-21 Configuring the UNIX Driver ..................... 13-21 Pinouts and Cable Wiring ........................A-1 Port Pinout Diagrams .......................... A-2 NPort 6150/6250/6450: RS-232/422/485 (male DB9) ..............A-2 NPort 6600: RS-232/422/485 (male RJ45) ..................A-2 Cable Wiring Diagrams ........................A-3 Ethernet Cables........................... A-3 Serial Cables (RS-232) .........................
  • Page 6 Setting up UNIX Hosts ......................... E-3 Setting up Windows NT Hosts ....................... E-4 Setting up Windows 2000 Hosts ......................E-6 Setting up Windows 2003 Hosts ......................E-8...
  • Page 7: Introduction

    The following topics are covered in this chapter:  Overview  Package Checklist  NPort 6610/6650  NPort 6150, NPort 6250, and NPort 6450  Product Features  Product Selection Chart  Product Specifications  NPort 6150  NPort 6250/6250-S-SC/6250-M-SC ...
  • Page 8: Overview

    NPort 6000 Series Introduction Overview The NPort 6000 can be used to connect any serial device to an Ethernet network and supports many different operation modes. In particular, the NPort 6000 also supports Secure TCP Server, Secure TCP Client, Secure Pair-Connection, and Secure Real COM modes for security-critical applications, such as banking, telecom, access control, and remote site management.
  • Page 9: Nport 6150, Nport 6250, And Nport 6450

    NM-FX02-M-SC/NM-FX02-M-SC-T: Network module with two 100BaseFX multimode fiber ports (SC connectors; supports cascade redundancy) NPort 6150, NPort 6250, and NPort 6450 One model of the NPort 6150, three models of the NPort 6250, and one model of the NPort 6450 are available: Model Name Number of Serial Ports...
  • Page 10: Product Selection Chart

    NPort 6000 Series Introduction • Versatile socket-operating modes, including TCP Server, TCP Client, UDP, and Real COM driver • Port-buffering function to prevent loss of serial data when communication is disrupted • Enhanced remote configuration with HTTPS and SSH • Definable multi-user account management •...
  • Page 11: Product Specifications

    NPort 6000 Series Introduction Product Specifications NPort 6150 Ethernet Interface Number of Ports: 1 Speed: 10/100 Mbps, auto MDI/MDIX Connector: 8-pin RJ45 Magnetic Isolation: 1.5 KV built-in Serial Interface Number of Ports: 1 Serial Standards: RS-232/422/485 Connector: DB9 male RS-485 Data Direction Control: ADDC® (Automatic Data Direction Control)
  • Page 12: Nport 6250/6250-S-Sc/6250-M-Sc

    NPort 6000 Series Introduction Environmental Limits Operating Temperature: Standard Models: 0 to 55°C (32 to 131°F) Wide Temp. Models: -40 to 75°C (-40 to 167°F) Storage Temperature: -20 to 75°C (-4 to 167°F) Ambient Relative Humidity: 5 to 95% (noncondensing) Power Requirements Input Voltage: 12 to 48 VDC Input Current: 285 mA @ 12 VDC...
  • Page 13: Serial Interface

    NPort 6000 Series Introduction Serial Interface Number of Ports: 2 Serial Standards: RS-232/422/485 Connector: DB9 male RS-485 Data Direction Control: ADDC® (Automatic Data Direction Control) Console Port: Serial port 1 doubles as RS-232 console port Serial Communication Parameters Data Bits: 5, 6, 7, 8 Stop Bits: 1, 1.5, 2 Parity: None, Even, Odd, Space, Mark Flow Control: RTS/CTS, DTR/DSR, XON/XOFF, RTS Toggle...
  • Page 14: Nport 6450

    NPort 6000 Series Introduction Input Current: NPort 6250: 333 mA @ 12 VDC NPort 6250-M-SC: 428 mA @ 12 VDC NPort 6250-S-SC: 376 mA @ 12 VDC Alarm Contact: Relay output with current-carrying capacity of 1 A @ 24 VDC Power Line Protection: 1 KV burst (EN61000-4-4: EFT/B), 0.5 KV surge (EN61000-4-5) Standards and Certifications Safety: UL 60950-1...
  • Page 15 NPort 6000 Series Introduction Connector: DB9 male RS-485 Data Direction Control: ADDC® (Automatic Data Direction Control) Console Port: Serial port 1 doubles as RS-232 console port Serial Communication Parameters Data Bits: 5, 6, 7, 8 Stop Bits: 1, 1.5, 2 Parity: None, Even, Odd, Space, Mark Flow Control: RTS/CTS, DTR/DSR, XON/XOFF, RTS Toggle Baudrate: 50 bps to 921.6 kbps (supports nonstandard baudrates)
  • Page 16: Nport 6610/6650

    NPort 6000 Series Introduction Standards and Certifications Safety: UL 60950-1 EMC: 55022/24 EMI: CISPR 22, FCC Part 15B Class A EMS: IEC 61000-4-2 ESD: Contact: 4 kV; Air: 8 kV IEC 61000-4-3 RS: 80 MHz to 1 GHz: 3 V/m IEC 61000-4-4 EFT: Power 1 kV;...
  • Page 17 NPort 6000 Series Introduction Stop Bits: 1, 1.5, 2 Parity: None, Even, Odd, Space, Mark Flow Control: RTS/CTS, DTR/DSR, XON/XOFF, RTS Toggle Baudrate: 50 bps to 921.6 kbps (supports nonstandard baudrates) Pull High/Low Resistor for RS-485: 1 kΩ, 150 kΩ Terminator for RS-485: 120 Ω...
  • Page 18 NPort 6000 Series Introduction Power Requirements Input Voltage: AC Models: 100 to 240 VAC DC Models: ±48 VDC (20 to 72 VDC, -20 to -72 VDC), 110 VDC (88 to 300 VDC) Input Current: AC Models: 140 mA @ 100 VAC (8 ports) 192 mA @ 100 VAC (16 ports) 285 mA @ 100 VAC (32 ports) DC Models:...
  • Page 19 NPort 6000 Series Introduction MTBF (mean time between failures) Time: NPort 6610-8: 135,891 hrs NPort 6610-16: 102,373 hrs NPort 6610-32: 68,707 hrs NPort 6650-8: 636,600 hrs NPort 6650-16: 439,673 hrs NPort 6650-32: 310,078 hrs NPort 6650-8-HV-T: 501,171 hrs NPort 6650-16-HV-T: 380,006 hrs NPort 6650-32-HV-T: 290,914 hrs Standard: Telcordia (Bellcore) Standard TR/SR Warranty...
  • Page 20: Getting Started

    This chapter covers the hardware installation of the NPort 6000. Software installation is covered in the next chapter. The following topics are covered in this chapter:  Panel Layout  NPort 6150/6250  NPort 6450  NPort 6610/6650  Panel, DIN-Rail, and Rack-Mounting ...
  • Page 21: Panel Layout

    NPort 6000 Series Getting Started Panel Layout NPort 6150/6250 NPort 6150 NPort 6250 NPort 6450 Note: The LCD panel is only available with standard temperature models.
  • Page 22: Nport 6610/6650

    NPort 6000 Series Getting Started NPort 6610/6650...
  • Page 23: Panel, Din-Rail, And Rack-Mounting

    NPort 6450 DIN-Rail Mounting DIN-rail attachments can be purchased separately to attach the NPort 6150, 6250, and 6450 to a DIN-rail. When snapping the attachments to the DIN-rail, make sure that the stiff metal springs are at the top. NPort 6150...
  • Page 24: Connecting The Hardware

    NPort 6000 Series Getting Started Connecting the Hardware This section describes how to connect the NPort 6000 to serial devices for the first time. Wiring Requirements ATTENTION Disconnect the power before installing and wiring Disconnect the power cord before installing and/or wiring your NPort 6000. Do not exceed the maximum current for the wiring Determine the maximum possible current for each power wire and common wire.
  • Page 25: Grounding The Nport 6600 Vdc

    NPort 6000 Series Getting Started Grounding the NPort 6600 VDC Grounding and wire routing help limit the effects of noise due to electromagnetic interference (EMI). Run the ground connection from the ground screw to the grounding surface before connecting devices. The Shielded Ground (sometimes called Protected Ground) contact is the second contact from the right of the 5-pin power terminal block connector located on the rear panel of the NPort 6600 VDC.
  • Page 26: Adjustable Pull High/Low Resistors For The Rs-485 Port

    Do not use the 1 KΩ setting on the NPort 6000 when using the RS-232 interface. Doing so will degrade the RS-232 signals, shorten the maximum allowed communication distance, and the Rx LED may light up. NPort 6150/6250/6450 Jumpers NPort 6150...
  • Page 27 NPort 6000 Series Getting Started NPort 6450 NPort 6650 DIP Switches Pull High Pull Low Terminator 1 KΩ 1 KΩ 120 Ω 150 KΩ 150 KΩ –...
  • Page 28: Initial Ip Address Configuration

    Initial IP Address Configuration When setting up the NPort 6000 for the first time, the first thing you should do is configure its IP address. This chapter introduces the different methods that can be used. The following topics are covered in this chapter: ...
  • Page 29: Static And Dynamic Ip Addresses

    NPort 6000 Series Initial IP Address Configuration Static and Dynamic IP Addresses Determine whether your NPort 6000 needs to use a static IP or dynamic IP address (either DHCP or BOOTP/PPPoE application). • If your NPort 6000 is used in a static IP environment, you will assign a specific IP address, using one of the tools described in this chapter.
  • Page 30: Arp

    NPort 6000 Series Initial IP Address Configuration for writeable access, where configuration is allowed through the LCM console to users in thevAdministration Group only. (For account management details, please reference Chapter 10. Administration Settings) ATTENTION If the LCM console is configured for writeable status, the LCM console will require you to enter the username and the password before allowing you access.
  • Page 31: Telnet Console

    NPort 6000 Series Initial IP Address Configuration To use ARP to configure the IP address, complete the following: 1. Obtain a valid IP address for your NPort 6000 from your network administrator. 2. Obtain your NPort 6000’s MAC address from the label on the bottom panel. 3.
  • Page 32 NPort 6000 Series Initial IP Address Configuration 3. You will be asked to enter the username and password to access the NPort 6000 device. If you're accessing the NPort the first time, the default username is admin and the default password is moxa. Press ENTER to proceed.
  • Page 33 NPort 6000 Series Initial IP Address Configuration 6. Use the arrow keys to move the cursor to IP address. Use the DELETE, BACKSPACE, or SPACE keys to erase the current IP address; then, type in the new IP address and press ENTER. Note that if you are using a dynamic IP configuration (BOOTP, SHCP, etc.), you will need to go to the IPv4 Configuration Field (or IPv6 Configuration Field) and press ENTER to select the appropriate configuration.
  • Page 34: Serial Console

    NPort 6000 Series Initial IP Address Configuration 10. Press R or use the arrow keys to select Restart and then press ENTER. 11. Press S or use the arrow keys to select System; then press ENTER to restart the NPort 6000. Serial Console The NPort 6000 supports configuration through the serial console, which is the same as the Telnet console but accessed through the RS-232 console port rather than through the network.
  • Page 35 5. From the Property window’s Terminal page, select ANSI or VT100 for Terminal Type and click OK. 6. If you are using the NPort 6610/6650, you may power it up at this point. If you are using the NPort 6150, 6250, or 6450, hold down the grave accent key (`) while powering it up, as shown below.
  • Page 36 NPort 6000 Series Initial IP Address Configuration 7. If the NPort 6000 has been set up for password protection, you will be prompted to enter the password. After you entered the password, or if password protection was not enabled, you will be prompted to select the terminal mode.
  • Page 37: Introducing Serial Port Operation Modes

    Introducing Serial Port Operation Modes In this chapter, we describe the various operation modes of the NPort 6000. NPort 6000 modes are grouped by type of application, such as Device Control or Reverse Terminal. The options include an operation mode that relies on a driver installed on the host computer and operation modes that rely on TCP/IP socket programming concepts.
  • Page 38: Overview

    NPort 6000 Series Introducing Serial Port Operation Modes Overview The NPort 6000 network enables traditional serial (RS-232/422/485) devices. The serial device server is a tiny computer equipped with a CPU and TCP/IP protocols that can bi-directionally translate data between the serial and Ethernet formats.
  • Page 39: Device-Control Applications

    NPort 6000 Series Introducing Serial Port Operation Modes Device-Control Applications For device-control applications, the NPort 6000 offers the following modes: Real COM/Secure Real COM mode and RFC2217 mode. Real COM and Secure Real COM Modes The NPort 6000 comes bundled with Real COM drivers for Windows systems and TTY drivers for Linux systems. Real COM mode includes optional data encryption, using SSL.
  • Page 40: Reverse Real Com Mode

    NPort 6000 Series Introducing Serial Port Operation Modes Reverse Real COM Mode Real COM mode will not work when the NPort 6000 is using a private IP address, or if the NPort 6000 is in a dynamic IP address environment. In either of these cases, the remote host/server will not be able to connect to the NPort 6000.
  • Page 41: Socket Applications

    NPort 6000 Series Introducing Serial Port Operation Modes Socket Applications For socket applications, the NPort 6000 offers the following modes: TCP Server/Secure TCP Server, TCP Client/ Secure TCP Client, and UDP. TCP Server and Secure TCP Server Modes In TCP Server mode, the serial port on the NPort 6000 is assigned a port number which must not conflict with any other serial port on the NPort 6000.
  • Page 42: Udp Mode

    NPort 6000 Series Introducing Serial Port Operation Modes UDP Mode Compared to TCP communication, UDP is faster and more efficient. In UDP mode, you can unicast or multi-unicast data from a serial device to one or multiple host computers; and the serial device can receive data from one or multiple host computers.
  • Page 43: Ethernet Modem Mode

    NPort 6000 Series Introducing Serial Port Operation Modes Ethernet Modem Mode Ethernet Modem mode is designed for use with legacy operating systems, such as MS-DOS, that do not support TCP/IP Ethernet. By connecting the properly configured NPort 6000 serial port to the MS-DOS computer’s serial port, it is possible to use legacy software to transmit data over the Ethernet if the software is originally designed to transmit data over a modem.
  • Page 44: Terminal Ascii Mode

    NPort 6000 Series Introducing Serial Port Operation Modes Terminal ASCII Mode Terminal ASCII mode can handle up to 8 sessions per port with the ability to switch between sessions on the same terminal. This mode is used for text-based terminals with no file-transfer capability or encryption. Terminal BIN Mode Terminal BIN mode allows one session per port and is used for terminal applications that include file-transfer features.
  • Page 45: Reverse Telnet

    NPort 6000 Series Introducing Serial Port Operation Modes NPort 6000 reverse terminal modes allow the use of the NPort 6000 User Table or a RADIUS server for identity verification purposes. Please refer to the Misc. Network Settings section in Chapter 9, System Management Settings, for instructions on setting up the NPort 6000 User Table.
  • Page 46: Dial In/Out Modes

    NPort 6000 Series Introducing Serial Port Operation Modes Dial In/Out Modes The NPort 6000 provides dial-in/dial-out access for ISPs and enterprises that need a remote access solution. When a user at a remote site uses a PPP dial-up connection to access the NPort 6000, the NPort 6000 plays the role of a dial-up server, but also ensures that the user has legal access to the network by verifying the user’s identity with the NPort 6000 User Table or a RADIUS server.
  • Page 47: Configuration With The Web Console

    Configuration with the Web Console The web console is the most user-friendly method available to configure the NPort 6000. With a standard web browser, you have easy and intuitive access to all settings and options. In this chapter, we introduce the web console and go through the basic configuration options.
  • Page 48: Using Your Web Browser

    NPort 6000 Series Configuration with the Web Console Using Your Web Browser Browser Cookie Settings Verify that cookies are enabled for your browser. If the cookies are disabled, you will not be able to use the web console. (Cookies are only used for password transmission.) 1.
  • Page 49: Trusted Site Settings

    NPort 6000 Series Configuration with the Web Console Trusted Site Settings For Windows 2003 users, you may need to add the NPort 6000’s IP address to your browser’s list of trusted sites. 1. If you see the following window while attempting to view the web console, click on Add… to modify the list of trusted sites: You may also directly access the list of trusted sites through Internet Options in the Tools menu of Internet Explorer.
  • Page 50: Opening The Web Console

    NPort 6000 Series Configuration with the Web Console Opening the Web Console Open your web browser and enter 192.168.127.254 in the website address line. This is the default IP address for the NPort 6000–if a new address has been assigned, enter the new address instead. Press ENTER to load the page.
  • Page 51: Web Console Navigation

    NPort 6000 Series Configuration with the Web Console Web Console Navigation On the NPort 6000 web console, the left panel is the navigation panel and contains an expandable menu tree for navigating among the various settings and categories. When you click on a menu item in the navigation panel, the main window will display the corresponding options for that item.
  • Page 52 NPort 6000 Series Configuration with the Web Console IPv4 Configuration (default=Static): You can choose from four possible IP configuration modes. Option Description Static User-defined IP address, netmask, gateway. DHCP DHCP server-assigned IP address, netmask, gateway, DNS, and time server DHCP/BOOTP DHCP server-assigned IP address, netmask, gateway, DNS, and time server, or BOOTP server-assigned IP address (if the DHCP server does not respond) BOOTP...
  • Page 53: Ipv6 Gateway

    NPort 6000 Series Configuration with the Web Console IPv4 DNS server 2: This is an optional field. The IP address of another DNS server can be entered in this field for when DNS server 1 is unavailable. PPPoE user account and PPPoE password: For dynamic broadband networks such as xDSL or cable modem, users must enter the username and password that they received from their ISP to establish a network connection.
  • Page 54: Advanced Network Settings

    NPort 6000 Series Configuration with the Web Console IPv6 DNS server 2: This is an optional field. The IP address of another DNS server may be entered in this field for when DNS server 1 is unavailable. Connection Priority: This function should work with the NPort 6000 functions that use the domain name to obtain the IP address of the remote host/server.
  • Page 55: Setting Up The Ddns

    NPort 6000 Series Configuration with the Web Console Module Settings If your NPort 6000 series has expanded network modules, please refer to Chapter 6 for more information. Setting up the DDNS This section explains how to use the NPort 6000 with DDNS. When the NPort 6000 receives its IP address from a DHCP (Dynamic Host Configuration Protocol) server, remote servers will be unable to access it using a fixed IP address.
  • Page 56: Configuring The Route Table

    NPort 6000 Series Configuration with the Web Console Configuring the Route Table The route table is where you configure how the NPort 6000 will connect to an outside network. You are allowed to have up to 32 entries in the route table. For each entry, you must provide information on the gateway, destination, netmask, metric hops, and interface.
  • Page 57 NPort 6000 Series Configuration with the Web Console Configuring Routes to the Internet In this example, the Notebook PC dials into the NPort 6000 to request a connection to the Internet host at 210.48.96.9, which is not on the local network 203.67.6.xxx. This causes the NPort 6000 to act as a router and send the datagram to the default next-hop router, 203.67.6.254.
  • Page 58 NPort 6000 Series Configuration with the Web Console Configuring Routes to the Intranet In this example, dial-in users can make requests to Intranet hosts 202.65.66.4 or 202.65.66.5, which are on network 202.65.66.xxx (located outside network 203.67.6.xxx). You will need to add a route entry for the next-hop router, 203.67.6.252 that delivers requests to network 202.65.66.xxx.
  • Page 59 NPort 6000 Series Configuration with the Web Console Configuring Multiple-point Routes For multilocation enterprises, NPort 6000 servers can be placed in different branch offices and used as both multipoint routers and as remote access servers. When hosts (e.g., the Web/FTP and E-mail/News servers shown in the figure) send requests to hosts on another network, such as 202.6.6.xxx or 201.2.2.xxx, the corresponding NPort 6000 delivers the request to the other NPort 6000 on the remote end, 202.6.6.254 or 201.2.2.254, as the next-hop router..
  • Page 60: Module Settings

    Module Settings In this chapter, we describe additional settings related to the NM-TX01, NM-FX01-M-SC, NM-FX01-S-SC, NM-FX02-M-SC, and NM-FX02-S-SC modules. The same configuration options are also available from the Telnet and serial consoles. The following topics are covered in this chapter: ...
  • Page 61: Nm-Tx01, Nm-Tx02, Nm-Fx01-M-Sc, Nm-Fx01-S-Sc, Nm-Fx02-M-Sc, Nm-Fx02-S-Sc

    NPort 6000 Series Module Settings NM-TX01, NM-TX02, NM-FX01-M-SC, NM-FX01-S-SC, NM-FX02-M-SC, NM-FX02-S-SC Using Ethernet Redundancy Setting up Ethernet Redundancy on your NPort 6000 network helps protect critical links against failure, protects against network loops and achieves the ring topology, and keeps network downtime at a minimum. The Ethernet Redundancy function allows the user to implement several NPort 6000 units into a ring topology to provide a backup data transmission route in the event that a cable is inadvertently disconnected or damaged.
  • Page 62: The Stp/Rstp Concept

    NPort 6000 Series Module Settings The STP/RSTP Concept Spanning Tree Protocol (STP) was designed to help reduce link failures on a network and provide protection from loops. Networks that have a complicated architecture are prone to broadcast storms caused by unintended loops on the network.
  • Page 63 NPort 6000 Series Module Settings LAN 1 Bridge B Bridge A LAN 2 Bridge C LAN 3 What happens if a link failure is detected? As shown in next figure, the STP process reconfigures the network so that traffic from LAN segment 2 flows through Bridge B. LAN 1 Bridge B Bridge A...
  • Page 64: Differences Between Rstp And Stp

    NPort 6000 Series Module Settings STP Calculation The first step of the STP process is to perform calculations. During this stage, each bridge on the network transmits BPDUs. The following items will be calculated: • Which bridge should be the Root Bridge? The Root Bridge is the central reference point from which the network is configured.
  • Page 65: Stp Example

    NPort 6000 Series Module Settings STP Example The LAN shown below has three segments, with adjacent segments connected using two possible links. The various STP factors, such as Cost, Root Port, Designated Bridge Port, and Blocked Port are shown in the figure. •...
  • Page 66 NPort 6000 Series Module Settings Configuring RSTP Bridge priority Setting Description Factory Default Numerical value Increase this device’s bridge priority by selecting a lower 32768 selected by user number. A device with a higher bridge priority has a greater chance of being established as the root of the Spanning Tree topology.
  • Page 67: Configuring Turbo Ring

    NPort 6000 Series Module Settings Configuration Limits of RSTP/STP The Spanning Tree Algorithm places limits on three of the configuration items described above: [Eq. 1]: 1 sec ≦ Hello Time ≦ 10 sec [Eq. 2]: 6 sec ≦ Max. Age ≦ 40 sec [Eq.
  • Page 68 NPort 6000 Series Module Settings The user does not need to configure any of the NPort 6000 units as the master to use Turbo Ring or Turbo Ring V2. If none of the NPort 6000 in the ring is configured as the master, then the protocol will automatically assign master status to one of the NPort 6000 units.
  • Page 69: Configuring Turbo Ring 2

    NPort 6000 Series Module Settings Redundant Ports Setting Description Factory Default 1st Redundant Port Select any LAN port of the NPort 6000 to be one of the Port 1 redundant ports. 2nd Redundant Port Select any LAN port of the NPort 6000 to be one of the Port 2 redundant ports.
  • Page 70: Configuring Serial Port Operation Modes

    Configuring Serial Port Operation Modes In this chapter, we explain how to configure the individual serial port modes. The following topics are covered in this chapter:  Port Setting Basics  Device Control Applications  Real COM Mode  Reverse Real COM Mode ...
  • Page 71: Port Setting Basics

    NPort 6000 Series Configuring Serial Port Operation Modes Port Setting Basics Each serial port on the NPort 6000 can be configured independently. To configure the operation mode and settings for a port, expand Serial Port Configurations in the navigation panel; then expand the port that you would like to configure.
  • Page 72 NPort 6000 Series Configuring Serial Port Operation Modes TCP alive check time (default=7 min): This field specifies how long the NPort 6000 will wait for a response to keep-alive packets before closing the TCP connection. The NPort 6000 checks connection status by sending periodic keep-alive packets.
  • Page 73 NPort 6000 Series Configuring Serial Port Operation Modes Command by command operation (default =Disable): Command by command mode can only support one request and one response from each host. When the NPort 6000 receives a command from any host on the Ethernet, the NPort 6000 will store the command in the buffer.
  • Page 74: Reverse Real Com Mode

    NPort 6000 Series Configuring Serial Port Operation Modes • Do Nothing: Data in the buffer will be transmitted when the delimiter is received. • Delimiter + 1: Data in the buffer will be transmitted after one additional byte is received following the delimiter.
  • Page 75 NPort 6000 Series Configuring Serial Port Operation Modes Secure (default=Disable): If you select Enable, data sent through the Ethernet will be encrypted with SSL. ATTENTION If an NPort 6000 serial port is in Reverse Real COM mode and configured for SSL encryption, make sure the Reverse Real COM driver is configured the same way.
  • Page 76: Rfc2217 Mode

    NPort 6000 Series Configuring Serial Port Operation Modes • Delimiter + 1: Data in the buffer will be transmitted after one additional byte is received following the delimiter. • Delimiter + 2: Data in the buffer will be transmitted after two additional bytes are received following the delimiter.
  • Page 77: Socket Applications

    NPort 6000 Series Configuring Serial Port Operation Modes Packet length (default=0): The packet length setting refers to the maximum amount of data that is allowed to accumulate in the serial port buffer before sending. At the default of 0 for packet length, no maximum amount is specified and data in the buffer will be sent as specified by the delimiter settings or when the buffer is full.
  • Page 78 NPort 6000 Series Configuring Serial Port Operation Modes check time is set to 0, the TCP connection will remain open even if there is no response to the keep-alive packets. Inactivity time (default=0 ms): This field specifies how long the NPort 6000 will wait for incoming and outgoing data through the serial port before closing the TCP connection.
  • Page 79 NPort 6000 Series Configuring Serial Port Operation Modes Command by command operation (default=Disable): Command by command mode can only support one request and one response from each of the different hosts. When the NPort 6000 receives a command from any host on the Ethernet, the NPort 6000 will store all the commands in the buffer and then send them to serial ports in FIFO (first-in, first-out) order.
  • Page 80: Tcp Client Mode

    NPort 6000 Series Configuring Serial Port Operation Modes • Delimiter + 1: Data in the buffer will be transmitted after one additional byte is received following the delimiter. • Delimiter + 2: Data in the buffer will be transmitted after two additional bytes are received following the delimiter.
  • Page 81 NPort 6000 Series Configuring Serial Port Operation Modes the next group of data. If you select Enable, the port will ignore the host that stopped responding and continue data transmission to the other hosts. Secure (default=Disable): If you select Enable, data sent through the Ethernet will be encrypted with SSL. Destination address 1 through 4 (default=None): Specifying an IP address allows the NPort 6000 to connect actively to the remote host.
  • Page 82: Udp Mode

    NPort 6000 Series Configuring Serial Port Operation Modes ATTENTION In order to enable a delimiter, the packet length must be set to 0. Delimiter 2 should only be enabled in conjunction with Delimiter 1 and never on its own; otherwise, data errors may occur. Even when a delimiter is enabled, the NPort 6000 will still pack and send the data when the amount of data exceeds 1 KB.
  • Page 83: Pair Connection Mode

    NPort 6000 Series Configuring Serial Port Operation Modes Local listen port (default=4001): This is the UDP port that the NPort 6000 listens to and that other devices must use to contact the NPort 6000. To avoid conflicts with well-known UDP ports, the default is set to 4001. Packet length (default=0): The packet length setting refers to the maximum amount of data that is allowed to accumulate in the serial port buffer before sending.
  • Page 84: Pair Connection Slave Mode

    NPort 6000 Series Configuring Serial Port Operation Modes TCP alive check time (default=7 min): This field specifies how long the NPort 6000 will wait for a response to keep-alive packets before closing the TCP connection. The NPort 6000 checks connection status by sending periodic keep-alive packets.
  • Page 85: Ethernet Modem Mode

    NPort 6000 Series Configuring Serial Port Operation Modes Ethernet Modem Mode The NPort 6000 accepts the AT command ATD IP address: TCP port (for example, IPv4 : ATD 192.127.168.1:4001 / IPv6 : ADT [fe80::290:e8ff:fe0d:b0fb]:65500 ) from the serial port and then requests a TCP connection from the remote Ethernet Modem or PC.
  • Page 86: Disconnection Request From Remote Site

    NPort 6000 Series Configuring Serial Port Operation Modes Disconnection request from local site When the NPort 6000 is in data mode, the user can initiate disconnection by sending “+++” from the local serial port to the NPort 6000. Some applications allow you to directly set the DTR signal to off, which will also initiate disconnection.
  • Page 87: Terminal Applications

    NPort 6000 Series Configuring Serial Port Operation Modes S Registers S Register Description & default value Remarks Ring to auto-answer (default=0) Ring counter (always=0) no action applied Escape code character (default=43 ASCII “+”) Return character (default=13 ASCII) Line feed character (default=10 ASCII) Backspace character (default= 8 ASCII) Wait time for dial tone (always=2, unit=sec) no action applied...
  • Page 88 NPort 6000 Series Configuring Serial Port Operation Modes Try next type on authentication denied (default=Disable): The field enables or disables the system to try next type on first authentication denied. TCP alive check time (default=7 min): This field specifies how long the NPort 6000 will wait for a response to keep-alive packets before closing the TCP connection.
  • Page 89: Terminal Bin (Term_Bin)

    NPort 6000 Series Configuring Serial Port Operation Modes Terminal BIN (TERM_BIN) Terminal Binary mode can be used to transfer files with XMODEM or ZMODEM. You are only allowed to open one terminal session at a time when in Terminal Binary mode. TCP alive check time (default=7 min): This field specifies how long the NPort 6000 will wait for a response to keep-alive packets before closing the TCP connection.
  • Page 90: Ssh

    NPort 6000 Series Configuring Serial Port Operation Modes Option Description Local Verify the ID against the NPort 6000 User Table. RADIUS Verify the ID against the external RADIUS server. RADIUS - Local Radius authentication is tried first, switching to Local if unsuccessful. Local - RADIUS Authentication is performed locally first, switching to Radius if unsuccessful.
  • Page 91: Reverse Terminal Applications

    NPort 6000 Series Configuring Serial Port Operation Modes Quit (default=(^E) 0x05): This field configures the quick key used to disconnect the link between the current terminal session and the remote host. For binary communication, it is unnecessary to define the quit key.
  • Page 92: Reverse Ssh Mode

    NPort 6000 Series Configuring Serial Port Operation Modes Authentication type (default=None): This field allows you to configure the method used, if any, to verify a user’s ID and authorization. Option Description Local Verify the ID against the NPort 6000 User Table. RADIUS Verify the ID against the external RADIUS server.
  • Page 93: Printer Applications

    NPort 6000 Series Configuring Serial Port Operation Modes Authentication type (default=None): This field allows you to configure the method used, if any, to verify a user’s ID and authorization. Option Description Local Verify the ID against the NPort 6000 User Table. RADIUS Verify the ID against the external RADIUS server.
  • Page 94: Lpd Prn Mode

    NPort 6000 Series Configuring Serial Port Operation Modes LPD PRN Mode TCP alive check time (default=7 min): This field specifies how long the NPort 6000 will wait for a response to keep-alive packets before closing the TCP connection. The NPort 6000 checks connection status by sending periodic keep-alive packets.
  • Page 95: Pppd Mode

    NPort 6000 Series Configuring Serial Port Operation Modes Username: This is the dial-out user ID account. Password: This is the dial-out user password. Authentication type (default=None): This field allows you to configure the method used, if any, to verify a user’s ID and authorization.
  • Page 96: Slip Mode

    NPort 6000 Series Configuring Serial Port Operation Modes Option Description Local Verify the ID against the NPort 6000 User Table. RADIUS Verify the ID against the external RADIUS server. RADIUS-Local Radius authentication is tried first, switching to Local if unsuccessful. Local-RADIUS Authentication is performed locally first, switching to Radius if unsuccessful TACACS+...
  • Page 97: Dynamic Mode

    NPort 6000 Series Configuring Serial Port Operation Modes Destination IP address: This is the IP address of the remote dial-in/ dial-out server. Source IP address: The Source IP address is IP address assigned to this serial port. IP netmask: The IP netmask defines the netmask, also known as the subnet mask, for the SLIP connection TCP/IP compression (default=No): The setting of this field depends on whether the remote user’s application requests compression.
  • Page 98: Additional Serial Port Settings

    Additional Serial Port Settings In this chapter, we describe additional serial port settings on the NPort 6000. The same configuration options are also available through the Telnet and serial console. The following topics are covered in this chapter:  Port Communication Parameters ...
  • Page 99: Port Communication Parameters

    NPort 6000 Series Additional Serial Port Settings Port Communication Parameters Port alias: This optional field allows you to assign an alias to a port for easier identification. Serial Parameters ATTENTION The serial parameters for the each serial port on the NPort 6000 should match the parameters used by the connected serial device.
  • Page 100: Port Data Buffering/Log

    NPort 6000 Series Additional Serial Port Settings FIFO (default=Enable): This field enables or disables the 128-byte FIFO buffer. The NPort 6000 provides FIFO buffers for each serial port, for both the Tx and Rx signals. Note, however, that you should disable the port’s FIFO setting if the attached serial device does not have a FIFO buffer of its own.
  • Page 101: Port Modem Settings

    NPort 6000 Series Additional Serial Port Settings Port Modem Settings Modem settings are used for the Dial In/Out modes. These settings will have no effect on ports configured for other modes. Enable modem (default=Disable) Initial string: Use this field to configure the initial string that the modem will use to establish the connection. For example, AT&S0=1 for auto-answer.
  • Page 102: User Table

    NPort 6000 Series Additional Serial Port Settings User Table The NPort 6000 User Table may be used to authenticate users for terminal or reverse terminal access and is useful if you do not have an external RADIUS server for authentication. The NPort 6000 User Table stores up to 64 entries, with fields for User Name, Password, and Phone Number.
  • Page 103: System Configuration Settings

    System Configuration Settings In this chapter, we describe additional system settings on the NPort 6000. The same configuration options are also available through the Telnet and serial console. The following topics are covered in this chapter:  Basic Settings  Server Settings ...
  • Page 104: Basic Settings

    NPort 6000 Series System Configuration Settings Basic Settings You may access Basic Settings in the navigation panel. Server Settings Server name: This is an optional free text field for your own use; it does not affect operation of the NPort 6000. It can be used to help differentiate one NPort 6000 server from another.
  • Page 105: Accessible Ip List

    NPort 6000 Series System Configuration Settings Time server: The NPort 6000 uses SNTP (RFC-1769) for auto time calibration. You may enter a time server IP address or domain name in this optional field. Once the NPort 6000 is configured with the correct time server address, it will request time information from the time server every 10 minutes.
  • Page 106: Host Table

    NPort 6000 Series System Configuration Settings Refer to the following table for more configuration examples. Allowed hosts Entered IP address/Netmask Any host Disable 192.168.1.120 192.168.1.120 / 255.255.255.255 192.168.1.1 to 192.168.1.254 192.168.1.0 / 255.255.255.0 192.168.0.1 to 192.168.255.254 192.168.0.0 / 255.255.0.0 192.168.1.1 to 192.168.1.126 192.168.1.0 / 255.255.255.128 192.168.1.129 to 192.168.1.254 192.168.1.128 / 255.255.255.128...
  • Page 107: Backup/Restore

    NPort 6000 Series System Configuration Settings Backup/Restore Pre-Shared Key The NPort 6000 can share or back up its configuration by exporting all settings to a file, which can then be imported into another NPort 6000. The exported file will be encrypted by a pre-shared key assigned by the user. (The default cipher key is moxa.) Configuration Import To import a configuration, go to Backup/Restore ...
  • Page 108: Configuration Export

    NPort 6000 Series System Configuration Settings Configuration Export To export a configuration, go to Backup/Restore  Configuration Export and click Download. A standard download window will appear, and you will be able to download the configuration into a file name and location of your choice.
  • Page 109: Certificate/Key Delete

    NPort 6000 Series System Configuration Settings Certificate/Key Delete SSL/TLS Configurations NPort 6000 with Firmware v1.14 and above supports High Secure Mode which only allows securer cipher suites selected by Moxa with TLSv1.2 support. You may not use an outdated browser under this mode.
  • Page 110: Administration Settings

    Administration Settings In this chapter, we describe administrative functions of the NPort 6000. The same configuration options are also available through the Telnet and serial console. The following topics are covered in this chapter:  Account Management  Notification Message ...
  • Page 111: Account Management

    NPort 6000 Series Administration Settings Account Management The Account Management setting provides administrators the authority to add/delete/modify an user account, grant access to the device users for specified function groups, and manage password and login policy to ensure device is used by a proper set of people. Notification Message As an administrator, you are allowed to customize your Login Message and the Login Authentication Failure Message to notify users with information you would like to provide.
  • Page 112: User Account

    NPort 6000 Series Administration Settings User Account page xxx: In NPort 6000, the main Function Groups (For detail explanation of function groups, please refer to Access Permission) are highly correlated with the User Groups defined by the administrator(s). Administrators are allowed to add user accounts to the NPort 6000 device by clicking the Add button on the User Account page.
  • Page 113: Access Permission

    NPort 6000 Series Administration Settings Access Permission Administrators are allowed to enter the Access Permission section to customize User Group(s) and its corresponding Function Group(s). The User Groups in NPort 6000 are designed to provide administrators to manage user accounts in groups by defining their access levels.
  • Page 114 NPort 6000 Series Administration Settings No Display: The user in this User Group will not see this function group when accessesing the NPort 6000. Read Only: The user in this User Group can only view the function/setting in this function group but will not be able to make modifications.
  • Page 115: Password And Login Policy

    NPort 6000 Series Administration Settings Password and Login Policy A user with an administrator role is authorized to determine the password and login policy of the NPort 6000 device. Account Password Policy Parameter Setting Default Description Password minimum length 4-16 characters 4 Define the minimum length of login password for NPort 6000 Password complexity strength...
  • Page 116: Snmp Agent

    NPort 6000 Series Administration Settings SNMP Agent SNMP: To enable the SNMP Agent function, select the Enable option, and enter a community name (e.g., public). Read community string (default=public_admin): This is a text password mechanism that is used to weakly authenticate queries to agents of managed network devices.
  • Page 117: Authentication Server

    NPort 6000 Series Administration Settings Password: Use this field to set the password for the specified level of access. Privacy: Use this field to define the encryption key for the specified level of access Authentication Server RADIUS server IP: If you are using a RADIUS server for user authentication, enter its IP address here. RADIUS key: If you are using a RADIUS server for user authentication, enter its password here.
  • Page 118: Load Factory Defaults

    NPort 6000 Series Administration Settings Configuration Value Description HTTP/HTTPS console Enable/Disable This setting is to enable/disable the web console. For security reasons, users can only enable the HTTPS or just disable all settings. Telnet/SSH console Enable/Disable This setting is to enable/disable the Telnet/SSH console Moxa Service Enable/Disable This setting is to enable/disable Moxa command service (DSCI).
  • Page 119: Log, Monitoring And Warning

    Log, Monitoring and Warning NPort 6000 provides capability of monitoring terminal server system with event logs and alerts users of certain system, network and configuration events are detected. The following topics are covered in this chapter:  System Log Settings ...
  • Page 120: System Log Settings

    NPort 6000 Series Log, Monitoring and Warning System Log Settings System Log Settings allow NPort users to customize network events that are logged by the NPort 6000. Events are grouped into four categories, known as event groups, and the user selects which groups to log under either the Local Log or Remote Log server.
  • Page 121: Configure The Remote Log Server

    NPort 6000 Series Log, Monitoring and Warning OpMode Connect Op Mode is in use Disconnect Op Mode switched from in use to disconnect. Authentication Fail The Authentication failed in terminal; reverse terminal; or dial in/out operation modes Restart Serial port was restarted. Configure the Remote Log Server SYSLOG server Emergency...
  • Page 122: Serial Port Status

    NPort 6000 Series Log, Monitoring and Warning Serial Port Status Go to Serial Port Status under Serial Status to view the current status of each serial port. Serial Port Status  Buffering. Monitor port-buffering usage (bytes) of each serial port. Serial Port Error Count Go to Serial Port Error Count under Serial Status to view the error count for each serial port.
  • Page 123: System Status

    NPort 6000 Series Log, Monitoring and Warning Serial Cipher Usage Status Serial Status  Cipher Usage Status Monitor cipher usage and connection status of each serial port. It depends on Cipher Settings. System Status Network Connections Go to Network Connections under System Status to view network connection information. 11-5...
  • Page 124: Network Statistics

    NPort 6000 Series Log, Monitoring and Warning Network Statistics Go to Network Statistics under System Status to view network statistics. Ethernet statistics Sent: Total number of output datagram packets delivered to the Ethernet. Received: Total number of input datagram packets received from the Ethernet. Sent: Total number of output datagram packets delivered to the Ethernet.
  • Page 125: Network Module

    NPort 6000 Series Log, Monitoring and Warning UDP statistics Received: Received UDP datagram packets. ErrPorts: Received UDP datagram packets with invalid destination port. ErrHeader: Received UDP datagram packet with incorrect header. Sent: Sent UDP datagram packets. TCP statistics Received: Total received packets of segments, including error packets. ErrHeader: Error packets (e.g., bad TCP checksums).
  • Page 126: Serial Data Log

    NPort 6000 Series Log, Monitoring and Warning Serial Data Log Data logs for each serial port can be viewed in ASCII or HEX format. After selecting the serial port and format, you may click Select all to select the entire log if you wish to copy and paste the contents into a text file. System Log This option displays the system log.
  • Page 127 NPort 6000 Series Log, Monitoring and Warning Routing Go to Routing under System Status to display the routing information. Iface: Name of the physical network interface. Destination: Network or host that the router allows you to connect to. Gateway: IP Address of the gateway you configured for this route. If you are directly connected, this is a local address.
  • Page 128: Auto Warning Settings

    NPort 6000 Series Log, Monitoring and Warning Auto Warning Settings Event Log Settings NPort 6000 provides 1000 audit records and the log capacity can be managed using Event Log settings. On the Event Log Settings page, the Current usage ratio of log capacity can be viewed in percentage for user’s reference.
  • Page 129: Serial Event Settings

    NPort 6000 Series Log, Monitoring and Warning Dout is only available on the NPort 6450 and 6650 and refers to changing the status of the relay output (the DOUT socket at the back of the NPort 6000) and of the alarm LED. Cold start: This refers to starting the system from a power off status, or after upgrading your firmware Warm start: This refers to restarting the NPort 6000 without turning the power off.
  • Page 130: Email Alert

    NPort 6000 Series Log, Monitoring and Warning DSR changed A change in the DSR (Data Set Ready) signal indicates that the data communication equipment is powered off. For example, if the DSR signal changes to low, it indicates that the data communication equipment is powered off.
  • Page 131: Snmp Trap

    NPort 6000 Series Log, Monitoring and Warning SNMP Trap SNMP trap server IP: Use this field to indicate the IP address to use for receiving SNMP traps. Trap version (default=v1): Use this field to select the SNMP trap version. Trap community (default=public_admin): Use this field to designate the SNMP trap community. 11-13...
  • Page 132: Common Settings And Others

    Common Settings and Others In this chapter, we describe common functions on the NPort 6000 and other functions that are available to all user levels, except guests. The same configuration options are also available through the Telnet and serial console. The following topics are covered in this chapter: ...
  • Page 133: Common Settings

    NPort 6000 Series Common Settings and Others Common Settings Ping You can ping an IP address from the NPort 6000 web console in order to test the Ethernet connection. Enter the IP address or domain name in the Destination field to make sure that the connection is OK. Change Password For all changes to the NPort 6000’s password protection settings, you will first need to enter the old password.
  • Page 134: Save Configuration

    NPort 6000 Series Common Settings and Others Save Configuration Go to Save Configuration and then click Save to save your submitted configuration changes to the NPort 6000’s flash memory. The configuration changes will then be effective when the NPort 6000 is restarted. If you do not save your changes before restarting, they will be discarded.
  • Page 135: Logout

    NPort 6000 Series Common Settings and Others Logout Go to the Logout page and then press the Logout button to terminate the session of current account. Note that any unsaved configuration changes will be discarded after logout. 12-4...
  • Page 136: Software Installation/Configuration

    Software Installation/Configuration The following topics are covered in this chapter:  Overview  NPort Windows Driver Manager  Installing NPort Windows Driver Manager  Using NPort Windows Driver Manager  Command Line Installation/Removal  Device Search Utility (DSU)  Installing Device Search Utility ...
  • Page 137: Overview

    NPort 6000 Series Software Installation/Configuration Overview The Documentation & software CD included with your NPort 6000 is designed to make the installation and configuration procedure easy and straightforward. This auto-run CD includes NPort Windows Driver Manager (for COM mapping), Device Search Utility (to broadcast search for all NPort 6000’s accessible over the network), the NPort 6000 User’s Manual, and the NPort firmware upgrade utility.
  • Page 138 NPort 6000 Series Software Installation/Configuration 3. Click Next to install the program’s shortcuts in the appropriate Start Menu folder. 4. Click Next to proceed with the installation. The installer then displays a summary of the installation options. 5. Click Install to begin the installation. The setup window will report the progress of the installation. To change the installation settings, click Back and navigate to the previous screen.
  • Page 139: Using Nport Windows Driver Manager

    NPort 6000 Series Software Installation/Configuration 6. Click Finish to complete the installation of the NPort Windows Driver Manager. Using NPort Windows Driver Manager Real COM Mode After you install NPort Windows Driver Manager, you can set up the NPort 6000’s serial ports as remote COM ports for your PC host.
  • Page 140 NPort 6000 Series Software Installation/Configuration 4. Alternatively, you can select Input Manually and then manually enter the NPort IP Address, 1st Data Port, 1st Command Port, and Total Ports to which COM ports will be mapped. Click OK to proceed to the next step. Note that the Add NPort page supports FQDN (Fully Qualified Domain Name), in which case the IP address will be filled in automatically.
  • Page 141 NPort 6000 Series Software Installation/Configuration 6. In Windows XP, a message is displayed during activation of each port, indicating that the software has not passed Windows Logo certification. Click Continue Anyway to proceed. 7. Ports that have been activated will appear in black. 13-6...
  • Page 142 NPort 6000 Series Software Installation/Configuration Reverse Real COM Mode After you install NPort Windows Driver Manager, you can set up the NPort 6000’s serial ports as remote COM ports for your PC host. Make sure that the serial port(s) on your NPort 6000 are set to Reverse Real COM mode when mapping COM ports with the NPort Windows Driver Manager.
  • Page 143 NPort 6000 Series Software Installation/Configuration For example: If you want to map port 15 only for NPort 6000 (A), the configuration will be as follows: MAC Address of NPort The MAC address of NPort (A) for identification 00:90:18:18:f1:36 1st Mapping Port Index Index or port 15 Total Number of Ports Only port 15 will be mapped, and the total...
  • Page 144 NPort 6000 Series Software Installation/Configuration Configure the mapped COM ports For Real COM Mode/Reverse Real COM Mode, to reconfigure the settings for a particular serial port on the NPort 6000, select the row corresponding to the desired port and then click the Setting icon. 1.
  • Page 145 NPort 6000 Series Software Installation/Configuration 2. Click the Advanced Setting tab to modify Tx Mode, FIFO, and Flash Flush. Tx Mode Hi-Performance is the default for Tx mode. After the driver sends data to the NPort 6000, the driver immediately issues a “Tx Empty” response to the program. Under Classical mode, the driver will not send the “Tx Empty”...
  • Page 146 NPort 6000 Series Software Installation/Configuration Return error if network is unavailable If this option is disabled, the driver will not return any errors even when a connection cannot be established to the NPort 6000. With this option enabled, calling the Win32 Comm function will result in the error return code “STATUS_NETWORK_UNREACHABLE”...
  • Page 147 NPort 6000 Series Software Installation/Configuration 4. Click the Security tab to configure security settings. Select the Enable Data Encryption option to enable data to be encrypted when transmitted over the COM ports. After selecting the encryption option, select the Keep connection option to start encryption on COM ports immediately, without restarting the COM ports. (If your application will open/close COM ports frequently and the NPort 6000 is only for one host, you can enable this option to speed up the opening/closing time.
  • Page 148: Command Line Installation/Removal

    NPort 6000 Series Software Installation/Configuration 6. To save the configuration to a text file, select Export from the COM Mapping menu. You will then be able to import this configuration file to another host and use the same COM Mapping settings in the other host. Command Line Installation/Removal For NPort Windows Driver Manager v1.19 and above, it comes with command line script tool –...
  • Page 149 NPort 6000 Series Software Installation/Configuration Once NPort Windows Driver Manager v1.19 (or above) is installed, call out cmd screen on your computer. Change the directory to the drive that you place the above two files. Type npcli /? to get detail information of what command lines are supported and the function descriptions. The usage instructions will show up for user’s reference.
  • Page 150: Device Search Utility (Dsu)

    NPort 6000 Series Software Installation/Configuration /search Search the NPort and store the list to the memory. /set Specify the ID to set. Users must specify one of the searched NPorts for further operations. The default is 1. /port Specify the the NPort port number (PORT_NO) to set. /password Specify the password (CIPHER) if the NPort has one.
  • Page 151 NPort 6000 Series Software Installation/Configuration 3. Click Next to install program files to the default directory, or click Browse to select an alternate location. 4. Select the additional tasks you would like to set up to perform while installing DSU; then, click Next. 13-16...
  • Page 152 NPort 6000 Series Software Installation/Configuration 5. Click Next to proceed with the installation. The installer then displays a summary of the installation options. 6. Click Install to begin the installation. The setup window will report the progress of the installation. To change the installation settings, click Back and navigate to the previous screen.
  • Page 153: Configuring Device Search Utility (Dsu)

    NPort 6000 Series Software Installation/Configuration Configuring Device Search Utility (DSU) The Broadcast Search function is used to locate all NPort 6000 servers that are connected to the same LAN as your computer. After locating an NPort 6000, you will be able to change its IP address. Since the Broadcast Search function searches by MAC address and not IP address, all NPort 6000 servers connected to the LAN will be located, regardless of whether or not they are part of the same subnet as the host.
  • Page 154: Linux Real Tty Drivers

    NPort 6000 Series Software Installation/Configuration Linux Real TTY Drivers Basic Procedures To map an NPort 6000 serial port to a Linux host’s tty port, follow these instructions: 1. Set up the NPort 6000. After verifying that the IP configuration works and you can access the NPort 6000 (by using ping, telnet, etc.), configure the desired serial port on the NPort 6000 to Real COM mode.
  • Page 155: Removing Mapped Tty Ports

    NPort 6000 Series Software Installation/Configuration Mapping tty ports automatically To map tty ports automatically, you may execute mxaddsvr with just the IP address and number of ports, as in the following example: # cd /usr/lib/npreal2/driver # ./mxaddsvr 192.168.3.4 16 In this example, 16 tty ports will be added, all with IP 192.168.3.4, with data ports from 950 to 965and command ports from 966 to 981.
  • Page 156: The Unix Fixed Tty Driver

    NPort 6000 Series Software Installation/Configuration The UNIX Fixed TTY Driver NOTE The newest information, please refer to readme.txt on Fixed TTY Driver Installing the UNIX Driver 1. Log in to UNIX and create a directory for the Moxa TTY. To create a directory named /usr/etc, execute the command: # mkdir –p /usr/etc 2.
  • Page 157 NPort 6000 Series Software Installation/Configuration Device naming rule For UnixWare 7, UnixWare 2.1.x, and SVR4.2, use: pts/[n] For all other UNIX operating systems, use: ttyp[n] Starting moxattyd Execute the command init q or reboot your UNIX operating system. Adding an additional server 1.
  • Page 158: Pinouts And Cable Wiring

    Pinouts and Cable Wiring The following topics are covered in this appendix:  Port Pinout Diagrams  NPort 6150/6250/6450: RS-232/422/485 (male DB9)  NPort 6600: RS-232/422/485 (male RJ45)  Cable Wiring Diagrams  Ethernet Cables  Serial Cables (RS-232)  Serial Cables (RS-422/4-Wire RS-485) ...
  • Page 159: Port Pinout Diagrams

    NPort 6000 Series Pinouts and Cable Wiring Port Pinout Diagrams NPort 6150/6250/6450: RS-232/422/485 (male DB9) RS-422/ RS-232 RS-485 (2W) RS-485 (4W) TxD-(A) – TxD+(B) – RxD+(B) Data+(B) RxD-(A) Data-(A) – – – – – – – – – NPort 6600: RS-232/422/485 (male RJ45)
  • Page 160: Cable Wiring Diagrams

    NPort 6000 Series Pinouts and Cable Wiring Cable Wiring Diagrams Ethernet Cables Serial Cables (RS-232) RJ45 (8-pin) to Female DB9...
  • Page 161 NPort 6000 Series Pinouts and Cable Wiring RJ45 (8-pin) to Male DB9 RJ45 (8-pin) to Female DB25 RJ45 (8-pin) to Male DB25...
  • Page 162: Serial Cables

    NPort 6000 Series Pinouts and Cable Wiring Serial Cables (RS-422/4-Wire RS-485) RJ45 (8-pin) to Female DB9 RJ45 (8-pin) to Male DB9 RJ45 (8-pin) to Female DB25...
  • Page 163: Serial Cables (Rs-422/4-Wire

    NPort 6000 Series Pinouts and Cable Wiring RJ45 (8-pin) to Male DB25 Serial Cables (2-wire RS-485) RJ45 (8-pin) to Female DB9 RJ45 (8-pin) to Male DB9 RJ45 (8-pin) to Female DB25...
  • Page 164: Pin Assignments For Db9 And Db25 Connectors

    NPort 6000 Series Pinouts and Cable Wiring RJ45 (8-pin) to Male DB25 Pin Assignments for DB9 and DB25 Connectors Pin Assignments for DB9 Male and Female Connectors DB9 Male Connector DB9 Female Connector Pin Assignments for DB25 Male and Female Connectors DB25 Male Connector DB25 Female Connector...
  • Page 165: Rfc2217

    RFC2217 This appendix explains how to set up the environment to use RFC-2217 mode. RFC2217 defines general COM port control options based on the Telnet protocol and is used to allow the mapping of virtual COM ports to network ports. Any third-party driver that supports RFC-2217 can be used to implement the virtual COM port on the NPort 6000.
  • Page 166: Well-Known Port Numbers

    Well-Known Port Numbers In this appendix, we provide a list of well-known port numbers that may cause network problems if you set the NPort 6000 to one of these ports. Refer to RFC 1700 for well-known port numbers or to the following introduction from the IANA: The port numbers are divided into three ranges: the Well-Known Ports, the Registered Ports, and the Dynamic and/or Private Ports.
  • Page 167 NPort 6000 Series Well-Known Port Numbers UDP Socket Application Service Reserved Management Utility Echo Discard Active Users (systat) Daytime Any private printer server Resource Location Protocol Host name server (names server) Whois (nickname) Login Host Protocol (login) Domain Name Server (domain) Trivial Transfer Protocol (TETP) Gopher Protocol Finger Protocol...
  • Page 168: Snmp Agents With Mib Ii & Rs-232 Like Groups

    SNMP Agents with MIB II & RS-232 Like Groups The NPort 6000 has built-in SNMP (Simple Network Management Protocol) agent software that supports SNMP Trap, RFC1317 and RS-232-like groups, and RFC 1213 MIB-II. The following table lists the standard MIB-II groups as well as the variable implementation for the NPort 6000.
  • Page 169: Rfc1213 Mib-Ii Supported Snmp Variables

    NPort 6000 Series SNMP Agents with MIB II & RS-232 Like Groups RFC1213 MIB-II Supported SNMP Variables System MIB Interfaces MIB IP MIB ICMP MIB sysDescr ifNumber ipForwarding icmpInMsgs sysObjectID ifIndex ipDefaultTTL icmpInErrors sysUpTime ifDescr ipInReceives icmpInDestUnreachs sysContact ifType ipInHdrErrors icmpInTimeExcds sysName ifMtu...
  • Page 170: Rfc1317 Rs-232 Like Groups

    NPort 6000 Series SNMP Agents with MIB II & RS-232 Like Groups Address TCP MIB UDP MIB SNMP MIB Translation MIB atIfIndex tcpRtoAlgorithm udpInDatagrams snmpInPkts atPhysAddress tcpRtoMin udpNoPorts snmpOutPkts atNetAddress tcpRtoMax udpInErrors snmpInBadVersions tcpMaxConn udpOutDatagrams snmpInBadCommunityNames tcpActiveOpens udpLocalAddress snmpInBadCommunityUses tcpPassiveOpens udpLocalPort snmpInASNParseErrs tcpAttemptFails...
  • Page 171: Moxa-Np6000-Mib

    NPort 6000 Series SNMP Agents with MIB II & RS-232 Like Groups Moxa-NP6000-MIB overview basicSetting networkSetting opModeSetting modelName serverName ipConfiguration portIndex serialNumber serverLocation sysIpAddress portApplication firmwareVersion timeZone netMask portMode macAddress localTime defaultGateway viewLanSpeed timeserver dnsServer1IpAddr viewLanModuleSpeed dnsServer2IpAddr upTime pppoeUserAccount moduleType pppoePassword winsFunction winsServer...
  • Page 172 NPort 6000 Series SNMP Agents with MIB II & RS-232 Like Groups deviceControl Mode socket Mode socketUdpDestinationAddress4End socketUdpDestinationPort4 socketUdpLocalListenPort pairConnection Mode ethernetModem Mode pairConnectionTcpAliveCheck ethernetModemTcpAliveCheck pairConnectionSecure ethernetModemTcpPort pairConnectionDestinationAddress pairConnectionDestinationPort pairConnectionTcpPort terminal Mode reverseTerminal Mode terminalTcpAliveCheck reverseTerminalTcpAliveCheck terminalInactivityTime reverseTerminalInactivityTime terminalAutoLinkProtocol reverseTerminalTcpPort terminalPrimaryHostAddress reverseTerminalAuthenticationType terminalSecondHostAddress...
  • Page 173 NPort 6000 Series SNMP Agents with MIB II & RS-232 Like Groups comParamSetting dataBuffering modemSetting portAlias portBufferingEnable portEnableModem portInterface portBufferingLocation portInitialString portBaudRate portBufferingSDFileSize portDialUp portBaudRateManual portSerialDataLoggingEnable portPhoneNumber portDataBits portStopBits portParity portFlowControl portFIFO portOnDelay portOffDelay welcomeMessage sysManagement portEnableWelcomeMessage enableAccessibleIpList portMessage accessibleIpListIndex activeAccessibleIpList accessibleIpListAddress accessibleIpListNetmask...
  • Page 174 NPort 6000 Series SNMP Agents with MIB II & RS-232 Like Groups welcomeMessage sysManagement trapServerColdStart trapServerWarmStart trapServerAuthFailure alarmServerEthernet1LinkDown alarmServerEthernet2LinkDown alarmServerEthernet3LinkDown mailDCDchange trapDCDchange alarmDCDchange mailDSRchange trapDSRchange alarmDSRchange emailWarningMailServer emailRequiresAuthentication emailWarningUserName emailWarningPassword emailWarningFromEmail emailWarningFirstEmailAddr emailWarningSecondEmailAddr emailWarningThirdEmailAddr emailWarningFourthEmailAddr snmpTrapReceiverIp trapVersion httpConsole httpsConsole telnetConsole sshConsole lcmReadOnlyProtect resetButtonFunction...
  • Page 175 NPort 6000 Series SNMP Agents with MIB II & RS-232 Like Groups welcomeMessage sysManagement loginFailureLockoutRetrys loginFailureLockoutTime sysStatus saveConfiguration restart remoteIpIndex saveConfig restartPorts monitorRemoteIp restartSystem monitorTxCount monitorRxCount monitorTxTotalCount monitorRxTotalCount monitorDSR monitorDTR monitorRTS monitorCTS monitorDCD monitorErrorCountFrame monitorErrorCountParity monitorErrorCountOverrun monitorErrorCountBreak monitorBaudRate monitorDataBits monitorParity monitorRTSCTSFlowControl monitorXONXOFFFlowControl monitorFIFO...
  • Page 176: Radius Server

    RADIUS Server Managing diverse serial lines and modem pools for large numbers of users creates the need for significant administrative support. Since modem pools are links to the outside world, careful attention must be paid to security, authorization, and accounting. This can best be achieved by managing a single database of users allowing authentication (verifying usernames and passwords) as well as configuration of information that details the type of service to deliver to the user (e.g.
  • Page 177: What Is Radius

    NPort 6000 Series RADIUS Server What is RADIUS? Definition Remote Authentication Dial-up User Service, or RADIUS, is the standard for centralizing the authentication, authorization, and accounting of remote access users. Here is a brief description of how RADIUS works: When a user dials in to a remote access device, that device communicates with the central RADIUS server to determine if the user is authorized to connect to the LAN.
  • Page 178: Setting Up The Nport 6000

    NPort 6000 Series RADIUS Server Setting up the NPort 6000 Setting up the RADIUS Server IP Address RADIUS server: This is the IP address of the RADIUS server. RADIUS key: This is the password that is used to access the RADIUS server IUS server UDP port: This is the RADIUS server’s assigned UDP port.
  • Page 179: Setting Up Windows Nt Hosts

    NPort 6000 Series RADIUS Server Setting up Windows NT Hosts 1. Install Windows NT OPTION PACK 4.0 on the Windows NT server. 2. Open Start  Programs  Windows NT 4.0 Option Pack  Microsoft Internet Information Server  Management Console Manger. 3.
  • Page 180 NPort 6000 Series RADIUS Server 6. Select Service. Verify that the RADIUS ports assignments match your configuration. [Authentication] 1645 or 1812 [Accounting] 1646 or 1813 7. Select Client and then click Add. Enter the NPort 6000’s IP address in the IP address field. Enter the NPort 6000’s RADIUS key in the password field.
  • Page 181: Setting Up Windows 2000 Hosts

    NPort 6000 Series RADIUS Server Setting up Windows 2000 Hosts 1. Open Start  Programs  Administrative Tools  Routing and Remote Access. 2. Right click Server (Local) and select Configure and Enable Routing and Remote Access. Click Next to continue. 3.
  • Page 182 NPort 6000 Series RADIUS Server 5. Select TCP/IP protocol and then click Next to continue. 6. Specify your IP address as shown on the following screens:...
  • Page 183: Setting Up Windows 2003 Hosts

    NPort 6000 Series RADIUS Server 7. Select Yes, I want to use a RADIUS server and click Next. Setting up Windows 2003 Hosts Windows 2003 uses the IAS service instead of the RADIUS service. For this reason, you need to install the IAS service to use RADIUS with Windows 2003 (The IAS service will not be installed by default).
  • Page 184 NPort 6000 Series RADIUS Server 3. Select Details and then select Internet Authentication Service. Continue clicking OK until the installation is complete. 4. After the installation is complete, click Administrative Tools and run the Internet Authentication Service. This will open the following window. 5.

Table of Contents