User guide
set ports
174 Chapter 2 Command Descriptions
p[1-9]=script param
Letters and numbers that can be used in the variable fields of login or
dialer scripts. This option is used only when the port-based autoconnect
feature is on. (See the "dest" option.)
range=range
The port or range of ports to which this command applies.
scriptname=name
The name of a script (defined with the "set script" command) to use with
auto connections to automatically log on to a host or run a script on a
host.
sess=sessions
The maximum number of sessions any user can run through this port.
The range is 1-9. The default is 4.
show={autoconnect|id|script}
Displays autoconnect and script configuration information for the port
specified and information on who is using the port.
termtype=type
The type of terminal assigned to the port. This information is used during
multiscreen and multisession operations and is passed to the host during
Telnet negotiations. Use a terminal type that is valid with the host
operating system.
uid={id|none}
An index number in the user table that identifies a particular user for this
port. If you use this option, calls from others attempting to use this port
will be rejected. Specify "none" to disable the option.
Examples Display attributes of the current port
#> set ports
Display attributes for a range of ports
#> set ports range=1
Configure an autoconnect port
In this example, the "set ports" command configures the port so that all
incoming users are automatically connected via Telnet to the host specified
on the "dest" option. The port is also available for outgoing connections.
#> set ports range=1 auto=on dest=199.125.123.10 dev=mio dport=23
See also • "revert" on page 79. The “revert port” option reverts the “set ports”
configuration.
• "set line" on page 149.
• "set flow" on page 116.
• "set keys" on page 147.
• "set logins" on page 152.
• "set powerunit" on page 175.