### Configuring a User for Autoconnection

This topic describes how to configure a user for autoconnection.

It deals with autoconnection features only. It assumes that you have or will configure

- The port for modem connections or terminal connections
- Other user attributes (see the set user command).

#### Procedure

To configure a user to automatically connect to a host, supply a set user command that specifies the following:

- A name for the user (on the name field)
- The ports this user can use (on the ports field)
- autoconnect=on
- The IP address of the host to which the user should be connected (on the autohost field)
- The TCP port to use for connects (on the autoport field)
- defaultaccess=autoconnect

#### Example

In this example, a user is configured for autoconnection using telnet to the host specified. Because the password field is not specified, the default (password=on) requires that the user supply a password before the connection is made.

`set user name=user4 autoconnect=on autohost=199.193.150.10 autoport=23 defaultaccess=autoconnect`