### Configuring Terminals

Use this topic for information on configuring terminals on Digi EtherLite and SCSI Terminal Server ports. This topic discusses the following:

- Information on the tools used to configure port monitors
- Information on setup preparation
- An example of ports configured for terminals

#### About the Port Configuration Tools in Solaris

Use the sacadm and pmadm tools to configure port monitors.

#### Setup Preparation

If you are configuring ttyc nodes, make sure that the terminal drives the DCD signal (usually with the terminal's DTR signal). Link to Cable guide.

#### Example

This is two examples in one. It provides information on configuring both SCSI Terminal Server and EtherLite Terminal Server ports for terminals using the following parameters:

- 9600 baud logins
- No parity
- 8-bit characters
- 1 stop bit

Here is how the example is organized:

- The first row of the table below provides an example of SAC creation that works for both SCSI Terminal Server and EtherLite Terminal Server ports.
- The second row is for SCSI Terminal Server ports only.
- The third row is for EtherLite Terminal Server ports only. The only difference between the two configurations is the method of identifying nodes. For more information see About Device Names.

Example | Notes
`sacadm -a -p ttymon5 -t ttymon -c /usr/lib/saf/ttymon -v 1` | This command, which works for both SCSI Terminal Server and EtherLite Terminal Server ports, sets up the SAC, whose name (pmtag) is ttymon5. Here are some details: -a adds a SAC, Use the pmtag to address this particular SAC when you disable, enable, remove or completely delete the SAC. -t specifies the ttymon -c specifies the command, which is /usr/lib/saf/ttymon -v 1
`pmadm -a -p ttymon5 -s ttyc50 -i root -fu -v 1 -m "`ttyadm -S y -d /dev/sts/ttyc50 -l 9600 -s /usr/bin/login`"` `pmadm -a -p ttymon5 -s ttyc51 -i root -fu -v 1 -m "`ttyadm -S y -d /dev/sts/ttyc51 -l 9600 -s /usr/bin/login`"` `pmadm -a -p ttymon5 -s ttyc52 -i root -fu -v 1 -m "`ttyadm -S y -d /dev/sts/ttyc52 -l 9600 -s /usr/bin/login`"` `pmadm -a -p ttymon5 -s ttyc53 -i root -fu -v 1 -m "`ttyadm -S y -d /dev/sts/ttyc53 -l 9600 -s /usr/bin/login`"` | These commands, which work for SCSI Terminal Server only, start the port monitors on the first four ports of a SCSI Terminal Server at SCSI ID 5, which is the default.
`pmadm -a -p ttymon5 -s ttyn50 -i root -fu -v 1 -m "`ttyadm -S y -d /dev/sts/ttyc50 -l 9600 -s /usr/bin/login`"` `pmadm -a -p ttymon5 -s ttyn51 -i root -fu -v 1 -m "`ttyadm -S y -d /dev/sts/ttyc51 -l 9600 -s /usr/bin/login`"` `pmadm -a -p ttymon5 -s ttyn52 -i root -fu -v 1 -m "`ttyadm -S y -d /dev/sts/ttyc52 -l 9600 -s /usr/bin/login`"` `pmadm -a -p ttymon5 -s ttyn53 -i root -fu -v 1 -m "`ttyadm -S y -d /dev/sts/ttyc53 -l 9600 -s /usr/bin/login`"` | These commands, which work for EtherLite Terminal Server only, start the port monitors on the first four ports of a EtherLite Terminal Server identified as the fifth unit installed.