beautypg.com

Digi PortServer TS8 User Manual

Page 36

background image

5-4

Configuring Ports for Outgoing/Bi-Directional Connec-

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: Com mand 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 PortServer TS 8/16 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

This manual is related to the following products: