52 TN3270 Server Commands
tcp-port
tcp-port
Usethe tcp-port TN3270 configuration command to override the default TCP port setting of 23. Use
theno form of this command to restore the default.
tcp-portport-number
no tcp-port
Syntax Description
Defaults
In TN3270 configuration mode, the default is 23.
In PU configuration mode the default is the value currently configured in TN3270 configuration
mode.
Command Modes
TN3270 configuration
PU configuration
Usage Guidelines
Thetcp-port command can be entered in either TN3270 configuration mode or PU configuration
mode. A value entered in TN3270 mode applies to all PUs for that TN3270 server, except as
overriddenby values entered in PU configuration mode. The tcp-port command affects only future
TN3270 sessions.
Theno tcp-port command entered in PU configuration mode removes the override.
Example
The following command entered in TN3270 configuration mode returns the TCP port value to 23:
no tcp-port
port-number A valid TCP port number in the range of 0 to 65534. The
defaultis 23, which is the IETF standard. The value 65535
is reserved by the TN3270 server.