### Configuring Autoconnection By Port

This topic describes how to configure a port for autoconnection. It describes how to set up a port for autoconnection only. It assumes that you have or will configure the port appropriately for a modem or terminal connection.

#### Procedure

To configure a port to provide automatic connections for all port users, supply a set ports command that specifies the following:

- The ports configured for autoconnection (on the range field)
- auto=on
- The IP address of the host to which the autoconnection should be made (on the dest field)
- The TCP port to use for this connection (on the dport field)

#### Example

In this example, port 5 is configured for automatic telnet connections to a host.

`set ports range=5 auto=on dest=199.125.123.10 dev=min dport=23`