### Checking and Changing Port Configuration

Use this topic to ensure that serial port configuration is correct. You can display and change port configuration from either the command line or the web interface (PortServer TS 8/16 only). This topic addresses the command line only. For information regarding the web interface, access the port and then use the online help.

#### Command Line Settings

##### RealPort

- Specify `set ports dev=rp` to define a device type.
- Configure serial line attributes on the RealPort host.
- Configure flow control on the RealPort host.

##### Printer

- For most printers, specify `set ports dev=prn.`
- Use the set line command to configure serial line attributes that are consistent with peripheral requirements.
- Use the set flow command to configure flow control attributes that are consistent with peripheral requirements.

##### Incoming Modem

- For most incoming modem connections, specify `set ports dev=min`
- Use the set line command to configure serial line attributes that are consistent with peripheral requirements.
- Use the set flow command to configure flow control attributes that are consistent with peripheral requirements.

##### Outgoing Modem

- For most outgoing modem modem connections, specify `set ports dev=mout`.
- Use the set line command to configure serial line attributes that are consistent with peripheral requirements.
- Use the set flow command to configure flow control attributes that are consistent with peripheral requirements.

##### Two-way Modem

- For both incoming and outgoing modem connections, specify `set ports dev=mio.`
- Use the set line command to configure serial line attributes that are consistent with peripheral requirements.
- Use the set flow command to configure flow control attributes that are consistent with peripheral requirements.

##### Terminal

- For most terminal connections, specify `set ports dev=term`. Also, if you have configured the port for autoconnection, ensure that the destination IP address and TCP port (dport) are correct.
- Use the set line command to configure serial line attributes that are consistent with peripheral requirements.
- Use the set flow command to configure flow control attributes that are consistent with peripheral requirements.