Digi TS 4, TS 2/4 manual Example, Before You Begin

Page 32

Example

In this example, ports 1 and 2 are set up for incoming modem connections using RTS/CTS flow control.

set ports range=1-2 dev=min

set line range=1-2 baud=115200

set flow range=1-2 ixon=off ixoff=off cts=on rts=on

Configuring Ports for Outgoing/Bi-Directional Connections: Command Line

This section describes how to configure outgoing and bidirectional modem connections from the command line.

Related Information

For more information on setting the port’s flow control attributes see the set flow command in the Digi One/PortServer TS Command Reference.

For information on setting serial line operating parameters such as character size, the number of stop bits, and parity, see the set line command in the Digi One/PortServer TS Command Refer- ence.

For more information on configuring dialer and login scripts, see the set script command in the Digi One/PortServer TS Command Reference.

Before You Begin

This procedure assumes that you

Know the operating parameters required by the modem. If you do not, see the modem documen- tation.

Have or will correctly cable the connection between the Digi One/PortServer TS 2/4 serial ports and modems. See the Digi One/PortServer Cable Guide for more information.

Logged in as root

Procedure

1.Supply a set ports command that specifies the following: set ports range=range dev=dev

where range is a serial port or range of serial ports and dev is one of the following:

dev=mout for outgoing-only connections

dev=mio for bidirectional connections

Note: Use a group number (on the group field), if you intend to create a hunt group of ports that can access a pool of modems. Make sure this group number is greater than 65.

Example: set ports range=2 dev=mio

2.Supply a set line command that specifies the following: set line range=range baud=bps

where range is a serial port or range of ports and bps is the line speed of the connection Example: set line range=2 baud=115200

3.Supply a set flow command that defines the flow control scheme required by the modem.

Example

In this example, ports 1 and 2 are configured for bidirectional modems.

set ports range=1-2 dev=mio

set line range=1-2 baud=115200

set flow range=1-2 ixon=off ixoff=off rts=on cts=on

5-4

Configuring Ports for Outgoing/Bi-Directional Connec-

Image 32
Contents 92000307B Page Contents Configuring DNS Configuration Examples Page Introduction This ChapterSetup Overview Supported Devices About Entering Commands on the Command LineAbout This Guide Access Resource CD Card Other Documents in the LibraryAbout Configuration Methods Downloading a Configuration FileConfiguration Prerequisites Logging On As Root from the Command LineAccessing the Command Line from a Telnet Session Accessing the Configuration from the Web InterfaceConfiguring the IP Address Options for Configuring the IP Address and Mask OptionsStarting Point Configuring the Ethernet Interface with DPA-RemoteProcedure Configuring the IP Address Using Ping-ARP Configuring the Ethernet Interface from the Command Line Configuring an IP Address using Dhcp and RarpManual Configuration Procedure Manual Configuration ExampleConfiguring an IP Address using Dhcp and Rarp Configuring Ports for RealPort What is RealPort? Configuring the RealPort SoftwareConfiguration Options About RealPortConfiguring Ports Web Interface Configuring Ports for RealPort Command Line ExampleConfiguring Ports for Printers Configuration Considerations Configuring Ports for Printers Web Interface Configuring Printer Connections Command LineTips for telnet and rsh Printing Related InformationConfiguring Printer Connections Command Line Configuring a Port for Direct-Access Printing Configuring a Port for Direct-Access Printing Configuring Ports for Modems Tips on Configuring a Modem Configuring Ports for Modems Web Interface Before You Begin Configuring Ports for Terminals Port Defaults Configuring Ports for Terminals Web InterfaceConfiguring Ports for Terminals Command Line Configuring Typical PC Connections About Computer ConnectionsAbout Computer Connections Configuring Autoconnection About Autoconnection Configuring a Port for Autoconnection Web InterfaceConfiguring Autoconnection By Port Command Line Configuring a User for Autoconnection Web Interface Configuring a User for Autoconnection Command LineConfiguring a User for Autoconnection Command Line Configuring PPP Configuring PPP Connections Web Interface Configuring Inbound PPP Connections Command Line Configuring Inbound PPP Connections Example Configuring Outbound PPP Connections Command Line Set user name=name n1=telephone-number Configuring IP Routing Types of Routing What is RoutingIntroduction to Routing About RIP Routing Updates Digi One/PortServer TS 2/4 Participation in RIP Updates Example Route Using a PPP Link Configuring Static RoutesExample Route Using the Ethernet Interface Configuring Dynamic Routes Using RIP Example Dynamic RoutesConfiguring Proxy ARP Configuring Proxy ARP Configuring Console Management About Console Management Configuring Console Management Web InterfaceConfiguring Console Management Command Line Example SSH2 and Menu Access Example Alternate IP Addresses10-4 Configuring About Modbus Configuring Modbus Using the Web Interface Configuring Modbus from the Command Line 11-5 Examples Configuring Network-Connected MastersConfiguring a Port-Connected Master Configuring Security Features Controlling Access to Inbound Ports Default Access RestrictionsOptions for Removing Access Restriction Procedure for Changing a Port’s Access RequirementsControlling Access to Outbound Ports Default AccessRestricting Access to Outbound Ports Method 1 AutoconnectionIssuing User Passwords Using a Public Key Configuring SSH Version 2 for Secure CommunicationPassword Protection 12-6 Configuring DNS About the Domain Name System Procedure for Using a Host File Configuration ProceduresProcedure for Using a Name Server 13-4 Configuring Snmp About Snmp and the Digi One/PortServer TS 2/4 Agent Configuration Example Configuration Procedure Web InterfaceConfiguration Procedure Command Line 14-4 Configuring Users About Configuring Users Common User FeaturesConfiguring a User Web Interface Configuring a User Command Line Examples Managing the OS and Configuration Upgrading the OS Firmware Web Interface Upgrading the OS Firmware Command Line Prerequisite TaskConfiguring Digi One/PortServer TS 2/4 from a Remote Host When To Use Remote ConfigurationRules for Editing a Configuration file Copying the Configuration File to a HostCpconf fromhost=199.250.121.12cnfg-fle Resetting the Configuration to Defaults Configuration Examples Terminal Server Configuration Without RealPort ConfigurationConfiguration Notes IllustrationTerminal Server Configuration Using Autoconnection Terminal Server Configuration Using RealPort Digi One/PortServer TS 2/4 Troubleshooting Symptom Digi One/PortServer TS 2/4 Does Not Boot ProceduresSymptom Cannot Telnet to the Digi One/PortServer TS 2/4 AssumptionsSymptom Trouble Accessing a Port Running Digi One/PortServer TS 2/4 Customer DiagnosticsVerifying Tftp on a Unix System Troubleshooting Tftp ProblemsKey to Interpreting Digi One/PortServer TS 2/4 LEDs Kill -1inetdPID Pinging an IP Address Verifying the Digi One/PortServer TS 2/4 IP AddressChecking for Duplicate IP Addresses Verifying the Network Cabling Verifying the RealPort Process AIX Verifying the RealPort ProcessHP-UX Verifying the RealPort Process Linux Verifying the RealPort ProcessSolaris Verifying the RealPort Process Windows NT Verifying the RealPort ServiceWindows 2000 Verifying the RealPort Service Digi Contact Information Digi International Bren Road East Minnetonka, MN18-12