
TELNET CONNECT
Examples
These examples show how you can use the TELNET CONNECT command with different keywords and variables to establish a session with a Telnet destination. Example 4 shows a TN3270 connection.
1 . This command uses the domain name FINANCESUN.SYNOPTICS.COM.
TS3395> telnet connect financesun.synoptics.com
TS3395
Welcome To FINANCESUN
Please log on.
2 . This command has no domain name or Internet address. In the absence of this information, the terminal server searches for a predefined preferred destination. In this example, the preferred destination is a Telnet host named
ACCOUNTSHOST.COM.
TS3395> telnet connect
TS3395
Please enter your username:
If the network manager has not defined a preferred destination, the message Preferred service has not been defined appears on the screen. If this happens, see your network manager, or enter a TELNET domain name with the TELNET CONNECT command.
3 . This command uses the Internet address 128.10.2.30 and the Telnet port number 23.
TS3395> telnet connect 128.10.2.30:23
TS3395
Welcome to DevelopmentSUN.COM
Please log on.
4 . This command uses a Telnet domain name to reach an IBM host. Once the connection is established, the terminal emulates an IBM 3278 style terminal, and the terminal's keyboard responds like the IBM keyboard.
TS3395> telnet connect ibmhost.com
TS3395
This is IBMhost.COM
Username: