### Configuring Outgoing and Bi-Directional Modem Connections

#### Introduction

This section describes how to configure outgoing and bi-directional modem connections.

#### Starting Point

This procedure assumes that you

- Know the operating parameters required by the modem. If you do not, see the modem documentation.
- Have or will correctly cable the connection between the Digi device's serial ports and modems.
- Logged in as the administrator

#### Procedure

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

- The serial port to which this command applies (on the range field)
- Either dev=mout (for outgoing-only connections) or dev=mio (for bi-directional connections)
- A group number (on the group field), if you intend to create a hunt group of ports that can access a pool of modems. Choose a number beyond the Digi device's highest numbered port to avoid conflicts with regular port numbers.

2. Supply a set line command that specifies the following:

- The serial port to which this command applies (on the range field)
- The line speed of the connection between the modem and the serial port (on the baud field)

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

#### Example

In this example, ports 4 and 5 are configured for bi-directional modems.

`set ports range=4-5 dev=mio
set line range=4-5 baud=115200
set flow range=4-5 ixon=off ixoff=off rts=on cts=on`