EN
Perle Systems logo
Official user manual

Perle Systems DS1

88 pages·1.5 MB·Network Router·PDF·ENDEFRITNLJA
Perle Systems DS1
Table of Contents 196 sections Table of Contents · Preface · About This Book · Intended Audience · … ShowHide
Table of Contentsp.3Prefacep.10About This Bookp.10Intended Audiencep.10Typeface Conventionsp.10Contacting Technical Supportp.11Making a Technical Support Queryp.11Repair Procedurep.12Feedback on this Manualp.12Introductionp.13Introductionp.13CLI Conventionsp.13Command Syntaxp.13Command Shortcutsp.14Command Optionsp.14Server Commandsp.15Server Commandsp.15Set Custom-Appp.15Set Serverp.15Set Servicep.18Show Custom-Appp.18Show Modbusp.18Show Serverp.18Hardware Commandsp.19Set Ethernetp.19Show Hardwarep.19Modbus Commandsp.20Set Modbus Gatewayp.20Show Modbusp.21TruePort Baud Commandsp.21Set TruePort Remap-Baudp.21Show TruePortp.21IPv6 Commandsp.22Set IPv6p.22Show IPv6p.22Add Custom-IPv6p.23Set Custom-IPv6p.23Delete Custom-IPv6p.24User Commandsp.25Commands for Users Logged Into the IOLANp.25Adminp.25Helpp.25Linep.25Kill Linep.25Kill Sessionp.25Logoutp.25Menup.26Pingp.26Resumep.26Screenp.26Set Termtypep.26Set Userp.27Set User Sessionp.27Show Line Usersp.28Syslog Consolep.28Show Sessionsp.28Show Termtypep.28Startp.28Telnetp.29Versionp.30Configuring Usersp.30Add Userp.30Delete Userp.30Set Default Userp.30Set Userp.32Set User Sessionp.34Show Default Userp.34Show Userp.34Line Commandsp.351-Port vs. 2-Port Line Commandsp.35Line Commandsp.35Set Linep.35Set Line Interfacep.40Set Line Servicep.41Set Modemp.43Set Termtypep.44Show Linep.44Line Service Commandsp.44Set Custom-Appp.44Set Telnet-Clientp.45Set UDPp.46Set Vmodemp.47Set Vmodem-Phonep.48Set Modbus-Slave Linep.49Set Modbus-Master Linep.49Set Multihost Linep.50Set Line Initiate-Connectionp.50Show Custom-Appp.51Show Interfacep.51Show Modbusp.51Show Telnet-Clientp.51Show UDPp.51Show Vmodemp.51Show Vmodem-Phonep.51Modem Commandsp.52Add Modemp.52Delete Modemp.52Show Modemsp.52Packet Forwarding Commandsp.53Set Packet-Forwarding Linep.53Show Packet-Forwarding Linep.55Network Commandsp.56SNMP Commandsp.56Add Communityp.56Add Trapp.56Delete Communityp.57Delete Trapp.57Set SNMPp.57Set SNMP engine-id-stringp.58Set SNMP inform-timeoutp.58Set SNMP inform-retriesp.58Show SNMPp.58TFTP Commandsp.59Set Server TFTPp.59Hosts Commandsp.59Add Hostp.59Delete Hostp.59Set Hostp.59Show Hostsp.60Gateway Commandsp.60Add Gatewayp.60Delete Gatewayp.60Set Gatewayp.61Show Gatewaysp.61Logging Commandsp.62Set Syslogp.62Show Syslogp.62Time Commandsp.63Time Commandsp.63Set Timep.63Show Timep.63Time/Date Setting Commandsp.63Set Datep.63Set Timep.63Show Datep.64Show Timep.64Administration Commandsp.65Bootup Commandsp.65Rebootp.65Resetp.65Reset Factoryp.65Savep.65Set Bootupp.66Show ARPp.66Set clip.66Show Bootupp.66TFTP File Transfer Commandsp.67Netloadp.67Netsavep.68Custom Factory Defaultp.68Netloadp.68Setp.69MOTD Commandsp.69Set MOTDp.69Show MOTDp.69Statistic Commandsp.70Configuration Statisticsp.70Show Netstatp.70Show Modbus Statisticsp.70Show Netstat Statisticsp.71Show Routesp.71Run-Time Statisticsp.71Delete Arpp.71Show Arpp.71Show Serialp.71Uptimep.71I/O Commandsp.72Global I/O Commandsp.72Set IO UDPp.72Set IO Failsafep.73Set IO Modbusp.73Set IO Temperature-Scalep.73Set Linep.73Set Line Servicep.73Set IOChannelp.74Set IOChannel Modep.74Set IOChannel Digital I/Op.74Set IOChannel Digital Inputp.74Set IOChannel Digital Input (Serial Pins)p.75Set IOChannel Digital Outputp.76Set IOChannel Digital Output (Serial Pins)p.78Set IOChannel Relayp.78Set IOChannel Analog (True Analog)p.79Set IOChannel Analog (Temperature)p.81Set IOChannel IOExtensionp.83Set IOChannel Multihostp.85Show IOChannel Statusp.85Kill IOChannelp.85Show IOp.86Show IOChannelp.86I/O Channel Control Commandsp.87Digital Outputp.87Digital Inputp.87Relayp.87Analog Inputp.87Glossaryp.88
Page 1 of the Perle Systems DS1 user manual — July 2013
Page 1 · click to enlarge
Page 1

IOLAN

DS1/TS2 Command Line Interface

Reference Guide

Version 4.5

Part #5500208-45

July 2013

Page 2 of the Perle Systems DS1 user manual
Page 2 · click to enlarge
Page 2

This document must not be reproduced in any way whatsoever, either printed or electronically, without the consent of:

Perle Systems Limited, 60 Renfrew Drive Markham, ON Canada L3R 0E1

Perle reserves the right to make changes without further notice, to any products to improve reliability, function, or design.

Perle, the Perle logo, and IOLAN are trademarks of Perle Systems Limited.

Perle Systems Limited, 2004-2013.

FCC Note The IOLAN Device Server has been found to comply with the limits for a Class A digital device, pursuant to Part 15 of the FCC rules. These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercial environment. This equipment generates, uses, and can radiate radio frequency energy and, if not installed and used in accordance with the instructions in this Guide, may cause harmful interference to radio communications. Operation of this equipment in a residential area is likely to cause harmful interference, in which case the user will be required to correct the interference at his/her own expense.

EN 550221998, Class A, Note

Copyright Statement

Page 3 of the Perle Systems DS1 user manual — Table of Contents
Page 3 · Contents
Contents

Contents

Table of Contentsp.3Prefacep.10About This Bookp.10Intended Audiencep.10Typeface Conventionsp.10Contacting Technical Supportp.11Making a Technical Support Queryp.11Repair Procedurep.12Feedback on this Manualp.12Introductionp.13Introductionp.13CLI Conventionsp.13Command Syntaxp.13Command Shortcutsp.14Command Optionsp.14Server Commandsp.15Server Commandsp.15Set Custom-Appp.15Set Serverp.15Set Servicep.18Show Custom-Appp.18Show Modbusp.18Show Serverp.18Hardware Commandsp.19Set Ethernetp.19Show Hardwarep.19Modbus Commandsp.20Set Modbus Gatewayp.20Show Modbusp.21TruePort Baud Commandsp.21Set TruePort Remap-Baudp.21Show TruePortp.21IPv6 Commandsp.22Set IPv6p.22Show IPv6p.22Add Custom-IPv6p.23Set Custom-IPv6p.23Delete Custom-IPv6p.24User Commandsp.25Commands for Users Logged Into the IOLANp.25Adminp.25Helpp.25Linep.25Kill Linep.25Kill Sessionp.25Logoutp.25Menup.26Pingp.26Resumep.26Screenp.26Set Termtypep.26Set Userp.27Set User Sessionp.27Show Line Usersp.28Syslog Consolep.28Show Sessionsp.28Show Termtypep.28Startp.28Telnetp.29Versionp.30Configuring Usersp.30Add Userp.30Delete Userp.30Set Default Userp.30Set Userp.32Set User Sessionp.34Show Default Userp.34Show Userp.34Line Commandsp.351-Port vs. 2-Port Line Commandsp.35Line Commandsp.35Set Linep.35Set Line Interfacep.40Set Line Servicep.41Set Modemp.43Set Termtypep.44Show Linep.44Line Service Commandsp.44Set Custom-Appp.44Set Telnet-Clientp.45Set UDPp.46Set Vmodemp.47Set Vmodem-Phonep.48Set Modbus-Slave Linep.49Set Modbus-Master Linep.49Set Multihost Linep.50Set Line Initiate-Connectionp.50Show Custom-Appp.51Show Interfacep.51Show Modbusp.51Show Telnet-Clientp.51Show UDPp.51Show Vmodemp.51Show Vmodem-Phonep.51Modem Commandsp.52Add Modemp.52Delete Modemp.52Show Modemsp.52Packet Forwarding Commandsp.53Set Packet-Forwarding Linep.53Show Packet-Forwarding Linep.55Network Commandsp.56SNMP Commandsp.56Add Communityp.56Add Trapp.56Delete Communityp.57Delete Trapp.57Set SNMPp.57Set SNMP engine-id-stringp.58Set SNMP inform-timeoutp.58Set SNMP inform-retriesp.58Show SNMPp.58TFTP Commandsp.59Set Server TFTPp.59Hosts Commandsp.59Add Hostp.59Delete Hostp.59Set Hostp.59Show Hostsp.60Gateway Commandsp.60Add Gatewayp.60Delete Gatewayp.60Set Gatewayp.61Show Gatewaysp.61Logging Commandsp.62Set Syslogp.62Show Syslogp.62Time Commandsp.63Time Commandsp.63Set Timep.63Show Timep.63Time/Date Setting Commandsp.63Set Datep.63Set Timep.63Show Datep.64Show Timep.64Administration Commandsp.65Bootup Commandsp.65Rebootp.65Resetp.65Reset Factoryp.65Savep.65Set Bootupp.66Show ARPp.66Set clip.66Show Bootupp.66TFTP File Transfer Commandsp.67Netloadp.67Netsavep.68Custom Factory Defaultp.68Netloadp.68Setp.69MOTD Commandsp.69Set MOTDp.69Show MOTDp.69Statistic Commandsp.70Configuration Statisticsp.70Show Netstatp.70Show Modbus Statisticsp.70Show Netstat Statisticsp.71Show Routesp.71Run-Time Statisticsp.71Delete Arpp.71Show Arpp.71Show Serialp.71Uptimep.71I/O Commandsp.72Global I/O Commandsp.72Set IO UDPp.72Set IO Failsafep.73Set IO Modbusp.73Set IO Temperature-Scalep.73Set Linep.73Set Line Servicep.73Set IOChannelp.74Set IOChannel Modep.74Set IOChannel Digital I/Op.74Set IOChannel Digital Inputp.74Set IOChannel Digital Input (Serial Pins)p.75Set IOChannel Digital Outputp.76Set IOChannel Digital Output (Serial Pins)p.78Set IOChannel Relayp.78Set IOChannel Analog (True Analog)p.79Set IOChannel Analog (Temperature)p.81Set IOChannel IOExtensionp.83Set IOChannel Multihostp.85Show IOChannel Statusp.85Kill IOChannelp.85Show IOp.86Show IOChannelp.86I/O Channel Control Commandsp.87Digital Outputp.87Digital Inputp.87Relayp.87Analog Inputp.87Glossaryp.88
Page 10 of the Perle Systems DS1 user manual — Typeface Conventions
Page 10 · click to enlarge
Page 10
Perle Systems DS1 — Preface diagram (page 10)
Fig. 1 · Preface

Preface

About This Book

This guide provides the information you need to configure the IOLAN using the Command Line Interface (CLI).

Intended Audience

This guide is for administrators who will be configuring the IOLAN.

Some prerequisite knowledge is needed to understand the concepts and examples in this guide:

z If you are using an external authentication application(s), working knowledge of the authentication application(s).

z Knowledge of TFTP, the transfer protocol the IOLAN uses.

Typeface Conventions

Most text is presented in the typeface used in this paragraph. Other typefaces are used to help you identify certain types of information. The other typefaces are:

At the Cprompt, type: add host

This typeface is used for code examples and system-generated output. It can represent a line you type in, or a piece of your code, or an example of output.

Set the value to TRUE. The typeface used for TRUE is also used when referring to an actual value or identifier that you should use or that is used in a code example.

The italicized portion of these examples shows the typeface used for variables that are placeholders for values you specify. This is found in regular text and in code examples as shown. Instead of entering project, you enter your own value, such as stock_trader, and for yourcode, enter the name of your program.

run yourcode.exec

IOLAN DS Family User’s Guide This typeface indicates a book or document title.

See About This Book for more information.

This indicates a cross-reference to another chapter or section that you can click on to jump to that section.

IOLAN DS1/TS2 CLI Reference Guide, Version 4.5 11

Typeface Example Usage · subscribe project subject

Page 11 of the Perle Systems DS1 user manual — Who To Contact
Page 11 · click to enlarge
Page 11

Contacting Technical Support

Making a Technical Support Query

Who To Contact

If you bought your product from a registered Perle supplier, you must contact their Technical Support department; they are qualified to deal with your problem.

Have Your Product Information Ready When you make a technical support enquiry please have the following information ready:

ItemWrite Details Here Product Name Problem Description Your Name Company Name and Address Country Phone Number Fax Number Email Address

Making a support query via the Perle web page If you have an internet connection, please send details of your problem to Technical Support using the email links provided on the Perle web site in the Support area.

Click here to access our website at the following URL:

http://www.perle.com

Contacting Technical Support

Page 12 of the Perle Systems DS1 user manual — Feedback on this Manual
Page 12 · click to enlarge
Page 12

Repair Procedure

Before sending a IOLAN for repair, you must contact your Perle supplier. If, however, you bought your product directly from Perle you can contact directly.

Customers who are in Europe, Africa or Middle East can submit repair details via a website form. This form is on the Perle website, www.perle.com, in the Support area.

Click here to access our web site at the following URL:

http://www.perle.com/support_services/rma_form.asp

Feedback on this Manual

If you have any comments or suggestions for improving this manual please email Perle using the following address;

Emailptac@ perle.com

Please include the title, part number and date of the manual (you can find these on the title page at the front of this manual).

Contacting Technical Support

Page 13 of the Perle Systems DS1 user manual — Command Syntax
Page 13 · click to enlarge
Page 13

Introduction Chapter 1 1

Introduction

This chapter provides the command line interface (CLI) options available for the IOLAN. The commands are grouped by function.

CLI Conventions

This section explains how to interpret the CLI syntax.If you are an existing Terminal Server customer and would like to configure the IOLAN in the native Terminal Server interface, you can type the command ts-config to display and use the native Terminal Server interface (you must have User Level Admin). See your Terminal Server User Guide for information on using the Terminal Server interface.

Command Syntax

Each command is broken down into several categories:

z Description—Provides a brief explanation of how the command is used.

z User Level—Shows which user level(s) (Restricted, Normal, and/or Admin) can issue the command. Some commands have options that are available for one user level and not for another level; this usually occurs when a command is valid for both Normal and Admin user levels, where the Admin user level command will have extended options.

z Syntax—Shows the actual command line options. The options can be typed in any order on the command line. The syntax explanation will use the following command to break down the command syntax:

set service [dhcp/bootp on|off] [telnetd on|off] [httpd on|off] [snmpd on|off] [spcd on|off] [syslog on|off] [dmgrd on|off]

– Square brackets ([]) show the options that are available for the command. You can type a command with each option individually, or string options together in any order you want. For example,

set service dhcp/bootp on telnetd off

– Angle brackets () show that the text inside the brackets is a description for a variable value that you must fill in according to your requirements. In the set server command, you must determine the values for domain, internet, name, password-limit, and subnet-bit-length, if you wish to specify them and not use their defaults (default values provided in the Options description). The angle brackets can also contain a range that can be used.

– The pipe (|) shows an ’or’ condition. For example, valid values for telnetd are either on or off.

IOLAN DS1/TS2 CLI Reference Guide, Version 4.5 14

Page 14 of the Perle Systems DS1 user manual — Command Options
Page 14 · click to enlarge
Page 14

z Options—Provides an explanation of each of the options for a command and the default value if there is one. Some commands do not have any options, so this category is absent.

Command Shortcuts

When you type a command, you can specify the shortest unique version of that command or you can press the ESC or TAB key to complete the command. For example, the following command:

set telnet-client map-to-crlf off

can be typed as:

set tel map off

or, you can use the ESC key to complete the lines as you go along:

set telnet-client map-to-crlf off

where the key was pressed to complete the option as it was typed.

Command Options

When you are typing commands on the command line (while connected to the IOLAN), you can view the options by typing a question mark (?) after any part of the command to see what options are available/valid. For example:

DS$ set vmodem ? failure-string host port style success-string suppress DS$ set vmodem failure-string ? 30 characters maximum DS$ set vmodem failure-string "Vmodem failed" ? failure-string host port style success-string suppress Or press Enter to confirm command DS$ set vmodem failure-string "Vmodem failed" DS$ show vmodem Host Host Port Success String Failure String "Vmodem failed" Suppress Off Style Numeric DS$

CLI Conventions

Page 15 of the Perle Systems DS1 user manual — Set Server
Page 15 · click to enlarge
Page 15

Server Commands Chapter 2 2

This chapter defines all the CLI commands associated with configuring the IOLAN’s server parameters.

Server Commands

Set Custom-App

Description You can create a custom application that can run on the IOLAN using the Perle SDK. User Level Admin Syntax

set custom-app server program-command-line <command>

The name of the SDK program executable that has been already been downloaded to the IOLAN, plus any parameters you want to pass to the program. Maximum of 80 characters. Use the shell CLI command as described in the SDK Programmer’s Guide to manage the files that you have downloaded to the IOLAN. For example, using sample outraw program, you would type:

outraw -s 0 192.168.2.1:10001 Acct:10001 if you were starting the application on the Server (notice the -s 0 parameter specifies Line 1).

Set Server

Description Sets server parameters. User Level Admin Syntax set server [auto-obtain-gw on|off] [banner on|off] [break on|off]

[bypass-password on|off] [domain <string>] [flush-on-close on|off] [internet <IPV4_address>] [internet dhcp/bootp on|off] [internet mtu <integer>] [monitor-connection-every <seconds>][monitor-connection-timeout <seconds>][monitor-connection-number <integer>][name <string>] [netmask <IPV4_address>][oem-login on|off] [password-limit <0-10>] [prompt-with-name on|off] [single-telnet on|off][data-logging-buffer-size <integer>][pre-v4.3g-data-logging on|off] [udp-always-arp on|off]

set server tftp [retry <integer>] [timeout <integer>]

When DHCP/BOOTP is enabled, you can enable this option to have the IOLAN receive the Default Gateway IP address from the DHCP/BOOTP server.

IOLAN DS1/TS2 CLI Reference Guide, Version 4.5 16

Options program-command-line · Options auto-obtain-gw

Page 16 of the Perle Systems DS1 user manual — Server Commands
Page 16 · click to enlarge
Page 16

This parameter concerns the banner information (product name/software version). This banner information is presented to a user with a login prompt. For security reasons, you can turn off the display of this information. The default is Off.

Enables/disables the existing Reverse Telnet break signal and the out-of-band break signals for TruePort. The default value is Off.

When set, authorised users who do not have a password set, with the exception of the Admin user, WILL NOT be prompted for a password at login with Local Authentication.

Enables the DHCP/BOOTP client process in the IOLAN. By default, this is disabled/off. If this is enabled, the server IP address parameter is disabled.

The Maximum Transmission Unit (MTU) size of an IP frame that will be sent over the network. Only one MTU size can be set for both IPV4 and IPV6 frames MTU sizes: 68-1500 bytes Default size: 1500 bytes.

Unique name for your domain, your location in the global network. Like Hostname, it is a symbolic, rather than a numerical, identifier.

When enabled, deletes any pending outbound data when a port is closed; as opposed to maintaining the port to send pending data. The default value is Off.

The IOLAN’s unique IPv4 network IP address. If you are using the IOLAN in an IPv6 network, this field can be left blank.

Specify how often, in seconds, the IOLAN will send a TCP keepalive. This only applies to line service types that support the keepalive feature. T Default Interval: 180 seconds.

Sets the maximum time to wait for a response after sending a TCP keepalive message. Values: 1-32767 seconds Default: 5 seconds

The number of TCP keepalive retries before the connection is closed. Values: 1-32767 Default: 5

You must supply a name for the IOLAN.

Show 13 more labels / short text on this page
Server Commands · banner · break · bypass-password · dhcp/bootp · mtu · domain_name · flush-on-close · internet · monitor-connection-every · monitor-connection-timeout · monitor-connection-number · name
Page 17 of the Perle Systems DS1 user manual — Server Commands
Page 17 · click to enlarge
Page 17

The network subnet mask. For example, 255.255.0.0.

When set, and a custom language file is in use, the login prompt will use the string defined in the language file as the login prompt instead of the default prompt, login:.

The number of attempts a user is allowed to enter a password for a serial port connection from the network, before the connection is terminated and the user has to attempt to login again. For users logging into the serial port, if this limit is exceeded, the serial port is disabled for 5 minutes. A user with Admin level rights can restart the serial port, bypassing the timeout, by issuing a kill on the disabled serial port. The default value is 3.

Displays the Server Name field value instead of default product name. When enabled, the Server Name is displayed in the IOLAN login prompt, CLI prompt, WebManager login screen, and the heading of the Menu. The default value is Off.

In this mode of operation, the IOLAN will only allow for a single TCP connection at a time to exist for each serial port configured for a reverse connection type. Subsequent connection attempts will be refused until all of the following conditions are met;

z No active connection to serial port exists and at least 1 second has passed since last connection was terminated.

z All data from previous connection on the serial port has been transmitted. The IOLAN has logic to automatically detect when a reverse connection is no longer active. When this happens, the connection is reset and the server can go back to a listening for an incoming connection state. Applications using Single Telnet need to be aware that there can be some considerable delay between a network disconnection and the port being available for the next connection attempt; this is to allow any data sent on prior connections to be transmitted out of the serial port. Application network retry logic needs to accommodate this feature. The default value is Off.

The number of times the IOLAN will attempt to transfer (using TFTP) a file to/from a host. Enter a value between 0 and 5. The default is 5. A value of 0 (zero) means that the IOLAN will not attempt a retry should TFTP fail.

The time, in seconds, that the IOLAN will wait for a successful transmit or receipt of TFTP packets before retrying a TFTP transfer. Enter a value between 3 and 10. The default is 3 seconds.

The minimum data buffer size for all models is 1 KB. The maximum data buffer size is 2000 KB for TS1, all other models the maximum size is 4000 KB. If the data buffer is filled, incoming serial data will overwrite the oldest data. Data logging is only valid for Trueport and TCP Sockets profiles. Values: 1-2000 KB (TS1) Values: 1-4000 KB (all other models) Default Buffer Size: 4 KB (TS1) Default Buffer Size: 256 KB (all other models)

Show 9 more labels / short text on this page
Server Commands · netmask · oem-login · password-limit · prompt-with-name · single-telnet · retry · timeout · data-logging-buffer-size
Page 18 of the Perle Systems DS1 user manual — Show Server
Page 18 · click to enlarge
Page 18

pre-4.3g data-logging

Enable the data logging feature previous toV4.3 firmware. Default: Disabled

This controls whether the IOLAN will attempt an ARP each time there is data to be transmitted and the ARP table does not have a valid ARP entry for the destination. When set to "off", a new ARP will only be attempted after a timeout period. Any data to be sent before the timeout elapses, will be silently discarded. Default: Off

Set Service

Description Sets server service parameters. User Level Admin Syntax

set service [telnetd on|off] [httpd on|off] [snmpd on|off]

[spcd on|off] [syslog on|off] [dmgrd on|off] [modbusd on|off]

Telnet daemon process in the IOLAN on port 23.

HTTP daemon process in the IOLAN on port 80.

SNMP daemon process in the IOLAN on port 161.

SPC (Trueport) daemon process in the IOLAN on port 668.

Syslog client process in the IOLAN.

DeviceManager daemon process in the IOLAN. If you disable this service, you will not be able to connect to the IOLAN with the DeviceManager application. DeviceManagerD listens on port 33812 and sends on port 33813.

Modbus daemon process in the IOLAN on port 502.

Show Custom-App

Description Shows the custom application server settings. User Level Admin Syntax

Show Modbus

Description Shows the Modbus settings for the gateway. User Level Normal, Admin Syntax

Show Server

Description Shows the parameters set for the server.

Show 11 more labels / short text on this page
Server Commands · udp-always-arp · Options telnetd · httpd · snmpd · spcd · syslog · dmgrd · modbusd · show custom-app server · show modbus gateway
Page 19 of the Perle Systems DS1 user manual — Show Hardware
Page 19 · click to enlarge
Page 19

User Level Admin, Normal Syntax show server

Hardware Commands

Set Ethernet

Description Sets the hardware configuration for the Ethernet port(s). User Level Admin Syntax

Define the ethernet connection speed at one of the following:

z auto—automatically detects the ethernet interface speed and duplex

z 10 Mbps Half Duplex z 10 Mbps Full Duplex z 100 Mbps Half Duplex z 100 Mbps Full Duplex

Show Hardware

Description Shows the hardware resources, Ethernet link status, date and time. User Level Normal, Admin Syntax

Show 5 more labels / short text on this page
Hardware Commands · set ethernet speed-and-duplex · auto|10-half|10-full|100-half|100-full · Options auto|10-half|10-full|100-half|100-full · show hardware
Page 20 of the Perle Systems DS1 user manual — Set Modbus Gateway
Page 20 · click to enlarge
Page 20

Modbus Commands

Set Modbus Gateway

Description Sets the Modbus parameters for the IOLAN when it is operating as a Modbus Gateway. User Level Admin Syntax set modbus gateway [addr-mode embedded|re-mapped] set modbus gateway [broadcast on|off] set modbus gateway [char-timeout <number>] set modbus gateway [next-req-delay <number>] set modbus gateway [exceptions on|off] set modbus gateway [idle-timer <number>] set modbus gateway [mess-timeout <number>] set modbus gateway [port <TCP/UDP_port>] set modbus gateway [req-queuing on|off] set modbus gateway [remapped-id <1-247>] set modbus gateway [ip-aliasing on|off]

Determines if the original UID address will be embedded in the transmission header or if a specified (remapped) UID will be embedded in the transmission header.

When enabled, a UID of 0 (zero) indicates that the message will be broadcast to all Modbus Slaves. The default is Off.

Used in conjunction with the Modbus RTU protocol, specifies how long to wait, in milliseconds, after a character to determine the end of frame. The default is 30 ms.

A delay, in milliseconds, to allow serial slave(s) to re-enable receivers before issuing next Modbus Master request. The default is 50 ms.

When enabled, an exception message is generated and sent to the initiating Modbus device when any of the following conditions are encountered: there is an invalid UID, the UID is not configured in the Gateway, there is no free network connection, there is an invalid message, or the target device is not answering the connection attempt. The default is On.

Specifies the number of seconds that must elapse without any network or serial traffic before a connection is dropped. If this parameter is set to 0 (zero), a connection will not be dropped (with the following exceptions: the TCP KeepAlive causes the connection to be dropped or the Modbus device drops the connection). The default is 10 seconds.

Time to wait, in milliseconds, for a response message from a Modbus TCP or serial slave (depending if the Modbus Gateway is a Master Gateway or Slave Gateway, respectively) before sending a Modbus exception. The default is 1000 ms.

The network port number that the Slave Gateway will listen on for both TCP and UDP messages. The default is 502.

Show 9 more labels / short text on this page
Modbus Commands · Options addr-mode · broadcast · char-timeout · next-req-delay · exceptions · idle-timer · mess-timeout · port
Page 21 of the Perle Systems DS1 user manual — Show TruePort
Page 21 · click to enlarge
Page 21

When enabled, allows multiple, simultaneous messages to be queued and processed in order of reception. The default is On.

Specify the UID that will be inserted into the message header for the Slave Modbus serial device. Valid values are 1-247.

ip-aliasing When enabled, allows for multiple requests to serial slaves (from an Ethernet Master/s] to be processed simultaneously.

DefaultOff

Show Modbus

Description Displays the Modbus Gateway parameters. User Level Admin Syntax

show modbus slave|master <line_number>

TruePort Baud Commands

Set TruePort Remap-Baud

Description This command allows for the remapping of the baud rate being specified by the Serial

application to a different value on the physical serial port on the IOLAN. User Level Admin Syntax

50|75|110|134|150|200|300|600|1200|1800|2400|4800|9600|19200| 38400 50|75|110|134|150|200|300|600|1200|1800|2400|4800|9600|19200| 38400|57600|115200|230400|28800|[custom <baud_rate>]

The configured baud rate of the TruePort client.

50|75|110|134|150|200|300|600|1200|1800|2400|4800|9600|19200|38400| 57600|115200|230400|28800|[custom <baud_rate>]

The actual baud rate that runs between the IOLAN and the connected serial device. You can also specify a custom baud rate; valid values are 50-230400.

Show TruePort

Description Shows the IOLAN TruePort remapping table. User Level Normal, Admin Syntax

Show 7 more labels / short text on this page
TruePort Baud Commands · req-queuing · remapped-id · show modbus gateway · set trueport remap-baud · Options 50|75|110|134|150|200|300|600|1200|1800|2400|4800|9600|19200|38400 · show trueport
Page 22 of the Perle Systems DS1 user manual — Show IPv6
Page 22 · click to enlarge
Page 22

IPv6 Commands

Set IPv6

Description Configures the basic IPv6 settings. User Level Admin Syntax

set ipv6 [dhcpv6-settings ipv6-address on|off]

Set ipv6 enable-ipv6-addressing on|off

Determines the types of information that the IOLAN will accept from the DHCPv6 server, IPv6 address(es) and/or network prefix(es).

When enabled, the IOLAN will accept IPv6 address(es) from the DHCPv6 server. This is off by default.

When enabled, the IOLAN will accept the network prefix from the DHCPv6 server. This is off by default.

When enabled, you can configure the IOLAN to obtain the IPv6 address(es) using IPv6 Autoconfiguration or a DHCPv6 server. Default: Enabled

z auto-ipv6—When enabled, the IOLAN will send out a Router Solicitation message. If a Router Advertisement message is received, the IOLAN will configure the IPv6 address(es) and configuration parameters based on the information contained in the advertisement. If no Router Advertisement message is received, the IOLAN will attempt to connect to a DHCPv6 server to obtain IPv6 addresses and other configuration parameters. This is the default.

z dhcpv6—When enabled, requests IPv6 address(es) and configuration information from the DHCPv6 server.

Show IPv6

Description Shows the IPv6 settings. User Level Admin Syntax

Show 9 more labels / short text on this page
IPv6 Commands · [dhcp-settings network-prefix on|off] · [obtain-using auto-ipv6|dhcpv6] · Options dhcpv6-settings · ivp6-address · network-prefix · enable-ipv6-addressing · obtain-using auto-ipv6|dhcpv6 · show ipv6
Page 23 of the Perle Systems DS1 user manual — Set Custom-IPv6
Page 23 · click to enlarge
Page 23

Add Custom-IPv6

Description Adds a custom IPv6 address to the IOLAN. You can specify either a complete IPv6

address or an IPv6 network address. User Level Admin Syntax

add custom-ipv6 method auto network-prefix <network_prefix>

add custom-ipv6 method manual ipv6-address <ipv6_address>

When this option is specified, the IOLAN will derive an IPv6 address from the entered network prefix and the IOLAN’s MAC address. This is the default option.

Specify the IPv6 network prefix. The IOLAN will derive the complete IPv6 address from the entered network prefix and the IOLAN’s MAC address.

Specify the network prefix bits for the IPv6 address. Range: 0-64 Default: 64

Specify this option when you want to enter a specific IPv6 address.

Specify the complete IPv6 address. Field Format: IPv6 address

Specify the network prefix bits for the IPv6 address. Range: 0-128 Default: 64

Set Custom-IPv6

Description Configures custom IPv6 network and IP addresses. User Level Admin Syntax set custom-ipv6 <config_ipv6_address> method auto

network-prefix <network_prefix> [prefix-bits <0-64>]

set custom-ipv6 <config_ipv6_address> method manual

ipv6-address <ipv6_address> [prefix-bits <0-128>]

When this option is specified, the IOLAN will derive an IPv6 address from the entered network prefix and the IOLAN’s MAC address. This is the default option.

Specify the IPv6 network prefix. The IOLAN will derive the complete IPv6 address from the entered network prefix and the IOLAN’s MAC address.

Show 11 more labels / short text on this page
IPv6 Commands · [prefix-bits <0-64>] · [prefix-bits <0-128>] · Options method auto · network-prefix · prefix-bits (auto) · method manual · ipv6-address · prefix-bits (manual) · Options method auto · network-prefix
Page 24 of the Perle Systems DS1 user manual — Delete Custom-IPv6
Page 24 · click to enlarge
Page 24

Specify the network prefix bits for the IPv6 address. Range: 0-64 Default: 64

Specify this option when you want to enter a specific IPv6 address.

Specify the complete IPv6 address. Field Format: IPv6 address

Specify the network prefix bits for the IPv6 address. Range: 0-128 Default: 64

Delete Custom-IPv6

Description Deletes the specified custom IPv6 address. To see a list of configured IPv6 addresses,

type the command delete custom-ipv6 ?. User Level Admin Syntax

delete custom-ipv6 <config_ipv6_address>

Show 5 more labels / short text on this page
IPv6 Commands · prefix-bits (auto) · method manual · ipv6-address · prefix-bits (manual)
Page 25 of the Perle Systems DS1 user manual — Logout
Page 25 · click to enlarge
Page 25

User Commands Chapter 3 3

This chapter defines all the CLI commands available to users who are logged into the IOLAN.

Commands for Users Logged Into the IOLAN

Admin

Description Changes a Normal-level user to the Admin user. When you press Enter after you type

this command, you will be prompted for the Admin password. User Level Normal Syntax

Help

Description Displays help on using the command line interface (CLI). User Level Restricted, Normal, Admin Syntax

Line

Description Displays a menu of configured serial ports. User Level Admin Syntax

Kill Line

Description Restarts a line. On IOLANs with more than 1 port, you can specify a port number and

then a range of ports; for example, kill line 4, 10-13, 15. On single port models, use the command kill line. User Level Normal, Admin Syntax

kill line *|<number>|<number range>

Kill Session

Description Kills an active session. User Level Restricted, Normal, Admin Syntax Options 1|2|3|4 The number of the session(s) you want to kill.

Logout

Description Logs the user out from the IOLAN.

IOLAN DS1/TS2 CLI Reference Guide, Version 4.5 26

Show 4 more labels / short text on this page
admin · help · line · kill session 1|2|3|4
Page 26 of the Perle Systems DS1 user manual — Set Termtype
Page 26 · click to enlarge
Page 26

Commands for Users Logged Into the IOLAN

User Level Restricted, Normal, Admin Syntax logout

Menu

Description Switches from a command line based interface to Menu mode of operation. User Level Restricted, Normal, Admin Syntax

Ping

Description This command checks to see if a given host is reachable via an IP message. The specific

message used is called a ping. User Level Normal, Admin Syntax Options <hostname/IP_address> The DNS resolvable host name or IP address of the machine you are trying to ping.

ping <hostname/IP_address> [<packet_size>] [<#_of_packets>]

<packet_size> Enter the number of data bytes to be sent. The default is 100 bytes.

<#_of_packets> Enter the number of the packets you want to send. The default is 10.

Resume

Description Resumes a started session. User Level Restricted, Normal, Admin Syntax Options 1|2|3|4 The number of the session you want to resume.

Screen

Description Switches from a command line based interface to Menu mode of operation. User Level Restricted, Normal, Admin Syntax

Set Termtype

Description Sets the type of terminal being used for the current session. User Level Normal, Admin Syntax set termtype

Show 4 more labels / short text on this page
menu · resume 1|2|3|4 · screen · wyse60|vt100|ansi|dumb|tvi925|ibm3151te|vt320|hp700|term1|term2| term3
Page 27 of the Perle Systems DS1 user manual — Set User Session
Page 27 · click to enlarge
Page 27

Commands for Users Logged Into the IOLAN

Specifies the type of terminal connected to the line:

z VT320 (specifically supporting VT320-7)

z HP700 (specifically supporting HP700/44)

z Term1, Term2, Term3 (user defined terminals)

Set User

Description Sets the current users settings. User Level Normal, Admin Syntax

set user . [hotkey-prefix <00-7f>] [language english|customlang]

The prefix that a user types to control the current session. The default value is hex 01, which corresponds to Ctrl-a (^a) (hex value 02 would be Ctrl-b (^b), etc.):

z ^a number—To switch from one session to another, press ^a and then the required session number. For example, ^a 2 would switch you to session 2. Pressing ^a 0 will return you to the IOLAN Menu.

z ^a n—Display the next session. The current session will remain active. The lowest numbered active session will be displayed.

z ^a p—Display the previous session. The current session will remain active. The highest numbered active session will be displayed.

z ^a m—To exit a session and return to the IOLAN. You will be returned to where you left off. The session will be left running.

z ^a l—(Lowercase L) Locks the line until the user unlocks it. The user is prompted for a password (any password, excluding spaces) and locks the line. Next, the user must retype the password to unlock the line.

z ^r—When you switch from a session back to the Menu, the screen may not be redrawn correctly. If this happens, use this command to redraw it properly. This is always Ctrl R, regardless of the Hotkey Prefix. The User Hotkey Prefix value overrides the Line Hotkey Prefix value. You can use the Hotkey Prefix keys to lock a line only when the line Lock parameter is On.

You can specify whether a user will use English or Customlang as the language that appears in the Menu or CLI. The IOLAN supports one custom language that must be downloaded to the IOLAN; otherwise, Customlang defaults to English.

The password the user will need to enter to login to the IOLAN. This case-sensitive field accepts a maximum of 16 characters.

Set User Session

Description Sets the current users session settings.

Show 11 more labels / short text on this page
Option wyse60|vt100|ansi|dumb|tvi925|ibm3151te|vt320|hp700|term1|term2|term3 · z Dumb · z WYSE60 · z VT100 · z ANSI · z TVI925 · z IBM3151TE · [password] · Options hotkey-prefix · language · password
Page 28 of the Perle Systems DS1 user manual — Start
Page 28 · click to enlarge
Page 28

Commands for Users Logged Into the IOLAN

User Level Normal, Admin Syntax set user . session 1|2|3|4|* [auto on|off] [type off|telnet]

set user . session 1|2|3|4|* telnet-options [host <config_host>]

[port <TCP_port>] [termtype <terminal_name>] [line-mode on|off] [map-cr-crlf on|off] [local-echo on|off] [echo <00-7f>] [eof <00-7f>] [erase <00-7f>] [intr <00-7f>] [quit <00-7f>]

Specifies the session number (or all, *) that you are configuring.

Specify whether or not the session(s) will start automatically when the user logs into the IOLAN.

telnet-options See Set Telnet-Client in the IOLAN User’s Guide.

Show Line Users

Description Shows the users who are on the line. User Level Admin Syntax

show line <number> users

Syslog Console

Description Starts/stops or displays the status of the syslog console. User Level Admin Syntax

Start or stop console logging. When console logging is enabled, syslog messages will be echoed to the current console. These messages are filtered based on the level set in the (remote) syslog options.

status Displays the current console logging status (enabled or disabled).

Show Sessions

Description Shows available sessions. User Level Restricted, Normal, Admin Syntax

Show Termtype

Description Shows the terminal type for the current session. User Level Admin Syntax

Start

Description Starts a predefined session. Only inactive sessions are displayed. User Level Restricted, Normal, Admin Syntax start 1|2|3|4

Show 7 more labels / short text on this page
Options session · auto · syslog console start|stop · syslog console status · Options start|stop · show sessions · show termtype
Page 29 of the Perle Systems DS1 user manual — Telnet
Page 29 · click to enlarge
Page 29

Commands for Users Logged Into the IOLAN

Options 1|2|3|4 The number of the session that you want to start.

Telnet

Description Starts a telnet session to the specified host/IP address. User Level Normal, Admin Syntax telnet <hostname/IP_address> [<tcp_port>]

[termtype <terminal_name>] [line-mode on|off] [map-cr-crlf on|off] [local-echo on|off] [echo <00-7f>] [eof <00-7f>] [erase <00-7f>] [intr <00-7f>] [quit <00-7f>] [escape <00-7f>]

Options <hostname/IP_address>

The name (resolvable via DNS) or IP address of the host you wish to connect to with Telnet.

The port number the target host is listening on for incoming connections. The default for Telnet is port number 23.

Type of terminal attached to this line; for example, ANSI or WYSE60.

When On, keyboard input is not sent to the remote host until Enter is pressed, otherwise input is sent every time a key is pressed. Default is Off.

Maps carriage returns (CR) to carriage return line feed (CRLF). The default value is Off.

Toggles between local echo of entered characters and suppressing local echo. Local echo is used for normal processing, while suppressing the echo is convenient for entering text that should not be displayed on the screen, such as passwords. This parameter can only be used when Line Mode is On. Default is Off.

Defines the echo character. When Line Mode is On, typing the echo character echoes the text locally and sends only completed lines to the host. This value is in hexadecimal with a default value of 5 (ASCII value ^E).

Defines the end-of-file character. When Line Mode is On, entering the eof character as the first character on a line sends the character to the remote host. This value is in hexadecimal with a default value of 4 (ASCII value ^D).

Defines the erase character. When Line Mode is Off, typing the erase character erases one character. This value is in hexadecimal with a default value of 8 (ASCII value ^H).

Defines the interrupt character. Typing the interrupt character interrupts the current process. This value is in hexadecimal with a default value of 3 (ASCII value ^C).

Show 9 more labels / short text on this page
<tcp_port> · termtype · line-mode · map-cr-crlf · local-echo · echo · eof · erase · intr
Page 30 of the Perle Systems DS1 user manual — Set Default User
Page 30 · click to enlarge
Page 30

Defines the quit character. Typing the quit character closes and exits the current telnet session. This value is in hexadecimal with a default value of 1c (ASCII value FS).

Defines the escape character. Returns you to the command line mode. This value is in hexadecimal with a default value of 1d (ASCII value GS).

Version

Description Displays firmware version and build. User Level Normal, Admin Syntax

Configuring Users

Add User

Description Adds a user. For units with 4 or less serial ports, you can configure up to 4 users. For

units with 8 or more serial ports, the maximum number of users which can be added is 48. This is in addition to the admin user. User Level Admin Syntax Option <username> The name of the user, without spaces. When you finish the command and press Enter, you will be prompted to enter and re-enter a password for the user.

add user <username>

Delete User

Description Deletes a user. User Level Admin Syntax Option <config_user> You can see a list of users that can be deleted by typing delete user ?. You can not delete the admin user.

delete user <config_user>

Set Default User

Description Configures the Default User. When adding a new user, the profile of the default user

will be used to assign the values of the various parameters of the new user. (CLI and menu only). User Level Admin Syntax set default user [host-ip None|<ip_address>|<config_host>]

[hotkey-prefix <00-7f>] [idle-timer <0-4294967>] [language english|customlang] [level admin|normal|restricted|menu] [line-access readin|readwrite [on|off]|<line(s)> [0]] [port tcp-clear|telnet <tcp_port>] [service dsprompt|telnet|tcp-clear] [sess-timer <0-4294967>]

For outbound User Services such as Telnet, this is the target host name or IP address. If no IP address is specified, the Host IP value in the Default User configuration will be used. The default is 0.0.0.0. or None.

Show 5 more labels / short text on this page
Configuring Users · quit · escape · version · Options host-ip
Page 31 of the Perle Systems DS1 user manual — Version
Page 31 · click to enlarge
Page 31

The prefix that a user types to control the current session. The default value is hex 01, which corresponds to Ctrl-a (^a) (hex value 02 would be Ctrl-b (^b), etc.):

z ^a number—To switch from one session to another, press ^a and then the required session number. For example, ^a 2 would switch you to session 2. Pressing ^a 0 will return you to the IOLAN Menu.

z ^a n—Display the next session. The current session will remain active. The lowest numbered active session will be displayed.

z ^a p—Display the previous session. The current session will remain active. The highest numbered active session will be displayed.

z ^a m—To exit a session and return to the IOLAN. You will be returned to where you left off. The session will be left running.

z ^a l—(Lowercase L) Locks the line until the user unlocks it. The user is prompted for a password (any password, excluding spaces) and locks the line. Next, the user must retype the password to unlock the line.

z ^r—When you switch from a session back to the Menu, the screen may not be redrawn correctly. If this happens, use this command to redraw it properly. This is always Ctrl R, regardless of the Hotkey Prefix. The User Hotkey Prefix value overrides the Line Hotkey Prefix value. You can use the Hotkey Prefix keys to lock a line only when the line Lock parameter is On.

The amount of time, in seconds, that the Idle Timer will run. Use this timer to close a connection because of inactivity. When the Idle Timer expires, because there has been no exchange of data within the specified time, the IOLAN will close the connection. The default value is 0 (zero), meaning that the Idle Timer will not expire (the connection is open permanently). The maximum value is 4294967 seconds. The User Idle Timer will override the Line Idle Timer, with the exception of reverse Telnet sessions.

You can specify whether a user will use English or Customlang as the language that appears in the Menu or CLI. The IOLAN supports one custom language that must be downloaded to the IOLAN; otherwise, Customlang defaults to English.

The access that a user is allowed:

z Admin—The admin level user has total access to the IOLAN. You can create more than one admin user account but we recommend that you only have one. They can monitor and configure the IOLAN.

z Normal—The Normal level user has limited access to the IOLAN. Limited CLI commands and Menu access are available with the ability to configure the user’s own configuration settings.

z Restricted—The Restricted level user can only access predefined sessions or access the Easy Port Access menu.

z Menu—The menu level user will only be able to access predefined session or access the Easy Port Access menu. The Easy Port Access allows the user to connect to the accessible line without disconnecting their initial connection to the IOLAN. Does not have any access to CLI commands.

Show 5 more labels / short text on this page
Configuring Users · hotkey-prefix · idle-timer · language · level
Page 32 of the Perle Systems DS1 user manual — Set User
Page 32 · click to enlarge
Page 32

Specifies the user access rights to each IOLAN device line. Options are:

z Read/Write—Users are given read and write access to the line.

z Read In—Users are given access to read only outbound data, data that is going from the IOLAN to the device. The on|off option is only for 1-port models. You can disable line access in 2-port + models by specifying 0 (zero).

The phone number the IOLAN will dial to callback the user (you must have set Callback to On). Enter the number without spaces.

When the User Service is Telnet, this is the target port number. The default value will change based on the type of Service selected; the most common known port numbers are used as the default values.

The type of service that the user will use.

The amount of time, in seconds, that the Session Timer will run. Use this timer to forcibly close a user’s session (connection). When the Session Timer expires, the IOLAN will end the connection. The default value is 0 (zero), meaning that the session timer will not expire (the session is open permanently, or until the user logs out). The maximum value is 4294967 seconds. The User Session Timer will override the Line Session Timer, with the exception of reverse Telnet sessions.

Set User

Description Sets users settings. Normal-level users can configure only their own settings.

Admin-level users can configure any users settings, including their own (with the exception of their User Level, which must stay at Admin). User Level Normal, Admin Syntax set user . [hotkey-prefix <00-7f>] [language english|customlang]

Admin set user .|<username>|*

[host-ip None|<ip_address>|<config_host>] [hotkey-prefix <00-7f>] [idle-timer <0-4294967>] [language english|customlang] [level admin|normal|restricted|menu] [password] [line-access readin|readwrite [on|off]|<line(s)> [0]] [service dsprompt|telnet|tcp-clear] [sess-timer <0-4294967>] [port tcp-clear|telnet <tcp_port>]

For outbound User Services such as Telnet, this is the target host name or IP address. If no IP address is specified, the Host IP value in the Default User configuration will be used. The default is 0.0.0.0. or None.

Show 8 more labels / short text on this page
Configuring Users · line-access · phone-number · port · service · sess-timer · [password] · Options host-ip
Page 33 of the Perle Systems DS1 user manual — Set User
Page 33 · click to enlarge
Page 33

The prefix that a user types to control the current session. The default value is hex 01, which corresponds to Ctrl-a (^a) (hex value 02 would be Ctrl-b (^b), etc.):

z ^a number—To switch from one session to another, press ^a and then the required session number. For example, ^a 2 would switch you to session 2. Pressing ^a 0 will return you to the IOLAN Menu.

z ^a n—Display the next session. The current session will remain active. The lowest numbered active session will be displayed.

z ^a p—Display the previous session. The current session will remain active. The highest numbered active session will be displayed.

z ^a m—To exit a session and return to the IOLAN. You will be returned to where you left off. The session will be left running.

z ^a l—(Lowercase L) Locks the line until the user unlocks it. The user is prompted for a password (any password, excluding spaces) and locks the line. Next, the user must retype the password to unlock the line.

z ^r—When you switch from a session back to the Menu, the screen may not be redrawn correctly. If this happens, use this command to redraw it properly. This is always Ctrl R, regardless of the Hotkey Prefix. The User Hotkey Prefix value overrides the Line Hotkey Prefix value. You can use the Hotkey Prefix keys to lock a line only when the line Lock parameter is On.

The amount of time, in seconds, that the Idle Timer will run. Use this timer to close a connection because of inactivity. When the Idle Timer expires, because there has been no exchange of data within the specified time, the IOLAN will close the connection. The default value is 0 (zero), meaning that the Idle Timer will not expire (the connection is open permanently). The maximum value is 4294967 seconds. The User Idle Timer will override the Line Idle Timer, with the exception of reverse Telnet sessions.

You can specify whether a user will use English or Customlang as the language that appears in the Menu or CLI. The IOLAN supports one custom language that must be downloaded to the IOLAN; otherwise, Customlang defaults to English.

The access that a user is allowed:

z Admin—The admin level user has total access to the IOLAN. You can create more than one admin user account but we recommend that you only have one. They can monitor and configure the IOLAN.

z Normal—The Normal level user has limited access to the IOLAN. Limited CLI commands and Menu access are available with the ability to configure the user’s own configuration settings.

z Restricted—The Restricted level user can only access predefined sessions or access the Easy Port Access menu.

z Menu—The menu level user will only be able to access predefined session or access the Easy Port Access menu. The Easy Port Access allows the user to connect to the accessible line without disconnecting their initial connection to the IOLAN. Does not have any access to CLI commands.

The password the user will need to enter to login to the IOLAN. This case-sensitive field accepts a maximum of 16 characters.

Show 6 more labels / short text on this page
Configuring Users · hotkey-prefix · idle-timer · language · level · password
Page 34 of the Perle Systems DS1 user manual — Show User
Page 34 · click to enlarge
Page 34

Specifies the user access rights to each IOLAN device line. Options are:

z Read/Write—Users are given read and write access to the line.

z Read In—Users are given access to read only outbound data, data that is going from the IOLAN to the device. The on|off option is only for 1-port models. You can disable line access in 2-port + models by specifying 0 (zero).

The type of service that the user will use.

The amount of time, in seconds, that the Session Timer will run. Use this timer to forcibly close a user’s session (connection). When the Session Timer expires, the IOLAN will end the connection. The default value is 0 (zero), meaning that the session timer will not expire (the session is open permanently, or until the user logs out). The maximum value is 4294967 seconds. The User Session Timer will override the Line Session Timer, with the exception of reverse Telnet sessions.

When the User Service is Telnet, this is the target port number. The default value will change based on the type of Service selected; the most common known port numbers are used as the default values.

Set User Session

Description Configures a users session settings. See Set User Session for the options descriptions. User Level Admin Syntax

set user .|<username> session 1|2|3|4|* [auto on|off]

set user .|<username> session 1|2|3|4|* telnet-options

[host <config_host>] [port <TCP_port>] [termtype <terminal_name>] [line-mode on|off] [map-cr-crlf on|off] [local-echo on|off] [echo <00-7f>] [eof <00-7f>] [erase <00-7f>] [intr <00-7f>] [quit <00-7f>]

Show Default User

Description Shows the Default Users settings. When adding a new user, the profile of the default

user will be used to assign the values of the parameters to the new user. User Level Admin Syntax

Show User

Description Shows user configuration settings. User Level Admin Syntax Options <configured_user> Show the settings for the specified user. . Show the settings for the current user.

show user <configured_user>|.

Show 7 more labels / short text on this page
Configuring Users · line-access · service · sess-timer · port · [type off|telnet] · show default user
Page 35 of the Perle Systems DS1 user manual — Set Line
Page 35 · click to enlarge
Page 35

Line Commands Chapter 4 4

This chapter defines all the CLI commands associated with configuring the IOLAN’s line parameters.

1-Port vs. 2-Port Line Commands

If you are using a DS1 IOLAN, the admin user does not have the option of using the number or all (*) options in the line commands, as there is only one line. In an TS2 IOLAN, the admin user must specify . (current line), (line number), or * (sets value for all lines) when configuring lines.

Line Commands

Set Line

Description Configures line parameters. User Level Normal, Admin, Elevated User Syntax set line .|<number>|* speed

[50|75|110|134|150|200|300|600|1200|1800|2400|4800|9600|19,200|3 8,400|57,600|115,200|230,400|28,800|custom] [data-bits 5|6|7|8] [break on|off] [break-delay <0-65535>]

[break-length <0-65535>] [connection-method dial-in|dial-out|dial-in-out|direct-connect] [idle-timer <0-4294967>] [line-name <name>] [modem-name <config_modem>] [pages 1|2|3|4|5|6|7] [parity none|even|odd|mark|space] [phone-number <phone_number>] [rev-sess-security on|off] [send-name on|off] [session-strings |delay <0-65535> |initiate <text> |terminate <text>] [sess-timer <0-4294967>] [stop-bits 1|2|1.5] [termtype wyse60|vt100|ansi|dumb|tvi925| ibm3151te|vt320|hp700|term1|term2|term3][discard-characters-with -error on|off]

Admin set line [speed

50|75|110|134|150|200|300|600|1200|1800|2400|4800|9600|19,200|38 ,400|57,600|115,200|230,400|28,800|custom] flowin on|off] [flowout on|off] [hotkey-prefix <00-7f>]

[data-logging on|off] [initiate-connection any-char|specific-char <hex_value>] [initial cli|menu] [keepalive on|off] [lock on|off] [mode enabled|disabled][motd on|off] [reset on|off] [dial-timeout <number>] [dial-retries <number>] [single-character on|off] [user <name>] [nouser] [internet-address <IPv4_address>] [user <config_user>]

IOLAN DS1/TS2 CLI Reference Guide, Version 4.5 36

Page 36 of the Perle Systems DS1 user manual — Line Commands
Page 36 · click to enlarge
Page 36

set line .|<number>|* speed

for this parameter to be permanently saved. Options break

Specifies how a break is interpreted:

z off—The IOLAN ignores the break key completely and it is not passed through to the host. This is the default setting.

z local—The IOLAN deals with the break locally. If the user is in a session, the break key has the same effect as a hot key.

z remote—When the break key is pressed, the IOLAN translates this into a telnet break signal which it sends to the host machine.

z break-interrupt—On some systems such as SunOS, XENIX, and AIX, a break received from the peripheral is not passed to the client properly. If the client wishes to make the break act like an interrupt key (for example, when the stty options -ignbrk and brkintr are set).

break-length The length of time (in milliseconds) for which the break signal will be asserted on the se rial port. Valid values are 0-65535. Default is 1000 ms A value of 0 will cause the "request to send a break signal" to be ignored.

break-delay The length of time (in milliseconds) to delay after a break signal is sent before the IOLAN sends data. Valid values are 0-65535. Default: 0 ms ( no delay )

Determines how a modem will work on the line. Select from the following options:

z Direct Connect—Indicates that there is not a modem on the line. This is the default.

z Dial In—Specify this option when a user is remote and will be dialing in via modem or ISDN TA.

z Dial Out—Specify this option when a modem is attached to the serial port and is being used to dial out.

z Dial In/Out—Specify this option when the IOLAN is being used as a router (depending on which end of the link your IOLAN is situated and how you want to initiate the communication).

Specifies the number of bits in a byte. The default is 8.

The number of seconds the IOLAN will wait to establish a connection to a remote modem. The default value is 45 seconds.

The number of times the IOLAN will attempt to establish a connection with a remote modem. The default value is 2.

Show 7 more labels / short text on this page
Line Commands · Elevated User · [50|75|110|134|150|200|300|600|1200|1800|2400|4800|9600|19,200|3 8,400|57,600|115,200|230,400|28,800|custom] · connection-method · data-bits · dial-timeout · dial-retries
Page 37 of the Perle Systems DS1 user manual — Line Commands
Page 37 · click to enlarge
Page 37

Determines if input flow control is to be used. Default is On. This is active only when Line Flow Control is set to Soft, Hard, or Both.

Determines if output flow control is to be used. Default is On. This is active only when Line Flow Control is set to Soft, Hard, or Both.

The prefix that a user types to lock a line or redraw the Menu. The default value is hex 01, which corresponds to Ctrl-a (^a) (hex value 02 would be Ctrl-b (^b), etc.):

z ^a l—(Lowercase L) Locks the line until the user unlocks it. The user is prompted for a password (any password, excluding spaces) and locks the line. Next, the user must retype the password to unlock the line.

z ^r—When you switch from a session back to the Menu, the screen may not be redrawn correctly. If this happens, use this command to redraw it properly. You can use the Hotkey Prefix key to lock a line only when the Line Lock parameter is On.

Enter a time period, in seconds, for which the Idle Timer will run. Use this timer to close a connection because of inactivity. When the Idle Timer expires, the IOLAN will end the connection. The maximum value is 4294967 seconds (about 49 days). The default value of 0 (zero) means the Idle Timer will not expire, so the connection is permanently open.

When enabled, serial data will be buffered if the TCP connection is lost. When the TCP connection is re-established, the buffered serial data will be sent to its destination . Note: A kill line or a reboot of the IOLAN causes all buffered data to be lost. The minimum data buffer size for all models is 1K. The maximum data buffer size is 2000 KB for DS1/TS1/STS8D, all other models the maximum size is 4000 KB. If the data buffer is filled, incoming serial data will overwrite the oldest data. Some profile features are not compatible when using the Data Logging feature. See Data Logging Appendix H in the IOLAN User’s Guide for more information. Data logging is only valid for Trueport and TCP Sockets profiles. Values: 1-2000 KB (DS1/TS1/STS8D) Values: 1-4000 KB (all other models) Default Buffer Size: 4 KB (DS1/TS1/STS8D) Default Buffer Size: 256 KB (all other models) Default: Disabled

Specifies the initial interface a user navigates when logging into the line; either the Menu or a prompt for the CLI. The default is CLI.

Initiates a Telnet connection to the specified host when any data is received by the serial port or when the specified character is received by the serial port (direct Telnet only).

Show 8 more labels / short text on this page
Line Commands · flowin · flowout · hotkey-prefix · idle-timer · data-logging · initial · initiate-connection
Page 38 of the Perle Systems DS1 user manual — Line Commands
Page 38 · click to enlarge
Page 38

Used with reverse sessions, users can access serial devices connected to the IOLAN by the specified Internet Address (or host name that can be resolved by a DNS). You must reboot the IOLAN for the Internet Address to take affect (the kill line option does not apply to this parameter).

Enables a per-connection TCP keepalive feature. After the configured number of seconds, the connection will send a gratuitous ACK to the network peer, thus either ensuring the connection stays active OR causing a dropped connection condition to be recognized. This parameter needs to be used in conjunction with server parameter, monitor-connection-every. The interval determines how long the IOLAN will wait during inactivity before "testing" the connection. It should be noted that if a network connection is accidentally dropped, it can take as long as the specified interval before anyone can reconnect to the serial port.

Provide a name for the line so it can be easily identified.

When enabled, the user can lock his terminal with a password using the Hotkey Prefix (default Ctrl-a) ^a l (lowercase L). The IOLAN prompts the user for a password and a confirmation.

Enables/disables the line (available only on the TS2 model). The default is enabled.

The name of the predefined modem that is used on this line.

Enables/disables the message of the day on the line.

Blanks out the User parameter, in case you want to change a dedicated user line to an undedicated line.

For DSLogin line service, this is the number of video pages the terminal supports. Valid values are 1-7. The default is 5 pages.

Specifies if you are using Even, Odd, or No parity on the line. If you want to force a parity type, you can specify Mark for 1or Space for 0.

The phone number to use when Connection Method is set to Dial Out.

Resets the terminal type connected to the line when a user logs out.

Enables/disables login/password authentication, locally or externally, on reverse Telnet connections. The default is Off.

Show 14 more labels / short text on this page
Line Commands · internet-address · keepalive · line-name · lock · mode · modem-name · motd · nouser · pages · parity · phone-number · reset · rev-sess-security
Page 39 of the Perle Systems DS1 user manual — Line Commands
Page 39 · click to enlarge
Page 39

When enabled, the port name will be sent to the host upon session initiation. Default: Disabled

session strings Controls the sending of ASCII strings to serial devices at session start and session termination as follows;

z Send at Start—If configured, this string will be sent to the serial device when the serial device is detected (i.e. signals come up). The maximum size of this field is 128 bytes/characters. Non printable ascii characters must be entered in this format . The decimal numbers within the brackets must be 3 digits long (example 003 not 3).

z Send at End—If configured, this string will be sent to the serial device when the TCP session on the LAN is terminated. The maximum size of this field is 128 bytes/characters. Non printable ascii character must be entered in this format (escape). The decimal numbers within the brackets must be 3 digits long (example 003 not 3).

z Delay after Send—If configured, a delay time is sent to the device. This delay can be used to provide the serial device with time to process the string before the session is initiated. Range: 0-65535 ms

Default10 ms

Enter a time, in seconds, for which the Session Timer will run. Use this timer to forcibly close the session (connection). When the Session Timer expires, the IOLAN will end the connection. The default value is 0 seconds so the port will never timeout. The maximum value is 4294967 seconds (about 49 days).

Specifies the number of stop bits that follow a byte.

Specifies the type of terminal connected to the line:

z VT320 (specifically supporting VT320-7)

z HP700 (specifically supporting HP700/44)

z Term1, Term2, Term3 (user defined terminals)

For DSLogin line service, makes this a line that is dedicated to the specified user. Only this user will be able to log in on this line and they won’t need to enter their login name - just their password.

Show 12 more labels / short text on this page
Line Commands · send-name · sess-timer · stop-bits · term-type · z Dumb · z WYSE60 · z VT100 · z ANSI · z TVI925 · z IBM3151TE · user
Page 40 of the Perle Systems DS1 user manual — Set Line Interface
Page 40 · click to enlarge
Page 40

When enabled, the IOLAN will discard characters received with a parity or framing error. Default: Disabled.

Set Line Interface

Description Configures line interface (hardware) parameters. User Level Admin Syntax set line .|<number>|* interface eia-232 [monitor-dcd on|off]

[monitor-dsr on|off] [flow none|soft|hard|both] [speed 50|75|110|134|150|200|300|600|1200|1800|2400|4800|9600| 19200|38400|57600|115200|230400|28800|custom <baud_rate>] set line interface eia-422 [flow none|soft|hard|both]

[speed 50|75|110|134|150|200|300|600|1200|1800|2400|4800| 9600|19200|38400|57600|115200|230400|28800|custom <baud_rate>]

set line .|<number>|* interface eia-485-half-duplex

[tx-driver-control auto|rts] [flow none|soft] [echo-suppression on|off]] [speed 50|75|110|134|150|200|300|600|1200|1800|2400|4800| 9600|19200|38400|57600|115200|230400|28800|custom <baud_rate>]

set line interface eia-485 [tx-driver-control auto|rts]

[flow none|soft] [duplex full|duplex half [echo-suppression on|off]] [speed 50|75|110|134|150|200|300|600|1200|1800|2400|4800| 9600|19200|38400|57600|115200|230400|28800|custom <baud_rate>]

Options eia-232 | eia422 | 485

Specifies the type of line that is being used with the IOLAN. Select either EIA-232, EIA-422, or EIA-485 (TS2 supports only EIA-232).

Specifies whether the RS-232 signal DCD (Data Carrier Detect) should be monitored. This is used with modems or any other device that sends a DCD signal. When it is monitored and the IOLAN detects a DCD signal, the line service is started. Default is Off. If both Monitor DCD and Monitor DSR are enabled, both signals must be detected before the line service is started.

Specifies whether the RS-232 signal DSR (data set ready) should be monitored. This is used with modems or any device that sends a DSR signal. When it is monitored and the IOLAN detects a DSR signal, the line service is started. Default is Off. If both Monitor DCD and Monitor DSR are enabled, both signals must be detected before the line service is started.

Defines whether the data flow is handled by the software (Soft), hardware (Hard), Both, or None.

Used with a EIA-485 serial interface, if your application supports RTS (Request To Send), select this option. Otherwise, select Auto. Default is Auto.

Show 6 more labels / short text on this page
Line Commands · discard-characters-in-error · monitor-dcd · monitor-dsr · flow · tx-driver-control
Page 41 of the Perle Systems DS1 user manual — Set Line Service
Page 41 · click to enlarge
Page 41

Specify whether the line is Full Duplex (communication both ways at the same time) or Half Duplex (communication in one direction at a time).

This parameter applies only to EIA-485 Half Duplex mode. All characters will be echoed to the user and transmitted across the serial ports. Some EIA-485 applications require local echo to be enabled in order to monitor the loopback data to determine that line contention has occurred. If your application cannot handle loopback data, echo suppression should be On. The default is echo suppression Off.

Specifies the baud rate of the line; keep in mind that speed is affected by the length of the cable. You can also specify a custom baud rate; valid values are 50 - 1843200.

Set Line Service

Description Sets the service for the line. For services that need further configuration, see Line

Service Commands to find the Line Service that you want to configure. User Level Admin Syntax set line .|<number>|* service bidir <config_host> <server_port>

set line .|<number>|* service direct raw <config_host>

set line .|<number>|* service silent raw <config_host>

<host_port> [multihost all|backup <config_backup_host> <host_port>|none]

set line .|<number>|* service direct|silent telnet <config_host>

set line .|<number>|* service reverse raw [multihost

on|off]|telnet <server_port>

set line .|<number>|* service client-tunnel <config_host>

set line .|<number>|* service server-tunnel <server_port>

set line .|<number>|* service dslogin|udp|vmodem|modbus-master|

set line .|<number>|* service trueport client-initiated off

<config_host> <host_port> [signal-active on|off] [multihost all|backup <config_backup_host> <host_port>|none]

set line .|<number>|* service trueport client-initiated on

<server_port> [signal-active on|off] [multihost on|off]

Options bidir This service allows the IOLAN to listen for incoming TCP connection and if needed, initiate a TCP connection.

The name of the target host. The host must exist in the IOLAN host table.

Show 10 more labels / short text on this page
Line Commands · duplex · echo-suppression · speed · <host_port> · <host_port> · [<host_port>] · <host_port> · modbus-slave|custom-app · <config_host>
Page 42 of the Perle Systems DS1 user manual — Set Line Service
Page 42 · click to enlarge
Page 42

The IOLAN port number.

The port number the target host is listening on for incoming connections.

direct Direct connections bypass the IOLAN, enabling the user to log straight into a specific host. A direct connection is recommended where a user logging in to the IOLAN is not required. It is also recommended where multiple sessions are not a requirement. The message Press return to continue is displayed on the users screen. The user must press a key to display the host login prompt. The message is redisplayed on logout.

silent Silent connections are the same as direct connections, except they are permanently established. The host login prompt is displayed on the screen. Logging out redisplays this prompt. Silent connections, unlike direct connections, however, make permanent use of pseudo tty resources and therefore consume host resources even when not in use.

raw Creates a connection where no authentication takes place and data is passed unchanged.

telnet Sets the line for a telnet connection.

Enables a TCP/IP host to establish a login connection on an external machine attached to a port. For example, to access machines like protocol converters, statistical multiplexors, or machines like routers, firewalls, servers, etc.

The default connection. The IOLAN displays a login on that line. For example, DSLogin is used when a System Administrator configures the IOLAN or users starts a session(s) from the IOLAN to hosts.

Sets the line to listen for and/or send UDP data.

The IOLAN port behaves as if it were a modem to the attached device.

Sets the line for a client tunnel connection.

Sets the line for a server tunnel connection.

Sets the line to act as a Modbus master.

Sets the line to use the custom application created with the SDK.

trueport Sets the line to communicate with the TruePort utility. You must install the TruePort utility on the host machine.

Show 11 more labels / short text on this page
Line Commands · <server_port> · <host_port> · reverse · dslogin · udp · vmodem · client-tunnel · server-tunnel · modbus-master · custom-app
Page 43 of the Perle Systems DS1 user manual — Set Modem
Page 43 · click to enlarge
Page 43

client-initiated When this option is turned on, the IOLAN will wait for a connection from the TruePort host (see the TruePort documentation for information on how to set up this feature on the TruePort host). When this option is turned off, the IOLAN will initiate the connection to the TruePort host. The default is off.

This option has the following impact based on the state of the TruePort connection:

z TruePort Lite Mode—When enabled, the EIA-232 signals remain active before, during, and after the TruePort connection is established. When disabled, the EIA-232 signals remain inactive when there is no TruePort connection and active when there is a TruePort connection.

z TruePort Full Mode—When enabled, the EIA-232 signals remain active before and after the TruePort connection and the TruePort client will control the state of the signals during the established TruePort connection. When disabled, the EIA-232 signals remain inactive before and after the TruePort connection and the TruePort client will control the state of the signals during the established TruePort connection. Default: Enabled

multihost Used for connections coming from the network to the serial port for TruePort or Raw services, allows multiple hosts to connect to the serial device.

multihost all|backup <config_backup_host> <tcp_port>|none Used for connections going from the serial port to the network for TruePort or Silent Raw services, allows the serial device to communicate to either all the hosts in the multihost list or a primary/backup host schema (see Configuring Multiple Hosts in the IOLAN User’s Guide for a more detailed explanation).

Set Modem

Description Sets the modem initialization string for a modem defined in the modem table. If you

wish to add a new modem, use the add modem command. User Level Admin Syntax

set modem <modem_name> <init_string>

Options <modem_name>

Predefined modem name.

Specify the initialization string for the modem. This can be up to 60 characters long, but cannot include spaces.

Line Commands · signal-active · <init_string>

Page 44 of the Perle Systems DS1 user manual — Set Custom-App
Page 44 · click to enlarge
Page 44

Set Termtype

Description Sets the terminal type for the current terminal session. term1, term2, and term3 refer to

the user-uploadable custom terminal definitions. If these are not present, the default is wyse60. User Level Restricted, Normal, Admin Syntax

Specifies the type of terminal connected to the line:

z VT320 (specifically supporting VT320-7)

z HP700 (specifically supporting HP700/44)

z Term1, Term2, Term3 (user defined terminals)

Show Line

Description Shows the line settings/information. User Level Admin Syntax

Line Service Commands

Set Custom-App

Description You can create a custom application that can run on a specific serial line in IOLAN

using the Perle SDK. User Level Admin Syntax

set custom-app line .|<number>|* program-command-line <command>

The name of the SDK program executable that has been already been downloaded to the IOLAN, plus any parameters you want to pass to the program. Maximum of 80 characters. Use the shell CLI command as described in the SDK Programmer’s Guide to manage the files that you have downloaded to the IOLAN. For example, using sample outraw program, you would type:

outraw 192.168.2.1:10001 Acct:10001 if you were starting the application on a line.

Show 12 more labels / short text on this page
Line Service Commands · set termtype · [wyse60|vt100|ansi|dumb|tvi925|ibm3151te|vt320|hp700|term1|term2 |term3] · Option wyse60|vt100|ansi|dumb|tvi925|ibm3151te|vt320|hp700|term1|term2|term3 · z Dumb · z WYSE60 · z VT100 · z ANSI · z TVI925 · z IBM3151TE · show line · Options program-command-line
Page 45 of the Perle Systems DS1 user manual — Set Telnet-Client
Page 45 · click to enlarge
Page 45

Set Telnet-Client

Description Configures the Telnet parameters for the specified line. When the IOLAN initiates a

Telnet connection to a host, it is acting as a Telnet client. User Level Normal, Admin Syntax

set telnet-client line .|<number>|* [termtype <terminal_name>]

[line-mode on|off] [map-cr-crlf on|off] [local-echo on|off] [echo <00-7f>] [eof <00-7f>] [erase <00-7f>] [intr <00-7f>] [quit <00-7f>] [escape <00-7f]

Type of terminal attached to this line; for example, ANSI or WYSE60.

When On, keyboard input is not sent to the remote host until Enter is pressed, otherwise input is sent every time a key is pressed. Default is Off.

Maps carriage returns (CR) to carriage return line feed (CRLF). The default value is Off.

Toggles between local echo of entered characters and suppressing local echo. Local echo is used for normal processing, while suppressing the echo is convenient for entering text that should not be displayed on the screen, such as passwords. This parameter can only be used when Line Mode is On. Default is Off.

Defines the echo character. When Line Mode is On, typing the echo character echoes the text locally and sends only completed lines to the host. This value is in hexadecimal with a default value of 5 (ASCII value ^E).

Defines the end-of-file character. When Line Mode is On, entering the eof character as the first character on a line sends the character to the remote host. This value is in hexadecimal with a default value of 4 (ASCII value ^D).

Defines the erase character. When Line Mode is Off, typing the erase character erases one character. This value is in hexadecimal with a default value of 8 (ASCII value ^H).

Defines the interrupt character. Typing the interrupt character interrupts the current process. This value is in hexadecimal with a default value of 3 (ASCII value ^C).

Defines the quit character. Typing the quit character closes and exits the current telnet session. This value is in hexadecimal with a default value of 1c (ASCII value FS).

Defines the escape character. Returns you to the command line mode. This value is in hexadecimal with a default value of 1d (ASCII value GS).

Show 11 more labels / short text on this page
Line Service Commands · Options termtype · line-mode · map-cr-crlf · local-echo · echo · eof · erase · intr · quit · escape
Page 46 of the Perle Systems DS1 user manual — Set UDP
Page 46 · click to enlarge
Page 46

Set UDP

Description Configures the UDP settings for the serial line. User Level Normal, Admin Syntax

set udp line .|<number>|* entry 1|2|3|4

both auto-learn|specific <UDP_port> [<start_IP_address>] [<end_IP_address>]

set udp line .|<number>|* entry 1|2|3|4 in

any-port|auto-learn|specific <UDP_port> [<start_IP_address>] [<end_IP_address>]

set udp line .|<number>|* entry 1|2|3|4 out <UDP_port>

[<start_IP_address>] [<end_IP_address>]

set udp line .|<number>|* entry 1|2|3|4 none

Selects which of the 4 available entries we wish to define/modify. For each entry the user can specify a different IP address range, UDP port and direction of data flow.

The direction in which information is received or relayed:

z None—UDP service not enabled.

z In—LAN to serial.

z Out—Serial to LAN.

z Both—Messages are relayed both directions.

The IOLAN will only listen to the first port that it receives a UDP packet from. Applicable when set to In or Both.

The IOLAN will receive messages from any port sending UDP packets. Applicable when set to In.

The port that the IOLAN will use to relay messages to servers/hosts or the port from which the IOLANN will receive messages to be forwarded to the serial port. This option works with any setting except None. The IOLAN will listen for UDP packets on the port configured by the DS Port parameter.

The port that the IOLAN will use to relay messages to servers/hosts. The IOLAN will listen for UDP packets on the port configured by the DS Port parameter.

The first host IP address in the range of IP addresses (for IPV4 or IPV6) that the IOLAN will listen for messages from and/or send messages to.

The last host IP address in the range of IP addresses (for IPV4, not required for IPV6) that the IOLAN will listen for messages from and/or send messages to.

Show 9 more labels / short text on this page
Line Service Commands · Options entry 1|2|3|4 · both|in|out|none · auto-learn · any-port · specific · <outbound_port> · <start_ip_address> · <end_ip_address>
Page 47 of the Perle Systems DS1 user manual — Set Vmodem
Page 47 · click to enlarge
Page 47

Set Vmodem

Description This command associates a phone number with an IP address and TCP port. This

enables an existing modem application to issue a dial command with a phone number. The phone number will be searched in this table and if an exact match is found, the associated IP address and TCP port will be used to establish the connection. User Level Admin Syntax set vmodem line .|<number>|* [echo on|off]

[failure-string <string>] [host <config_host>] [init-string <string>] [mode auto|manual] [port <TCP_port>|0] [respons-delay <time_ms>] [signals dcd always-high|follow-connection] [signals dtr always-high|represent-dcd|represent-ri] [signals rts always-high|represent-dcd|represent-ri] [style numeric|verbose] [success-string <string>] [suppress on|off]

When enabled, echoes back characters that are typed in (equivalent to ATE0/ATE1 commands). Disabled by default.

String that is sent to the serial device when a connection fails. If no string is entered, then the string NO CARRIER will be sent.

The target host name.

You can specify additional vmodem commands that will affect how vmodem starts. The following commands are supported: ATQn, ATVn, ATEn, ATS0, AT&Z1, AT&Sn, AT&Rn, AT&Cn, AT&F, ATS2, ATS12, and ATDS1.

See VModem Initialisation Commands in the IOLAN User’s Guide for a more detailed explanation of the support initialization commands.

mode Auto mode establishes the connection when the line becomes active. You must supply the AT command or phone number that will start the connection; see Set Vmodem-Phone in the IOLAN User’s Guide for the command parameters to set the AT command or phone number. port

The amount of time, in milliseconds, before an AT response is sent to the requesting device. The default is 250 ms.

The port number the target host is listening on for messages.

signals dcd Controls the state of the DCD signal.

always-high = DCD signal will always stay high.

follow-connection = DCD signal will be high when an end to end connection is established and low when it is not. Since the IOLAN does not have a physical DCD pin, you need to re-map the DTR or RTS signal to DCD to have the signal present. (see next option).

Show 6 more labels / short text on this page
Line Service Commands · Options echo · failure-string · host · init-string · response-delay
Page 48 of the Perle Systems DS1 user manual — Set Vmodem-Phone
Page 48 · click to enlarge
Page 48

You can specify how the DTR signal pin acts during your modem application connection, as itself (DTR), as DCD, or as RI.

You can specify how the RTS signal pin acts during your modem application connection, as itself (RTS), as DCD, or as RI.

One of the following:

z Verbose—Return codes (strings) are sent to the connected device.

z Numeric—The following characters can be sent to the connected device: 0 OK

1 CONNECTED

2 RING

3 NO CARRIER

4 ERROR

6 ITERFACE DOWN

7 CONNECTION REFUSED

8 NO LISTNER

String that is sent to the serial device when a connection succeeds. If no string is entered, then the string CONNECT will be sent with the connecting speed, for example CONNECT 9600.

If set to No, connection success/failure indication strings are sent to the connected device, otherwise these indications are suppressed.

Set Vmodem-Phone

Description This command associates a phone number with an IP address and TCP port. This

enables the existing modem application to issue a dial command with a phone number. The phone number will be searched in this table and if an exact match is found, the associated IP address and TCP port will be used to establish the connection. This is a universal command, meaning that all VModem lines will have access to the entries defined here. 1-port models support up to 4 entries, all other desktop models support up to 8 entries, and rack-mount models support up to 48 entries. User Level Admin Syntax set vmodem-phone entry <number> phone-number <string>

[<ip_address <number>|host

set vmodem-phone entry <number> delete

Options entry Specify the entry number in the vmodem phone number table.

Specify the phone number that your application uses to connect to remote location. Enter the number exactly as it is issued by your application.

Show 7 more labels / short text on this page
Line Service Commands · signals dtr · signals rts · style · success-string · suppress · phone-number
Page 49 of the Perle Systems DS1 user manual — Set Modbus-Master Line
Page 49 · click to enlarge
Page 49

Specify the IP address of the remote host that is receiving the vmodem connection.

Select the hostname (from the host table) of the remote host that is receiving the vmodem connection.

Specify the TCP port that the remote host is listening on for the vmodem connection.

delete Deletes the specified entry from the phone number table.

Set Modbus-Slave Line

Description Sets the Modbus slave parameters for the line. User Level Admin Syntax

set modbus-slave line .|<number>|* [crlf on|off]

[protocol rtu|ascii] [uid-range <uid_range>]

When Modbus/ASCII is selected, adds a CR/LF to the end of the transmission; most Modbus devices require this option. The default is On.

Specify the protocol that is used between the Modbus Master(s) and Modbus Slave(s), either RTU or ASCII.

You can specify a range of UIDs (1-247), in addition to individual UIDs. The format is comma delimited; for example, 2-35, 50, 100-103.

Set Modbus-Master Line

Description Sets the Modbus master parameters for the line. User Level Admin Syntax set modbus-master line .|<number>|* [crlf on|off]

[protocol rtu|ascii] [[entry <number> [port <port>] [protocol udp|tcp] [range-mode gateway|host] [slave-ip <IP_address>] [uid-range <start_uid> <end_uid>]]

When Modbus/ASCII is selected, adds a CR/LF to the end of the transmission; most Modbus devices require this option. The default is On.

Specify the protocol that is used between the Modbus Master(s) and Modbus Slave(s), either RTU or ASCII.

You can specify up to 16 Modbus Slave Remote IP Mapping entries (the UIDs must not overlap).

Show 10 more labels / short text on this page
Line Service Commands · <ip_address> · <host> · <port> · Options crlf · protocol · uid-range · Options crlf · protocol · entry
Page 50 of the Perle Systems DS1 user manual — Set Line Initiate-Connection
Page 50 · click to enlarge
Page 50

The destination port of the remote Modbus TCP Slave that the IOLAN will connect to.

Specify the protocol that is used between the Modbus Master and Modbus Slave(s), either TCP or UDP.

If you specify Host, the IP address is used for the first UID specified in the range. The last octect in the IPv4 address is then incremented for subsequent UID’s in that range. The Host option is not applicable for IPv6 addresses. If you specify Gateway, the Modbus Master Gateway will use the same IP address when connecting to all the remote Modbus slaves in the specified UID range.

The IP address of the TCP/Ethernet Modbus Slave.

When Range Mode is Host and you have sequential Modbus Slave IP addresses (for example, 10.10.10.1, 10.10.10.2, 10.10.10.3, etc.), you can specify a UID range and the IOLAN will automatically increment the last digit of the configured IP address. Therefore, you can specify a UID range of 1-100, and the IOLAN will route Master Modbus messages to all Modbus Slaves with IP addresses of 10.10.10.1 - 10.10.10.100.

Set Multihost Line

Description Configures multiple hosts or a primary/backup host schema for Silent Raw, Reverse

Raw, or Client-Initiated TruePort service types (multihost must be enabled by the line service type for this to take effect, see Set Line Service for the command to enable multihost). User Level Admin Syntax

set multihost line <number> entry <number> host <host> <TCP_port>

set multihost line <number> entry <number> delete

Options entry You can specify up to 100 hosts in the multihost table.

host <host>

Specify the preconfigured host that will be in the multihost list.

Specify the TCP port that the IOLAN will use to communicate to the Host.

delete Deletes the specified entry from the multihost table.

Set Line Initiate-Connection

Description Determines how the connection is initiated for Direct Telnet. User Level Admin Syntax set line <number>|* initiate-connection

any-char|specific-char <hex> Options any-char

Initiates a connection to the specified host when any data is received by the serial port.

Show 7 more labels / short text on this page
Line Service Commands · port · protocol · range-mode · slave-ip · uid-range · <TCP_port>
Page 51 of the Perle Systems DS1 user manual — Show Vmodem-Phone
Page 51 · click to enlarge
Page 51

specific-char <hex>

Initiates a connection to the specified host only when the specified character is received by the serial port.

Show Custom-App

Description Shows the custom application line settings. User Level Admin Syntax

show custom-app line .|<number>|*

Show Interface

Description Shows the network interface information. User Level Admin Syntax

Show Modbus

Description Shows the Modbus settings for a line. User Level Admin Syntax

show modbus master|slave <number>

Show Telnet-Client

Description Shows the telnet client settings for a line. User Level Admin Syntax

Show UDP

Description Shows the UDP settings for the line. User Level Admin Syntax

Show Vmodem

Description Show the vmodem settings for the line. User Level Admin Syntax

Show Vmodem-Phone

Description Show the vmodem-phone entries. User Level Admin Syntax

Show 6 more labels / short text on this page
Line Service Commands · show interface [brief|ethernet] · show telnet-client · show udp · show vmodem · show vmodem-phone
Page 52 of the Perle Systems DS1 user manual — Show Modems
Page 52 · click to enlarge
Page 52

Modem Commands

Add Modem

Description Adds a modem. User Level Admin Syntax Options <modem_name>

add modem <modem_name> <initialization_string>

The name of the modem. Do not use spaces.

The initialisation string of the modem; see your modem’s documentation.

Delete Modem

Description Deletes a modem. User Level Admin Syntax Option <config_modem_name>

delete modem <config_modem_name>

You can see a the list of modems that can be deleted by typing delete modem ?.

Show Modems

Description Shows the IOLAN modem table. User Level Normal, Admin Syntax

Modem Commands · <initialization_string> · show modems

Page 53 of the Perle Systems DS1 user manual — Set Packet-Forwarding Line
Page 53 · click to enlarge
Page 53

Packet Forwarding Commands

Set Packet-Forwarding Line

Description The Packet Forwarding feature allows you to control how the data coming from a serial

device is packetized before forwarding the packet onto the LAN network. This command configures packet forwarding options for serial devices attached to the serial line. The command is broken up into logical flows that can be configured; if you configure both the packet options and the frame definition options, the frame definition options will take precedence. If any of the packet options that are configured are met, the packet transmission is triggered. User Level Admin Syntax set packet-forwarding line <number>|* mode minimize-latency

set packet-forwarding line <number>|* mode

set packet-forwarding line <number>|* mode

set packet-forwarding line <number>|*

mode custom-on-specific-events [enable-end-trigger1 on|off] [enable-end-trigger2 on|off] [end-trigger1 <0x0-FF>] [end-trigger2 <0x0-FF>] [force-transmit-timer <number>] [forwarding-rule trigger1|trigger+1|trigger+2|strip-trigger] [idle-timer <number>] [packet-size <number>]

set packet-forwarding line <number>|*

mode custom-on-frame-definition [enable-eof1 on|off] [enable-eof2 on|off] [enable-sof1 on|off] [enable-sof2 on|off] [eof1 <0x0-FF>] [eof2 <0x0-FF>] [forwarding-rule trigger|trigger+1|trigger+2|strip-trigger] [sof1 <0x0-FF>] [sof2 <0x0-FF>] [start-frame-transmit on|off]

This option ensures that any data received on the serial port will immediately be forwarded to the LAN. Select this option for timing-sensitive applications.

This option provides optimal network usage while ensuring that the application performance is not compromised. Select this option when you want to minimize overall packet count, such as when the connection is over a WAN.

This option detects the message, packet, or data blocking characteristics of the serial data and preserves it throughout the communication. Select this option for message-based applications or serial devices that are sensitive to inter-character delays within these messages.

The minimum time, in milliseconds, between messages that must pass before the data is forwarded by the IOLAN. The range is 0-65535. The default is 250 ms.

Show 7 more labels / short text on this page
Packet Forwarding Commands · optimize-network-throughput · prevent-message-fragmentation delay-between-messages <0-65535> · Options minimize-latency · optimize-network-throughput · prevent-message-fragmentation · delay-between-messages
Page 54 of the Perle Systems DS1 user manual — Packet Forwarding Commands
Page 54 · click to enlarge
Page 54

This section allows you to set a variety of packet definition options. The first criteria that is met causes the packet to be transmitted. For example, if you set a Force Transmit Timer of 1000 ms and a Packet Size of 100 bytes, whichever criteria is met first is what will cause the packet to be transmitted.

This section allows you to control the frame that is transmitted by defining the start and end of frame character(s). If the internal buffer (1024 bytes) is full before the EOF character(s) are received, the packet will be transmitted and the EOF character(s) search will continue. The default frame definition is SOF=00 and EOF=00.

Enable or disable the end trigger1 hex character.

Enable or disable the end trigger2 hex character.

Enable or disable the eof1 (end of frame) hex character.

Enable or disable the eof2 (end of frame) hex character.

Enable or disable the sof1 (start of frame) hex character.

Enable or disable the sof2 (start of frame) hex character.

When enabled, specifies the character that when received will define when the packet is ready for transmission. The transmission of the packet is based on the Trigger Forwarding Rule. Valid values are in hex 0-FF. The default is 0.

When enabled, creates a sequence of characters that must be received to specify when the packet is ready for transmission (if the End Trigger1 character is not immediately followed by the End Trigger2 character, the IOLAN waits for another End Trigger1 character to start the End Trigger1/End Trigger2 character sequence). The transmission of the packet is based on the Trigger Forwarding Rule. Valid values are in hex 0-FF. The default is 0.

Specifies the End of Frame character, which defines when the frame is ready to be transmitted. The transmission of the frame is based on the Trigger Forwarding Rule. Valid values are in hex 0-FF. The default is 0.

When enabled, creates a sequence of characters that must be received to define the end of the frame (if the EOF1 character is not immediately followed by the EOF2 character, the IOLAN waits for another EOF1 character to start the EOF1/EOF2 character sequence), which defines when the frame is ready to be transmitted. The transmission of the frame is based on the Trigger Forwarding Rule. Valid values are in hex 0-FF. The default is 0.

Show 13 more labels / short text on this page
Packet Forwarding Commands · custom-on-specific-events · custom-on-frame-definition · enable-end-trigger1 · enable-end-trigger2 · enable-end-eof1 · enable-end-eof2 · enable-end-sof1 · enable-end-sof2 · end-trigger1 · end-trigger2 · eof1 · eof2
Page 55 of the Perle Systems DS1 user manual — Show Packet-Forwarding Line
Page 55 · click to enlarge
Page 55

When the specified amount of time, in milliseconds, elapses after the first character is received from the serial port, the packet is transmitted. After a packet is transmitted, the next character received starts the timer again. A value of zero (0) ignores this parameter. Valid values are 0-65535 ms. The default is 0.

Determines what is included in the Frame (based on the EOF1 or EOF1/EOF2) or Packet (based on Trigger1 or Trigger1/Trigger2). Choose one of the following options:

z Strip-Trigger—Strips out the EOF1, EOF1/EOF2, Trigger1, or Trigger1/Trigger2, depending on your settings.

z Trigger—Includes the EOF1, EOF1/EOF2, Trigger1, or Trigger1/Trigger2, depending on your settings.

z Trigger+1—Includes the EOF1, EOF1/EOF2, Trigger1, or Trigger1/Trigger2, depending on your settings, plus the first byte that follows the trigger.

z Trigger+2—Includes the EOF1, EOF1/EOF2, Trigger1, or Trigger1/Trigger2, depending on your settings, plus the next two bytes received after the trigger.

The amount of time, in milliseconds, that must elapse between characters before the packet is transmitted to the network. A value of zero (0) ignores this parameter. Valid values are 0-65535 ms. The default is 0.

The number of byte that must be received from the serial port before the packet is transmitted to the network. A value of zero (0) ignores this parameter. Valid values are 0-1024 bytes. The default is 0.

When enabled, the Start of Frame character defines the first character of the frame, any character(s) received before the Start of Frame character is ignored. Valid values are in hex 0-FF. The default is 0.

When enabled, creates a sequence of characters that must be received to create the start of the frame (if the SOF1 character is not immediately followed by the SOF2 character, the IOLAN waits for another SOF1 character to start the SOF1/SOF2 character sequence). Valid values are in hex 0-FF. The default is 0.

When enabled, the SOF1 or SOF1/SOF2 characters will be transmitted with the frame. If not enabled, the SOF1 or SOF1/SOF2 characters will be stripped from the transmission.

Show Packet-Forwarding Line

Description Shows the packet-forwarding settings for the line. User Level Admin Syntax

show packet-forwarding line [<number>]

Show 8 more labels / short text on this page
Packet Forwarding Commands · force-transmit-timer · forwarding-rule · idle-timer · packet-size · sof1 · sof2 · start-frame-transmit
Page 56 of the Perle Systems DS1 user manual — Add Trap
Page 56 · click to enlarge
Page 56

Network Commands Chapter 5 5

This chapter defines all the CLI commands associated with configuring the IOLAN’s network parameters.

SNMP Commands

The IOLAN supports SNMP traps for restart and SNMP community authentication error.

Add Community

Description Adds an SNMP community (version 1 and version 2). User Level Admin Syntax

add community <community_name> <config_host>|<ip_address>

Options <community_name>

A name that will be sent to the IOLAN from an SNMP manager. This name will define the permissions of the manager.

<config_host>|<ip_address>

The host name of the SNMP community that will send requests to the IOLAN.

The IPv4 or IPv6 address of the SNMP manager that will send requests to the IOLAN. If the address is 0.0.0.0, any SNMP manager with the Community Name can access the IOLAN. If you specify a network address, for example 172.16.0.0, any SNMP manager within the local network with the Community Name can access the IOLAN.

Permits the IOLAN to respond to SNMP requests by:

z None—There is no response to requests from SNMP.

z Readonly—Responds only to Read requests from SNMP.

z Readwrite—Responds to both Read and Write requests from SNMP.

Add Trap

Description Adds an SNMP host to which trap messages will be sent. User Level Admin Syntax add trap <community> <config_host>|<ip_address> <version> <type>

Options <community>

This is the community name associated with this trap. The host who will receive the traps must belong to the same SNMP community.

IOLAN DS1/TS2 CLI Reference Guide, Version 4.5 57

none|readonly|readwrite · none|readonly|readwrite

Page 57 of the Perle Systems DS1 user manual — Set SNMP
Page 57 · click to enlarge
Page 57

<config_host>|<ip_address>

Defines the hosts (by IPv4 or IPv6 address) that will receive trap messages generated by the IOLAN. Up to four trap hosts can be defined.

Select the version of trap you want the IOLAN to send. Valid options are v1, v2c or v3.

Select between trap or inform. Inform requires the receiving host to acknowledge receipt of the trap.

Delete Community

Description Deletes an SNMP community (version 1 and version 2). User Level Admin Syntax Option <config_community_number>

delete community <config_community_number>

When you add an SNMP community, it gets assigned to a number. To delete the SNMP community, you need to specify the number of the community that you want to delete. To see which community is assigned to what number, type the show snmp command.

Delete Trap

Description Deletes an SNMP trap host. User Level Admin Syntax Option <config_trap_number>

delete trap <config_trap_number>

When you add an SNMP trap host, it gets assigned to a number. To delete the SNMP trap host, you need to specify the number of the trap that you want to delete. To see which trap host is assigned to what number, type the show snmp command.

Set SNMP

Description Configures SNMP settings. User Level Admin Syntax

set snmp [contact <string>] [location <string>]

[readonly user <username>] [readwrite user <username>][trap user <username>]

The name and contract information of the person who manages this SMNP node.

The physical location of the SNMP node.

Specifies the name of the read only user.

Specifies the name of the read/write user.

Specify the name of the trap user.

Show 8 more labels / short text on this page
SNMP Commands · <version> · <type> · Options contact · location · readonly user · readwrite user · trap user
Page 58 of the Perle Systems DS1 user manual — Show SNMP
Page 58 · click to enlarge
Page 58

Set SNMP engine-id-string

Description Configures SNMP v3 Engine ID. User Level Admin Syntax

set snmp engine-id-string <string>

The string entered in this field will be combined with the defined string in hex of 800007AE04 to form the engine id. Ensure each string is unique for each IOLAN. The default engine id uses the MAC address of the Ethernet interface to ensure that the engine id is unique to this agent. To set the engine id back to the default, enter a null string .

Set SNMP inform-timeout

Description Configures SNMP inform traps timeout value. User Level Admin Syntax

set snmp inform-timeout <number>

This is the length of time in seconds, that the IOLAN will wait for the acknowledgement of the trap. If no ACK is received within this timeframe, the trap will be re-sent. The default is 1 second.

Set SNMP inform-retries

Description Configures SNMP inform traps number of retires. User Level Admin Syntax

set snmp inform-retires <number>

This is the number of times the IOLAN will resend a trap which has not been acknowledged by the receiving end. Once the retries count is exhausted, no further attempts will be made to deliver the trap. The default is 3 retries.

Show SNMP

Description Shows SNMP settings, including communities and traps. User Level Admin Syntax

Show 5 more labels / short text on this page
SNMP Commands · Options string · Options number · Options number · show snmp
Page 59 of the Perle Systems DS1 user manual — Set Host
Page 59 · click to enlarge
Page 59

TFTP Commands

Set Server TFTP

Description Configures the IOLANs TFTP client settings. User Level Admin Syntax Options retry

set server tftp [retry <integer>] [timeout <integer>]

The number of times the IOLAN will attempt to transfer (using TFTP) a file to/from a host. Enter a value between 0 and 5. The default is 5. A value of 0 (zero) means that the IOLAN will not attempt a retry should TFTP fail.

The time, in seconds, that the IOLAN will wait for a successful transmit or receipt of TFTP packets before retrying a TFTP transfer. Enter a value between 3 and 10. The default is 3 seconds.

Hosts Commands

Add Host

Description Adds a host to the IOLAN . User Level Admin Syntax Options <hostname>

add host <hostname> <ip_address>

The name of the host.

The host IPv4 or IPv6 address.

Delete Host

Description Deletes a host from the IOLAN host table. User Level Admin Syntax Option <config_host>

delete host <config_host>

You can see a list of hosts that can be deleted by typing delete host ?.

Set Host

Description Configures a host in the IOLAN host table. User Level Admin Syntax Options <config_host>

set host <config_host> <ip_address>

The name of the host.

The host IPv4 or IPv6 address.

Show 4 more labels / short text on this page
TFTP Commands · timeout · <ip_address> · <ip_address>
Page 60 of the Perle Systems DS1 user manual — Delete Gateway
Page 60 · click to enlarge
Page 60

Show Hosts

Description Shows the IOLAN host table. User Level Normal, Admin Syntax

Gateway Commands

Add Gateway

Description Adds a gateway. You can configure up to twenty gateways. User Level Admin Syntax

add gateway <config_host> default

add gateway <config_host> host <dest_IP_addr>

add gateway <config_host> network

<dest_IPv4_addr>|<dest_IPv6_addr> [<subnet_bits_0-32>|<subnet_bits_0-128>]

Options <config_host>

You can specify up to twenty hosts to act as gateways in your network. Each gateway host must be defined in the IOLAN host table.

Specify the type of gateway:

z Default—A gateway which provides general access beyond your local network.

z Host—A gateway reserved for accessing a specific host external to your local network.

z Network—A gateway reserved for accessing a specific network external to your local network.

When the gateway is a Host or Network gateway, you must specify the IPv4 or IPv6 address of the target host machine/network.

When the gateway is a Network gateway, you must specify the network’s subnet mask.

Delete Gateway

Description Deletes a gateway. User Level Admin Syntax Option <config_gateway_host>

delete gateway <config_gateway_host>

You can view the configured gateways that can be deleted by typing delete gateway ?.

Show 5 more labels / short text on this page
Gateway Commands · show hosts · default|host|network · <dest_IP_addr> · <subnet_bits>
Page 61 of the Perle Systems DS1 user manual — Show Gateways
Page 61 · click to enlarge
Page 61

Set Gateway

Description Configures the gateway. User Level Admin Syntax

set gateway <config_gateway_host> default

set gateway <config_gateway_host> host <destination_ip>

set gateway <config_gateway_host>

network <dest_IPv4_addr>|<dest_IPv6_address> <prefixbits_mask>|

Options <config_gateway_host>

You can view the configured gateways that can be deleted by typing delete gateway ?.

Specify the type of gateway:

z Default—A gateway which provides general access beyond your local network.

z Host—A gateway reserved for accessing a specific host external to your local network.

z Network—A gateway reserved for accessing a specific network external to your local network.

When the gateway is a Host or Network gateway, you must specify the IPv4 or IPv6 address of the target host machine/network.

When the gateway is a Network gateway, you must specify the network’s subnet mask for an IPv4 destination IP address (the address is in the form of 123.123.123.123) or prefix bits for an IPv6 destination IP address (valid values are 0-128).

Show Gateways

Description Shows configured gateways. User Level Normal, Admin Syntax

Show 5 more labels / short text on this page
Gateway Commands · default|host|network · <destination_ip> · <prefixbits_mask> · show gateways
Page 62 of the Perle Systems DS1 user manual — Show Syslog
Page 62 · click to enlarge
Page 62

Logging Commands

Set Syslog

Description Configures the system log. User Level Admin Syntax

[level emergency|alert|critical|error|warning|notice|info|debug] [primary-host <config_host>] [secondary-host <config_host>]

Choose the event level that triggers a syslog entry:

z Debug When you select a Level, all the levels that appear above it in the list also trigger a syslog entry. For example, if you select Error, all Error, Critical, Alert, and Emergency events will be logged.

The first preconfigured host that the IOLAN will attempt to send system log messages to; messages will be displayed on the host’s monitor.

If the IOLAN cannot communicate with the primary host, then the IOLAN will attempt to send system log messages to this preconfigured host; messages will be displayed on the host’s monitor.

Show Syslog

Description Shows the syslog settings. User Level Admin Syntax

Show 13 more labels / short text on this page
Logging Commands · set syslog · Options level · z Emergency · z Alert · z Critical · z Error · z Warning · z Notice · z Info · primary-host · secondary-host · show syslog
Page 63 of the Perle Systems DS1 user manual — Set Time
Page 63 · click to enlarge
Page 63

Time Commands Chapter 6 6

This chapter defines all the CLI commands associated with configuring the IOLAN’s time parameters.

Time Commands

Set Time

Description Sets the IOLAN’s system clock. User Level Admin Syntax Option <hh:mm[:ss]>

set time < hhmm [: ss ]>

Sets the IOLAN’s system time, using military time format.

Show Time

Description Shows the IOLAN system clock. User Level Normal, Admin Syntax

Time/Date Setting Commands

Set Date

Description Sets the IOLAN’s system clock. User Level Admin Syntax

set date <dd/mm/yyyy>

Set Time

Description Sets the IOLAN’s system clock. User Level Admin Syntax Option <hh:mm[:ss]>

set time < hhmm [: ss ]>

Sets the IOLAN’s system time, using military time format.

IOLAN DS1/TS2 CLI Reference Guide, Version 4.5 64

show time · b

Page 64 of the Perle Systems DS1 user manual — Show Time
Page 64 · click to enlarge
Page 64

Show Date

Description Shows the date, according to the IOLAN system clock. User Level Normal, Admin Syntax

Show Time

Description Shows the IOLAN’s system clock. User Level Normal, Admin Syntax

Time/Date Setting Commands · show date · show time

Page 65 of the Perle Systems DS1 user manual — Save
Page 65 · click to enlarge
Page 65

Administration Commands Chapter 7 7

This chapter defines all the CLI commands associated with configuring the IOLAN’s administration parameters.

Bootup Commands

Reboot

Description Reboots the IOLAN. You will be prompted to save configuration to FLASH, if there

have been unsaved configuration changes. User Level Admin Syntax

Reset

Description Resets the user profile or serial line to the default factory configuration. User Level Admin Syntax

reset user .|<username>|*

Reset Factory

Description Resets the IOLAN to the factory configuration. User Level Admin Syntax

Save

Description Saves the configuration to FLASH. User Level Admin Syntax

IOLAN DS1/TS2 CLI Reference Guide, Version 4.5 66

Show 4 more labels / short text on this page
reboot · reset line · reset factory · save
Page 66 of the Perle Systems DS1 user manual — Show Bootup
Page 66 · click to enlarge
Page 66

Set Bootup

Description Specifies remote the TFTP host and pathname for files to be loaded after a IOLAN

reboot. User Level Admin Syntax

set bootup firmware host <hostname> [file <path_filename>]

set bootup configuration host <hostname> [file <path_filename>]

The path and file name (do not use a drive letter), relative to the default path of your TFTP server software, of the update software for the IOLAN that will be loaded when the IOLAN is rebooted.

The path and file name (do not use a drive letter), relative to the default path of your TFTP server software, of the configuration software for the IOLAN that will be loaded when the IOLAN is rebooted.

The host name or IPv4/IPv6 address of the server that contains the configuration or firmware file. If you use a host name, it must exist in the IOLAN’s host table or be resolved by DNS.

Show ARP

Description Shows the current contents of the ARP cache. User Level Admin Syntax

Set cli

Description Allows normal users to execute certain admin commands. User Level Admin Syntax

set cli [elevate-privileges on|off]

Show Bootup

Description Shows the Firmware and Configuration files specified for IOLAN bootup. User Level Admin Syntax

Show 6 more labels / short text on this page
Bootup Commands · Options firmware file · configuration file · host · show arp · show bootup
Page 67 of the Perle Systems DS1 user manual — Netload
Page 67 · click to enlarge
Page 67

TFTP File Transfer Commands

TFTP File Transfer Commands

Netload

Description Transfers a file from a remote host to the IOLAN using the TFTP protocol. User Level Admin Syntax

firmware|configuration| customlang|term1|term2|term3|customapp-file|serialt-buf <hostname/ip_address> <filename>

Options text-config Specify this option if you are uploading a text-based configuration file to the IOLAN from a TFTP server.

Specifies the configuration file that you are going to load from a TFTP server to the IOLAN that will act as the factory default configuration. See the User Guide for directions on how to revert back to the original factory default configuration, if required.

Specifies that you are going to download a new firmware file to the IOLAN.

Specifies that you are going to download a new configuration file to the IOLAN.

Specifies that you are going to download a custom language file to the IOLAN.

You can create and download up to three custom terminal definitions to the IOLAN.

You can download multiple SDK program executables and ancillary files using this command by running the command multiple times to download multiple files. Use the shell CLI command as described in the SDK Programmer’s Guide to manage the files that you download.

Specifies that you are going to download the contents of a serial trace buffer to the IOLAN.

The IP address or host name where the file you are downloading to the IOLAN resides. If you are using a host name, it must be resolved in either the IOLAN’s Host Table or a DNS server.

The complete path and file name (cannot use a drive letter) of the file you are downloading to the IOLAN.

Show 10 more labels / short text on this page
netload text-config|factory-default-config · factory-default-config · firmware · configuration · customlang · term1|term2|term3 · customapp-file · serialt-buf · <hostname/ip_address> · <filename>
Page 68 of the Perle Systems DS1 user manual — Netload
Page 68 · click to enlarge
Page 68

Netsave

Description Transfers a file from the IOLAN to a remote host using the TFTP protocol. User Level Admin Syntax

<hostname/ip_address> <filename>

Specifies that you are going to upload a configuration file from the IOLAN to the specified host or IP address.

Specifies that you are going to upload a crash file from the IOLAN to the specified host or IP address.

Specifies that you are going to upload the contents of a serial trace buffer from the IOLAN to the specified host or IP address.

Saves the current configuration to a text file on a TFTP server.

The IP address or host name for where the file you are uploading from the IOLAN is going. If you are using a host name, it must be resolved in either the IOLAN’s Host Table or a DNS server.

The complete path and file name (cannot use a drive letter) for the file you are uploading from the IOLAN.

Custom Factory Default

Netload

Description Transfers a file from a remote host to the IOLAN using the TFTP protocol. User Level Admin Syntax Options factory-default-config

netload factory-default-config <hostname/IP_address> <filename>

Specifies the configuration file that you are going to load from a TFTP server to the IOLAN that will act as the factory default configuration. See the User Guide for directions on how to revert back to the original factory default configuration, if required.

The IP address or host name where the file you are downloading to the IOLAN resides. If you are using a host name, it must be resolved in either the IOLAN’s Host Table or a DNS server.

The complete path and file name (cannot use a drive letter) of the file you are downloading to the IOLAN.

Show 10 more labels / short text on this page
Custom Factory Default · netsave configuration|crash|serialt-buf|text-config · Options configuration · crash · serialt-buf · text-config · <hostname/ip_address> · <filename> · <hostname/ip_address> · <filename>
Page 69 of the Perle Systems DS1 user manual — Show MOTD
Page 69 · click to enlarge
Page 69

Set

Description Sets the current configuration on IOLAN to act as the factory default configuration. See

the User Guide for directions on how to revert back to the original factory default configuration, if required. User Level Admin Syntax

MOTD Commands

Set MOTD

Description Specifies the server/file that contains the message of the day (MOTD) that is displayed

when users log into the IOLAN. You can also retrieve the MOTD from a local file (it must already be downloaded to the IOLAN using the netload customapp-file command); to do this, do not specify the host parameter. User Level Normal, Admin Syntax

set motd [display on|off] [host <hostname> file <path_filename>]

set motd file

When enabled, displays the Message of the Day to users who are logging into WebManager or EasyPort Web. The default is off.

The host that the IOLAN will be getting the Message of the Day file from.

The path and file name (do not use a drive letter), relative to the default path of your TFTP server software, of the file that contains a string that is displayed when a user connects to the IOLAN.

<local_file> This is the name of a file already downloaded to the IOLAN. The contents of this file will be used for the MOTD.

Show MOTD

Description Show the Message of the Day (MOTD) settings. User Level Admin Syntax

Show 6 more labels / short text on this page
MOTD Commands · set config-to-factory-default · Options display · host · <path_filename> · show motd
Page 70 of the Perle Systems DS1 user manual — Show Modbus Statistics
Page 70 · click to enlarge
Page 70

Statistic Commands Chapter 8 8

This chapter defines all the CLI commands associated with configuring the IOLAN’s statistic parameters.

Configuration Statistics

Show Netstat

Description Shows currently used TCP/UDP sockets/ports. User Level Admin Syntax Options all Displays all ports, including server (listening) ports; by default, listening ports are not displayed.

show netstat [all] [listening] [tcp] [udp] [tcpv6] [updv6]

listening Displays server (listening) ports; by default, listening ports are not displayed.

tcp Displays TCP port statistics.

udp Displays UDP port statistics.

tcpv6 Displays TCPv6 port statistics.

udpv6 Displays UDPv6 port statistics.

Show Modbus Statistics

Description Shows the Modbus statistics. User Level Admin Syntax

show modbus statistics master-tcp line *|<number>

show modbus statistics master-udp line *|<number>

show modbus statistics slave-tcp line *|<number>

show modbus statistics slave-udp line *|<number>

IOLAN DS1/TS2 CLI Reference Guide, Version 4.5 71

Page 71 of the Perle Systems DS1 user manual — Uptime
Page 71 · click to enlarge
Page 71

Show Netstat Statistics

Description Shows protocol (IP/ICMP/TCP/UDP) counters. User Level Admin Syntax

show netstat statistics [ip] [ipv6] [icmp] [icmpv6] [tcp] [udp]

Show Routes

Description Shows current information about IPv4 or IPv6 network routes. User Level Admin Syntax

Run-Time Statistics

Delete Arp

Description Delete entries from the IOLAN's ARP cache. Takes effect immediately; not related to

configuration. User Level Admin Syntax

Show Arp

Description Shows the current contents of the ARP cache. User Level Admin Syntax

Show Serial

Description Shows statistics on the serial port. User Level Admin Syntax

Uptime

Description Displays the elapsed time (in days, hours, minutes, and seconds) since the last

reboot/power cycle. User Level Admin Syntax

Show 7 more labels / short text on this page
Run-Time Statistics · [udp6] · show routes [ipv6] · delete arp · show arp · show serial · uptime
Page 72 of the Perle Systems DS1 user manual — Set IO UDP
Page 72 · click to enlarge
Page 72

I/O Commands Chapter 9 9

This chapter defines all the CLI commands associated with configuring the IOLAN’s I/O parameters.

Global I/O Commands

Set IO UDP

Description Sets the UDP settings for I/O unicast messages. User Level Admin Syntax

set io udp [mode on|off]

[broadcast-interval <broadcast_interval>]

set io udp entry 1|2|3|4 disabled

set io udp entry 1|2|3|4 <udp_port> <start_ip> [<end_ip>]

Enables/disables UDP broadcast of I/O channel status (data).

Enter the interval, in seconds, for UDP broadcasts of I/O channel status (data). Valid values are 1-9999. Default value is 30 seconds.

You can specify up to four sets of UDP IP address that will receive the I/O unicast.

The UDP port that the IOLAN will use to relay messages to servers/hosts.

The first host IP address in the range of IP addresses (for IPV4 or IPV6) that the IOLAN will listen for messages from and/or send messages to.

The last host IP address in the range of IP addresses (for IPV4, not required for IPV6) that the IOLAN will listen for messages from and/or send messages to.

IOLAN DS1/TS2 CLI Reference Guide, Version 4.5 73

Show 6 more labels / short text on this page
Options mode · broadcast-interval · entry · udp_port · start_ip · end_ip
Page 73 of the Perle Systems DS1 user manual — Set Line Service
Page 73 · click to enlarge
Page 73

Set IO Failsafe

Description Sets the failsafe (watchdog) settings for I/O. User Level Admin Syntax Options mode

set io failsafe [mode on|off] [timeout <seconds>]

Enables/disables the Failsafe Timer. This is the global setting that must be enabled to set the Failsafe Action on the channel for digital outputs and relays. When this timer expires because of no I/O activity within the specified time interval, the Failsafe Action set for the channel determines the action on the output.

The number of seconds that must elapse with no I/O activity before the channel Failsafe Action is triggered. Valid values are 1-9999. The default is 30 seconds.

Set IO Modbus

Description Enabling the Modbus option makes the IOLAN act as a Modbus Slave, allowing

Modbus Masters to communicate with the IOLAN to control and/or retrieve I/O data. User Level Admin Syntax Options mode

set io modbus [mode on|off] [uid <1-255>]

Enables/disables the ability to control/monitor I/O channels using the Modbus protocol.

This is the UID you are assigning to the IOLAN, which is acting as a Modbus slave.

Set IO Temperature-Scale

Description Sets the temperature scale that will be used for all Temperature input readings. User Level Admin Syntax Option temperature-scale

set io temperature-scale celsius|fahrenheit

Select the temperature scale that will be used to display temperature data, either Fahrenheit or Celsius. The default is Celsius.

Set Line

Set Line Service

Description Sets the Line Service settings to signal I/O. When the line service is set to signal-io,

you also have the option of enabling the I/O extension for the serial singal pins. See Set IOChannel IOExtension on page 84 for more information. User Level Admin Syntax Option signal-io Sets the line to use signal I/O. You still need to define the serial pins for digital input (CTS, DSR, or DCD) or digital output (RTS or DTR). See Set IOChannel Digital Input (Serial Pins) on page 76 or Set IOChannel Digital Output (Serial Pins) on page 79 for configuration options.

set line <number> service signal-io

Set Line · timeout · uid

Page 74 of the Perle Systems DS1 user manual — Set IOChannel Digital Input
Page 74 · click to enlarge
Page 74

Set IOChannel

Set IOChannel Mode

Description Sets general I/O channel settings for the specified channel, these settings are available

to all channels and I/O serial pins. User Level Admin Syntax

set iochannel <i/o_channel> [mode enabled|disabled]

[description <string>]

Specify the channel number, for example, d2 or a4. Temperature models use Analog input, so the channel numbers are a1-a4.

Enables the channel, allowing the settings to become active.

Provide a description of the channel, making it easier to identify. The channel description can be up to 20 characters.

Set IOChannel Digital I/O

Description Sets up the Digital I/O channel to act as either an output or input channel. User Level Admin Syntax Options digital_channel

set iochannel <digital_channel> resource-type input|output

Specify the Digital channel number, for example, d2.

Specify whether the channel will drive the line (output) or will be reading the status of the line (input). The default is Input. The internal jumpers must match the software configuration, so if you change this setting to Output, you will have to also change the internal hardware jumpers.

Set IOChannel Digital Input

Description Sets the Digital input settings for the channel. User Level Admin Syntax set iochannel <digital_channel>

[alarm [trigger disabled|inactive-input|active-input] [clear auto|manual] [syslog on|off] [snmp on|off]] [description <string>] [invert-signal on|off] [latch disabled|inactive-to-active|active-to-inactive]

Specify the Digital channel number, for example, d2.

Configures alarm settings when the Digital input trigger is activated.

Show 7 more labels / short text on this page
Set IOChannel · Options i/o_channel · mode · description · source-type · Options digital_channel · alarm
Page 75 of the Perle Systems DS1 user manual — Set IOChannel Digital Input (Serial Pins)
Page 75 · click to enlarge
Page 75

When the trigger condition is met, triggers the specified alarm action. Triggers can be:

z Disabled—No alarm settings. This is the default.

z Inactive—When the expected Digital input is active, going inactive will trigger an alarm.

z Active—When the expected Digital input is inactive, going active will trigger an alarm.

Specify Manual to manually clear an alarm. Specify Auto to automatically clear the alarm when the trigger condition changes; for example, if the Trigger is Inactive and the alarm is triggered, once the input becomes active again, the alarm will be cleared when Auto is set. The default is Auto.

Sends a message to syslog when an alarm is triggered or cleared. The syslog entry includes the severity level and the value that caused the alarm to trigger or clear. The syslog message is associated with Level Critical.

Sends an SNMP trap when an alarm is triggered or cleared. The trap consists of the severity level and whether the alarm was triggered or cleared.

Provide a description of the channel, making it easier to identify. The channel description can be up to 20 characters.

Inverts the actual condition of the I/O signal in the status; therefore, an inactive status will be displayed as active.

Latches (remembers) the activity transition (active-to-inactive or inactive-to-active). The latched status is maintained until it is read. Once it is read, it will revert to the current status. The default is disabled.

Set IOChannel Digital Input (Serial Pins)

Description Sets the Digital input settings for serial pins CTS, DSR, and DCD. This option is only

available when the Line Service is set to Signal I/O. User Level Admin Syntax set iochannel cts|dsr|dcd

[alarm [trigger disabled|inactive-input|active-input] [clear auto|manual] [syslog on|off] [snmp on|off]] [description <string>] [invert-signal on|off] [latch disabled|inactive-to-active|active-to-inactive]

Specify the Digital channel number, for example, d2.

Configures alarm settings when the Digital input trigger is activated.

Show 10 more labels / short text on this page
Set IOChannel · trigger · clear · syslog · snmp · description · invert-signal · latch · Options digital_channel · alarm
Page 76 of the Perle Systems DS1 user manual — Set IOChannel Digital Output
Page 76 · click to enlarge
Page 76

When the trigger condition is met, triggers the specified alarm action. Triggers can be:

z Disabled—No alarm settings. This is the default.

z Inactive—When the expected Digital input is active, going inactive will trigger an alarm.

z Active—When the expected Digital input is inactive, going active will trigger an alarm.

Specify Manual to manually clear an alarm. Specify Auto to automatically clear the alarm when the trigger condition changes; for example, if the Trigger is Inactive and the alarm is triggered, once the input becomes active again, the alarm will be cleared when Auto is set. The default is Auto.

Sends a message to syslog when an alarm is triggered or cleared. The syslog entry includes the severity level and the value that caused the alarm to trigger or clear. The syslog message is associated with Level Critical.

Sends an SNMP trap when an alarm is triggered or cleared. The trap consists of the severity level and whether the alarm was triggered or cleared.

Provide a description of the channel, making it easier to identify. The channel description can be up to 20 characters.

Inverts the actual condition of the I/O signal in the status; therefore, an inactive status will be displayed as active.

Latches (remembers) the activity transition (active-to-inactive or inactive-to-active). The latched status is maintained until it is read. Once it is read, it will revert to the current status. The default is disabled.

Set IOChannel Digital Output

Description Sets the Digital output channel settings. User Level Admin Syntax set iochannel <digital_channel>

[type sink|source|sink-and-source] [active-signal-width <width>] [inactive-signal-width <width>] [failsafe-action none|activate-output|deactivate-output]

set iochannel <digital_channel>

output [pulse continuous|counted <pulse_count>] [active-to-inactive-delay <delay>] [inactive-to-active-delay <delay>]

Specify the Digital channel number, for example, d2.

Show 9 more labels / short text on this page
Set IOChannel · trigger · clear · syslog · snmp · description · invert-signal · latch · Options digital_channel
Page 77 of the Perle Systems DS1 user manual — Set IOChannel Digital Output
Page 77 · click to enlarge
Page 77

Specify the type of digital output:

z Sink—Specifies that the channel will be grounded when active.

z Source—Specifies that the channel will provide voltage when active.

z Sink and Source—Specifies that channel will be grounded when it is inactive and will provide voltage when it is active. The default is Sink.

How long the channel output will be active during the pulse mode. Valid values are 1-9999 x 100 ms. The default is 100 ms.

How long the channel output will remain inactive during pulse mode. Valid values are 1-9999 x 100 ms. The default is 100 ms.

When there has been no I/O activity within the specified time (set in the Global Settings) and the Failsafe Timer is triggered, you can set the Failsafe Action to:

z None—The state of the Digital/Relay output remains the same, no change.

z Activate Output—Activates the output.

z Deactivate Output—Deactivates the output.

Specify how the channel Digital output will be handled:

z Manual—You must manually activate and deactivate the output.

z Pulse—When the output is activated, this configuration will cause the output to pulse (go active and inactive) at a configured rate.

z Inactive-to-Active Delay—The channel output will remain inactive for the specified time interval after it is manually started.

z Active-to-Inactive Delay—The channel output will go inactive after the specified time interval after it is manually started. The default is Manual.

When the Output is Pulse, you can have it pulse in a Continuous manner or specify a pulse Count (each count consists of an active/inactive sequence). The default is Continuous.

When the I/O is commanded to an inactive state, this is the length of the delay before the command is executed. Valid values are 1-9999 x 100 ms. The default is 100 ms.

When the I/O is commanded to an active state, this is the length of the delay before the command is executed. Valid values are 1-9999 x 100 ms. The default is 100 ms.

Show 9 more labels / short text on this page
Set IOChannel · type · active-signal-width · inactive-signal-width · failsafe-action · output · pulse · active-to-inactive-delay · inactive-to-active-delay
Page 78 of the Perle Systems DS1 user manual — Set IOChannel Relay
Page 78 · click to enlarge
Page 78

Set IOChannel Digital Output (Serial Pins)

Description Sets the Digital output for serial pins RTS and DTR. This option is only available when

the Line Service is set to Signal I/O. User Level Admin Syntax

set iochannel rts|dtr [description <string>]

[failsafe-action none|activate-outut|deactivate-output] [mode enabled|disabled]

Provide a description of the channel, making it easier to identify. The channel description can be up to 20 characters.

When there has been no I/O activity within the specified time (set in the Global Settings) and the Failsafe Timer is triggered, you can set the Failsafe Action to:

z None—The state of the Digital/Relay output remains the same, no change.

z Activate Output—Activates the output.

z Deactivate Output—Deactivates the output.

Enables the channel, allowing the settings to become active.

Set IOChannel Relay

Description Sets the Relay output channel settings. User Level Admin Syntax set iochannel <relay_number> output

[pulse continuous|counted <pulse_count>] [active-to-inactive-delay <delay>] [inactive-to-active-delay <delay>]

set iochannel <relay_number>

[active-signal-width <width>] [inactive-signal-width <width>] [failsafe-action none|activate|deactivate]

Specify the Relay channel number, for example, r2.

Specify how the channel Digital output will be handled:

z Manual—You must manually activate and deactivate the output.

z Pulse—When the output is activated, this configuration will cause the output to pulse (go active and inactive) at a configured rate.

z Inactive-to-Active Delay—The channel output will remain inactive for the specified time interval after it is manually started.

z Active-to-Inactive Delay—The channel output will go inactive after the specified time interval after it is manually started. The default is Manual.

When the Output is Pulse, you can have it pulse in a Continuous manner or specify a pulse Count (each count consists of an active/inactive sequence). The default is Continuous.

Show 7 more labels / short text on this page
Set IOChannel · Options description · failsafe-action · mode · Options relay_number · output · pulse
Page 79 of the Perle Systems DS1 user manual — Set IOChannel Analog (True Analog)
Page 79 · click to enlarge
Page 79

When the I/O is commanded to an inactive state, this is the length of the delay before the command is executed. Valid values are 1-9999 x 100 ms. The default is 100 ms.

When the I/O is commanded to an active state, this is the length of the delay before the command is executed. Valid values are 1-9999 x 100 ms. The default is 100 ms.

How long the channel output will be active during the pulse mode. Valid values are 1-9999 x 100 ms. The default is 100 ms.

How long the channel output will remain inactive during pulse mode. Valid values are 1-9999 x 100 ms. The default is 100 ms.

When there has been no I/O activity within the specified time (set in the Global Settings) and the Failsafe Timer is triggered, you can set the Failsafe Action to:

z None—The state of the Digital/Relay output remains the same, no change.

z Activate Output—Activates the output.

z Deactivate Output—Deactivates the output.

Set IOChannel Analog (True Analog)

Description Sets the Analog input channel settings. User Level Admin Syntax set iochannel <analog_channel> type current|voltage

range <range_specifier>

set iochannel <analog_channel> alarm

[level 1|2|3|4|5 [mode on|off] [trigger-type disabled|low|high] [trigger-level <decimal_value>] [clear-mode auto|manual] [clear-level <decimal_value>] [snmp on|off] [syslog on|off]]

Specify the Analog channel number, for example, a2 or a4 (this also applies to Temperature models).

Select the type of input being measured, either Current or Voltage. The default is Current.

Select the range for the measurement type. For current, the range is:

z 0-20 (0-20mA) This is the default.

z 4-20 (04-20mA) For voltage, the range is:

z 10 (+/-10V) This is the default.

Show 13 more labels / short text on this page
Set IOChannel · active-to-inactive-delay · inactive-to-active-delay · active-signal-width · inactive-signal-width · failsafe-action · Options analog_channel · type · range · z 1 (+/-1V) · z 5 (+/-5V) · z 150 (+/-150mV) · z 500 (+/-500mV)
Page 80 of the Perle Systems DS1 user manual — Set IOChannel Analog (True Analog)
Page 80 · click to enlarge
Page 80

Configures alarm settings when the Analog input trigger is activated.

You can specify up to five alarm trigger/clear severity levels. If the Trigger Type is Low, an alarm is triggered when the input drops below the specified Trigger value; other severity level trigger values must decrease in value with each subsequent level. If the Trigger Type is High, an alarm is triggered when the input is higher than the specified Trigger value; other severity level trigger values must increase in value with each subsequent level. To clear an alarm, the input must drop below the specified value when Trigger Type is High or go above the specified value when Trigger Type is Low.

Enables/disables an alarm level. The default is off.

If the Trigger Type is Low, an alarm is triggered when the input drops below the specified Trigger value; other severity level trigger values must decrease in value with each subsequent level. If the Trigger Type is High, an alarm is triggered when the input is higher than the specified Trigger value; other severity level trigger values must increase in value with each subsequent level.

Specify the value that will trigger an alarm, the measurement is based on the Type and Range that you specify. This value must not fall within the scope of the value used to clear an alarm.

Specifies whether an activated alarm must be Manually cleared, or can be cleared when the input drops below the specified value (when Trigger Type is High) or goes above the specified value (when Trigger Type is Low).

Specify that value that will clear an alarm, the measurement is based on the Type and Range that you specify. This value must not fall within the scope of the value used to trigger an alarm.

Sends an SNMP trap when an alarm is triggered or cleared. The trap consists of the severity level and whether the alarm was triggered or cleared.

Sends a message to syslog when an alarm is triggered or cleared. The syslog entry includes the severity level and the value that caused the alarm to trigger or clear. The syslog message is associated with Level Critical.

Show 10 more labels / short text on this page
Set IOChannel · alarm · level · mode · trigger-type · trigger-level · clear-mode · clear-level · snmp · syslog
Page 81 of the Perle Systems DS1 user manual — Set IOChannel Analog (Temperature)
Page 81 · click to enlarge
Page 81

Set IOChannel Analog (Temperature)

Description Sets the Analog input channel settings for Temperature models. User Level Admin Syntax set iochannel <analog_channel> type rtd|thermocouple

range <range_specifier>

set iochannel <analog_channel> alarm

[level 1|2|3|4|5 [mode on|off] [trigger-type disabled|low|high] [trigger-level <decimal_value>] [clear-mode auto|manual] [clear-level <decimal_value>] [snmp on|off] [syslog on|off]]

Specify the Analog channel number, for example, a2 or a4 (this also applies to Temperature models).

Specify the type of sensor you are using to measure temperature, either RTD or thermocouple. The default is RTD.

Specify the temperature range that you want to measure. For RTD, the range is:

z 1 (Pt100 a=385 -50 to 150C) This is the default.

z 2 (Pt100 a=385 0 to 100C)

z 3 (Pt100 a=385 0 to 200C)

z 4 (Pt100 a=385 0 to 400C)

z 5 (Pt100 a=385 -200 to 200C)

z 6 (Pt100 a=392 -50 to 150C)

z 7 (Pt100 a=392 0 to 100C)

z 8 (Pt100 a=392 0 to 200C)

z 9 (Pt100 a=392 0 to 400C)

z 10 (Pt100 a=392 -200 to 200C)

z 11 (Pt1000 a=385 -40 to 160C)

z 12 (NiFe604 a=518 -80 to 100C)

z 13 (NiFe604 a=518 0 to 100C) For thermocouple, the range is:

z b (B 500 to 1800C)

z e (E 0 to 1000C)

z j (J 0 to 760C) This is the default.

z k (K 0 to 1370C)

z r (R 500 to 1750C)

z s (S 500 to 1750C)

z t (T -100 to 400C).

Configures alarm settings when the Analog input trigger is activated.

Show 5 more labels / short text on this page
Set IOChannel · Options analog_channel · type · range · alarm
Page 82 of the Perle Systems DS1 user manual — Set IOChannel Analog (Temperature)
Page 82 · click to enlarge
Page 82

You can specify up to five alarm trigger/clear severity levels. If the Trigger Type is Low, an alarm is triggered when the input drops below the specified Trigger value; other severity level trigger values must decrease in value with each subsequent level. If the Trigger Type is High, an alarm is triggered when the input is higher than the specified Trigger value; other severity level trigger values must increase in value with each subsequent level. To clear an alarm, the input must drop below the specified value when Trigger Type is High or go above the specified value when Trigger Type is Low.

Enables/disables an alarm level. The default is off.

If the Trigger Type is Low, an alarm is triggered when the input drops below the specified Trigger value; other severity level trigger values must decrease in value with each subsequent level. If the Trigger Type is High, an alarm is triggered when the input is higher than the specified Trigger value; other severity level trigger values must increase in value with each subsequent level.

Specify the value that will trigger an alarm, the measurement is based on the Type and Range that you specify. This value must not fall within the scope of the value used to clear an alarm.

Specifies whether an activated alarm must be Manually cleared, or can be cleared when the input drops below the specified value (when Trigger Type is High) or goes above the specified value (when Trigger Type is Low).

Specify that value that will clear an alarm, the measurement is based on the Type and Range that you specify. This value must not fall within the scope of the value used to trigger an alarm.

Sends an SNMP trap when an alarm is triggered or cleared. The trap consists of the severity level and whether the alarm was triggered or cleared.

Sends a message to syslog when an alarm is triggered or cleared. The syslog entry includes the severity level and the value that caused the alarm to trigger or clear. The syslog message is associated with Level Critical.

Show 9 more labels / short text on this page
Set IOChannel · level · mode · trigger-type · trigger-level · clear-mode · clear-level · snmp · syslog
Page 83 of the Perle Systems DS1 user manual — Set IOChannel IOExtension
Page 83 · click to enlarge
Page 83

Set IOChannel IOExtension

Description Configures the I/O extension options that allow you to connect the Digital Input

channel or input serial signal pin (when the line is configured for signal-io) to Digital Output/Relay channels or output serial signal pins (when the line is configured for signal-io) on the same IOLAN, remote IOLAN(s), and/or TCP/IP applications running on local hosts. User Level Admin Syntax set iochannel <channel> ioextension enabled on|off

set iochannel <channel> ioextension connection-method

client-initiated [tcp-port <tcp_port>] [multihost on|off]

set iochannel <channel> ioextension connection-method

server-initiated <host_name> [tcp-port <tcp_port>] [multihost all|backup <config_backup_host> <host_port>|none]

set iochannel <channel> ioextension connection-method

local-connection [<input_channel>]

Options <channel>

Specify the Digital/Relay channel or serial signal pin that you are configuring the I/O extension for. The channel can be d1, d2, d3, d4, r1, r2, depending on the model. The serial signal pins are dsr, dcd, or cts for input and dtr or rts for output.

When enabled, the digital input channel or DSR/DCD/CTS input serial signal pins can be connected to:

z A Digital output or relay (if the I/O model supports relay) channel on the same IOLAN

z Output Serial Signal Pins (DTR/RTS)

z A Digital output channel on another IOLAN(s) or output serial signal pins (DTR/RTS) on another IOLAN(s)

z A TCP/IP application(s) running on a host on the network When enabled, the digital output/relay channel or DTR/RTS output serial signal pins can be associated with a digital input channel or input serial signal pins. Default: Disabled

Enables a per-connection TCP keepalive feature. After the configured number of seconds, the connection will send a gratuitous ACK to the network peer, thus either ensuring the connection stays active OR causing a dropped connection condition to be recognized. This parameter needs to be used in conjunction with server parameter, monitor-connection-every. The interval determines how long the IOLAN will wait during inactivity before "testing" the connection. It should be noted that if a network connection is accidentally dropped, it can take as long as the specified interval before anyone can reconnect to the serial port.

Show 4 more labels / short text on this page
Set IOChannel · [keepalive on|off] · enabled · keepalive
Page 84 of the Perle Systems DS1 user manual — Set IOChannel IOExtension
Page 84 · click to enlarge
Page 84

The connection-method is one of the following:

z Client-Initiated—When specified, the channel/serial signal pin will wait for connections to be initiated by another I/O channel or a TCP/IP application.

z Server-Initiated—When specified, the channel/serial signal pin initiates communication to another I/O channel or a TCP/IP application.

z Local-Connection—When specified, the input or output, depending on how the channel or serial signal pin is configured, will be associated with another local IOLAN I/O channel or serial signal pin. When the channel is configured as digital input or when configuring an input serial signal pin, the Output Channels parameter displays all the local digital output signals or relays that it is associated with.

When the channel is configured as digital output, you must select a local digital input channel or input serial signal pin on the IOLAN.

DefaultClient-Initiated

The TCP port that the channel/serial signal pin will use to listen for incoming connections. Default: 2000 for channel 1, then increments by one for each channel

When this option is enabled, multiple I/O channels and/or TCP/IP applications can connect to this channel/serial signal pin. The default is off.

The TCP Port that the channel/serial signal pin will use to communicate to another IOLAN or a TCP/IP application. Default: 2000 for channel 1, then increments by one for each channel

server-initiated multihost all|backup <config_backup_host> <tcp_port>|none

Used for connections going from the Digital input channel or input serial signal pins, allows the input channel/serial signal pin to communicate to either all the hosts in the multihost list or a primary/backup host schema (see Configuring Multiple Hosts in the IOLAN User’s Guide for a more detailed explanation).

local-connection <input_channel>

Specify the Digital input channel or input serial signal pin that will control the Digital/Relay output channel or output serial signal pin.

Show 5 more labels / short text on this page
Set IOChannel · connection-method · client-initiated tcp-port · client-initiated multihost · server-initiated tcp-port
Page 85 of the Perle Systems DS1 user manual — Kill IOChannel
Page 85 · click to enlarge
Page 85

Set IOChannel Multihost

Description Configures up to 49 hosts/IOLANs that the Digital input channel or input serial signal

pins (DSR, DCD, or CTS-when the line is configured for signal-io) will connect to. To see a list of configured hosts/IOLANs, enter the show iochannel <channel> command. User Level Admin Syntax

set iochannel <channel> multihost entry <number> delete

set iochannel <channel> multihost entry <number> host <host_name>

Options <channel>

Specify the Digital input channel or input serial signal pin that will be connecting to all the hosts/IOLANs in the multihost list.

Specify the multihost table entry number. Valid values are 1-100.

Deletes the entry number in the multihost table.

Specify the preconfigured host that will be in the multihost list. Default: None

Specify the TCP port that the I/O channel or serial signal pin will use to communicate to the Host. Default: 0

Show IOChannel Status

Description Shows the I/O channel status for all channels and the serial signal pins (when the line is

configured for signal-io). User Level Admin Syntax

Kill IOChannel

Description Kills the I/O channel. User Level Admin Syntax

kill iochannel <i/o_channel>

kill iochannel line <number> rts|cts|dtr|dsr|dcd

Specify the channel number, for example, d2 or a4. Temperature models use Analog input, so the channel numbers are a1-a4.

Specify the Digital output pins (RTS or DTR) or Digital input pins (CTS, DSR, or DCD).

Show 9 more labels / short text on this page
Set IOChannel · <tcp_port> · entry · delete · host · <tcp_port> · show iochannel status · Options i/o_channel · rts|cts|dtr|dsr|dcd
Page 86 of the Perle Systems DS1 user manual — Show IOChannel
Page 86 · click to enlarge
Page 86

Show IO

Description Shows global I/O information (for example, UDP, TruePort, Modbus). Temperature

input is Analog. User Level Admin Syntax

show iochannel <i/o_channel>

Specify the channel number, for example, d2 or a4. Temperature models use Analog input, so the channel numbers are a1-a4.

Specify the Digital output pins (RTS or DTR) or Digital input pins (CTS, DSR, or DCD).

Show IOChannel

Description Shows I/O channel information. Temperature input is Analog. User Level Admin Syntax

show iochannel <i/o_channel>

show iochannel line <number> rts|cts|dtr|dsr|dcd

Specify the channel number, for example, d2 or a4. Temperature models use Analog input, so the channel numbers are a1-a4.

Specify the Digital output pins (RTS or DTR) or Digital input pins (CTS, DSR, or DCD).

Show 6 more labels / short text on this page
Set IOChannel · show iochannel rts|cts|dtr|dsr|dcd · Options i/o_channel · rts|cts|dtr|dsr|dcd · Options i/o_channel · rts|cts|dtr|dsr|dcd
Page 87 of the Perle Systems DS1 user manual — Analog Input
Page 87 · click to enlarge
Page 87

I/O Channel Control Commands

I/O Channel Control Commands

The I/O commands in this section are used to manually manage the I/O channels.

Digital Output

Description Manages the Digital output channel status. Not all models have four digital channels,

most have just two. User Level Admin Syntax Options alarm

iochannel d1|d2|d3|d4|cts|dsr|dcd clear alarm|input-latch

Clears the alarm. Note that if the condition that tripped the alarm still exists, the alarm will not look like it’s cleared, but will reflect the appropriate alarm level severity. Alarm Level 0 means that the alarm has not been triggered.

Clears the latch value.

Digital Input

Description Manages the Digital input channel status. User Level Admin Syntax Option output

iochannel d1|d2|d3|d4|rts|dtr output activate|deactivate

Manually deactivates the I/O channel.

Relay

Description Manages the Relay output channel status. User Level Admin Syntax Option output

iochannel r1|r2 output activate|deactivate

Manually deactivates the I/O channel.

Analog Input

Description Manages the Analog input channel status. User Level Admin Syntax Options alarm

iochannel a1|a2|a3|a4 clear alarm|min|max

Clears the alarm. Note that if the condition that tripped the alarm still exists, the alarm will not look like it’s cleared, but will reflect the appropriate alarm level severity. Alarm Level 0 means that the alarm has not been triggered.

Clears the minimum value.

Clears the maximum value.

latch-input · min · max

Page 88 of the Perle Systems DS1 user manual — Glossary
Page 88 · click to enlarge
Page 88

Glossary

This chapter provides definitions for IOLAN terms.

An Internet protocol that enables a diskless workstation to discover its own IP address, the IP address of a BOOTP server on the network, and a file to be loaded into memory to boot the machine. This enables the workstation to boot without requiring a hard or floppy disk drive.

Community (SNMP) An SNMP community is the group that devices and management stations running SNMP belong to. It helps define where information is sent.

DHCP (Dynamic Host Configuration Protocol)

A TCP/IP protocol that provides static and dynamic address allocation and management.

Direct Connection Connections that bypass the IOLAN enabling the user to log straight into a specific host. A direct connection is recommended where a user logging into the IOLAN is not required.

Ethernet A high-speed (10Mbps,100Mbps) cable technology that connects devices to a LAN, using one or more sets of communication protocols.

Local Authentication Uses the user ID and password stored within the IOLAN User database.

A series of commands sent to the modem by a communications program at start up. These commands tell a modem how to set itself up in order to communicate easily with another modem.

MOTD Message of the day. This is defined by a file whose contents display when users log into the IOLAN.

Multicast The broadcasting of messages to a specified group of workstations on a LAN, WAN, or internet.

A communication control character sent by the receiving destination indicating that the last message was not received correctly.

Reverse Connection Connections that originate from a host that go directly to a serial device through the IOLAN.

Silent Connection Silent connections are the same as direct connections except that they are permanently established. The host login prompt is displayed on the screen. Logging out redisplays this prompt. Silent connections, unlike direct connections, however, make permanent use of pseudo tty resources and therefore consume host resources even when not in use.

SNMP (Simple Network Management Protocol)

A protocol for managing network devices.

Subnet/Prefix Bits Identifies the devices IP address, which portion constitutes the network address and which portion constitutes the host address.

IOLAN DS1/TS2 CLI Reference Guide, Version 4.5 89

BOOTP (BOOTstrap Protocol) · Modem Initialization String · NAK (Negative Acknowledgment)

Sources

References & links

Pages referenced in this manual — manufacturer, support and downloads.

Ask about the Perle Systems DS1

Owners and our team usually reply within a day — and your question helps the next person too.

Add your email to get notified when it’s answered — no spam, ever.

0 questions
No questions yet about the Perle Systems DS1

Be the first to ask — other owners or our team will answer.

Original document

Perle Systems DS1 manual PDF

88 pages·1.5 MB·Network Router·PDF
Click any page above to open it here
Page 1 / …
100%
Loading pages…