### Configuring Terminal Connections

Use this topic to configure ports for terminals.

#### Starting Point

This procedure assumes the following:

- That you are logged in as the administrator
- That you know the attributes, such as baud rate and parity, of the terminal that will be connected to this port

#### Command Line

##### Procedure

1. Supply a set ports command that specifies the following:
   - The ports to which this command applies (on the range field)
   - dev=term
   - The number of simultaneous sessions the port user can maintain (on the sess field)
   - The terminal type (on the termtype field)
2. Supply a set line command that specifies the following:

- The ports to which this command applies (on the range field)
- The baud rate for this line (on the baud field)
- The character size to use on this line (on the csize field)
- The parity scheme to use on this line (on the parity field)
- The number of stop bits to use (on the stopb field)

3. If your terminal uses hardware flow control, supply a set flow command that specifies the following (software flow control is the default, so a set flow command is not required in that case):

- The ports to which this command applies (on the range field)
- ixoff=off
- ixon=off
- The flow control scheme required by your terminal.

##### Example

In this example, port 2 and 3 are configured for connection to terminals using hardware flow control. The connection uses default for character size (8 bits), parity (no parity), and stop bits (1).

`set ports range=2-3 sess=3 dev=term termtype=wy60
set line range=2-3 baud=19200
set flow range=2-3 ixon=off ixoff=off rts=on cts=on`

#### Web Interface

This feature can be configured with the web interface on PortServer TS 8/16 devices. Digi One RealPort and PortServer TS 2/4 devices do not support the web interface.