HP Telnet/iX User’s Guide HP 3000 MPE/iX Computer Systems Edition 2 36957-90156 E1098 Printed in: U.S.A.
Notice The information contained in this document is subject to change without notice. Hewlett-Packard makes no warranty of any kind with regard to this material, including, but not limited to, the implied warranties of merchantability or fitness for a particular purpose. Hewlett-Packard shall not be liable for errors contained herein or for direct, indirect, special, incidental or consequential damages in connection with the furnishing or use of this material.
Contents 1. Overview Internet Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Telnet. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Who Should Use this Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Before Using this Telnet/iX Product . . . . . . . . . . . . . . . . . . . . . . . . . Telnet/iX Client & Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Client .
Contents 4
Figures Figure 1-1 . Telnet/iX Client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13 Figure 1-2 . Telnet/iX Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14 Figure 1-3 . DTC Telnet Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figures 6
Preface The HP Telnet/iX product provides the ARPA Telecommunications Network Protocol (Telnet) service over TCP/IP to MPE/iX users who want simultaneous direct access to HP 3000, HP 9000, and non-HP systems, which support Telnet. The chapters in this manual are organized as follows: • Chapter 1, “Overview,” is a general summary of the Internet Services and what is provided on MPE/iX. A discussion of the MPE/iX Telnet implementations is also included.
Link Products HP 3000/iX Network Planning and Configuration Guide (For NMMGR): Using the Node Management Services (NMS) Utilities MPE/iX MPE/iX Error Messages Manual Volume I, II, and III MPE/iX Commands Reference Manual Asynchronous Serial Communications Programmer’s Reference Manual Command Interpreter Access and Variable Programmer’s Guide DTC Telnet Access Using HP OpenView DTC Manager DTC Planning Guide FTP Installing and Managing HP ARPA File Transfer Protocol Network Manager’s Guide HP ARPA File T
1 Overview This chapter briefly describes Telnet as part of the Internet Services and what is provided on MPE/iX. In addition, a discussion of who should use this manual is included.
Overview Internet Services Internet Services The Internet Services are a set of services that enable the HP 3000 computer to exchange information with remote computer systems on the network. The services on the HP 3000 include Telnet, FTP, inetd, tftp, and BOOTP. On MPE/iX versions prior to 5.5, Telnet/iX was identified as part of the ARPA Services on the HP 3000. ARPA (Advanced Research Projects Agency) services are a subset of the MPE/iX Internet Services.
Overview Who Should Use this Manual Who Should Use this Manual This manual is intended for MPE/iX users who want to use the Telnet/iX product to communicate between the HP 3000 and other systems that support Telnet. Before Using this Telnet/iX Product In order to use the Telnet/iX product, it must first be installed and configured on the HP 3000 acting as the Client and/or Server. Refer to Configuring and Managing MPE/iX Internet Services manual.
Overview Telnet/iX Client & Server Telnet/iX Client & Server Telnet/iX provides the Telnet service over Transmission Control Protocol/Internet Protocol (TCP/IP) on MPE/iX. The Telnet/iX Client enables users on an HP 3000 to have direct access to HP 9000, HP 3000, and non-HP systems that support Telnet and TCP/IP. The Telnet/iX Server enables users on a remote system running standard Telnet services to log on and run most applications on the HP 3000.
Overview Telnet/iX Client & Server Figure 1-1 Telnet/iX Client The Telnet/iX Client supports eight-bit characters when communicating with the remote host. To use eight-bit characters, you may need to reconfigure your terminal or the remote host. Additionally, you may need to enable the binary option to allow an eight-bit data stream between the Telnet/iX Client and the remote host. Note that some remote hosts may not support eight-bit characters.
Overview Telnet/iX Client & Server After logging on to the remote HP 3000, the user can enter MPE/iX CI commands or access MPE applications on the remote HP 3000. The remote HP 3000 responds with messages and data to the local client. The local client may be a PC, HP 3000, HP 9000, or any system supporting the Telnet Protocol as shown in Figure 1-2.
Overview DTC Telnet Access DTC Telnet Access Another Telnet implementation is DTC Telnet Access. DTC Telnet Access provides Telnet connections from HP 9000 and non-HP systems running ARPA standard Telnet services to the HP 3000. The DTC Telnet Access solution includes a Telnet Access Card (TAC) that resides in the DTC 72MX or DTC 48 and provides protocol conversion between Telnet and Avesta Flow Control Protocol (AFCP). Equivalent functionality is provided by the Telnet Express Box (TEB) (HP 2344A).
Overview DTC Telnet Access 16 Chapter 1
2 Telnet/iX Client Commands This chapter provides a quick reference of the syntax and usage of the Telnet/iX Client commands. The commands are listed in alphabetic order.
Telnet/iX Client Commands Quick Reference Quick Reference Telnet/iX Client commands can be entered in upper case or lower case letters. Command abbreviations are not supported. NOTE Telnet/iX Client commands can only be entered in Telnet/iX command mode (at the telnet> prompt); entering a command at the remote host’s prompt when connected to a remote host will result in an error. While connected to a remote host, Telnet/iX command mode can be entered by typing [CTRL]-] (the default value).
Telnet/iX Client Commands Quick Reference DISPLAY [argument] HELP [command] MODE [mode] Displays all set and toggle values. If argument is specified, Telnet/iX will display the set or toggle value for that argument only. Displays a list of valid Telnet/iX Client commands and corresponding one-line command descriptions. If command is specified, Telnet/iX displays a one-line description of that command only. Equivalent to ? command. Changes the user input mode to the mode specified.
Telnet/iX Client Commands Quick Reference 20 ao Sends the Telnet AO (Abort Output) sequence which should (if the remote system supports this sequence) cause the remote system to flush all output from the remote system to the user’s terminal. ayt Sends the Telnet AYT (Are You There) sequence to which the remote system should (if the remote system supports this sequence) respond.
Telnet/iX Client Commands Quick Reference not be supported on some remote systems; an r will be echoed on the user’s terminal if it is not supported. SET [argument] [value] Sets argument entered to value. The special value off turns off the function associated with the variable. There is no special value on, which turns the function back on; you must assign a value to the variable. Use the DISPLAY command to list the current values of arguments.
Telnet/iX Client Commands Quick Reference STATUS TOGGLE [argument] 22 kill kill sends the Telnet EL sequence to the remote host if the Telnet/iX Client is in localchars mode (see TOGGLE [argument] command) and in character mode (see MODE [mode] command). Default is [CTRL]-X. quit quit sends the Telnet BRK sequence to the remote host if the Telnet/iX Client is in localchars mode (see TOGGLE [argument] command). Default is [CTRL]-\. Shows current status of the Telnet/iX Client.
Telnet/iX Client Commands Quick Reference previously typed input until both of the Telnet sequences have been read and acted upon. Default is FALSE. Chapter 2 binary Toggles binary mode. If this is TRUE, binary mode is enabled. This option should be enabled to send and receive 8-bit characters to and from the Telnet server. Default is FALSE. crlf Toggles carriage return/line feed mode. If this is TRUE, carriage returns will be sent as .
Telnet/iX Client Commands Quick Reference [argument] [value] command) are recognized locally and transformed into appropriate Telnet control sequences (ao, ip, brk, ec, and el, respectively). Default is TRUE in line mode and FALSE in character mode. 24 netdata Toggles the display of all network data (in hexadecimal format). If this is TRUE, all network data is displayed. Default is FALSE. options Toggles viewing of Telnet options processing.
3 Using the Telnet/iX Client This chapter provides you with the information you can use to accomplish the following tasks with the Telnet/iX Client: • Running the Telnet/iX Client Program • Viewing Telnet/iX Client Status • Connecting and Logging on to a Remote Host • Viewing a Remote Directory • Displaying/Setting/Toggling Telnet/iX Client Values • Suspending the Telnet/iX Client • Issuing MPE/iX Commands From Within Telnet/iX • Exiting the Telnet/iX Client The examples in this chapter show output receive
Using the Telnet/iX Client Running the Telnet/iX Client Program Running the Telnet/iX Client Program After you have established a session on the MPE/iX system, at the MPE/iX prompt enter: :TELNET A banner similar to the following appears: Telnet Client [A5500000] telnet> (C) Hewlett-Packard Co. 1994 If your CI variable, HPPATH, does not include ARPA.SYS, you can also enter the command as: :TELNET.ARPA.SYS or :RUN TELNET.ARPA.
Using the Telnet/iX Client Viewing Telnet/iX Client Status Viewing Telnet/iX Client Status You can view current Telnet/iX Client status regarding existing Telnet/iX connections and the current escape character by typing the STATUS command at the telnet> prompt: telnet> STATUS No connection. Escape character is “^]”. telnet> If there is an open Telnet/iX connection, this command reports the host to which you are connected and the current mode. For example: telnet> STATUS Connected to nodex3.test.hp.
Using the Telnet/iX Client Connecting and Logging On to a Remote Host Connecting and Logging On to a Remote Host From the Telnet/iX Client, you must establish a connection to the remote host you wish to access.
Using the Telnet/iX Client Connecting and Logging On to a Remote Host Logging On When opening a remote host connection, you can use any of the following: telnet> OPEN [IP address] [port] or OPEN [ARPA domain name] [port] or OPEN [NS node name] [port] or :telnet [IP address] | [ARPA domain name] | [NS node name] [port] Once the connection has been established, enter the remote user login name and password when prompted. You must know the user logon syntax for the remote host you are accessing.
Using the Telnet/iX Client Viewing a Remote Directory Viewing a Remote Directory With the Telnet/iX Client, you can view the remote working directory. Enter the UNIX ls command at the HP 9000’s prompt. A listing of the files in the remote working directory is displayed. /users/student: ls prog1 prog1.o headerA.
Using the Telnet/iX Client Displaying/Setting/Toggling Telnet/iX Client Values Displaying/Setting/Toggling Telnet/iX Client Values You can set or toggle Telnet/iX Client variables to specific values. Use the DISPLAY command at the telnet> prompt to list the current values of variables. telnet> DISPLAY will flush output when sending interrupt characters. won’t send interrupt characters in urgent mode. won’t map carriage return on output. won’t recognize certain control characters.
Using the Telnet/iX Client Displaying/Setting/Toggling Telnet/iX Client Values You can use the DISPLAY command to verify that carriage return mode is enabled.
Using the Telnet/iX Client Suspending the Telnet/iX Client Suspending the Telnet/iX Client You can suspend the Telnet/iX Client and return to the MPE/iX prompt by using the Z command: telnet> Z : Suspending the Telnet/iX Client using this command is equivalent to pressing the [Break] key. The RESUME or ABORT command can then be used on the program.
Using the Telnet/iX Client Issuing MPE/iX Commands From Within Telnet/iX Client Issuing MPE/iX Commands From Within Telnet/iX Client You can enter MPE/iX commands by preceding the command name with an exclamation point (!). The command will execute, and return you to the telnet> prompt on completion.
Using the Telnet/iX Client Exiting the Telnet/iX Client Exiting the Telnet/iX Client To close any open Telnet/iX session and exit the Telnet/iX Client, use the QUIT command: telnet> QUIT : Chapter 3 35
Using the Telnet/iX Client Exiting the Telnet/iX Client 36 Chapter 3
4 Accessing the Telnet/iX Server This chapter provides you with the information you can use to accomplish the following tasks with the Telnet/iX Server: • Connecting and Logging On to an HP 3000 Remote Host • Using the MPE Command Interpreter • Suspending the MPE Session • Checking the Telnet Connection Status • Exiting the MPE Session The examples in this chapter show output received from a Telnet client connection accessing an HP 3000 running MPE/iX version 5.5 or later.
Accessing the Telnet/iX Server Connecting and Logging On to an HP 3000 Remote Host Connecting and Logging On to an HP 3000 Remote Host After you have established a session to your local system, which supports the Telnet protocol and TCP/IP, run the Telnet client on that system. Use the client to establish a Telnet connection to the HP 3000 running MPE/iX version 5.5 or later. The same commands are used to connect to any remote host supporting the Telnet protocol.
Accessing the Telnet/iX Server Using the MPE Command interpreter Using the MPE Command interpreter After establishing a connection on the HP 3000 remote host, you now have access to the MPE command interpreter. For example, you can view the HP 3000 file directory by issuing the :LISTF command. A listing of the files in the HP 3000 file directory is displayed. node3000(PUB): listf nmconfig,3 ******************* FILE: NMCONFIG.PUB.
Accessing the Telnet/iX Server Suspending the MPE Session Suspending the MPE Session Suspend the remote MPE session and return to the local system prompt by using the Z command. For example if the local system is an HP 9000: node3000(PUB): [CTRL]-] telnet> Z [1] + Stopped telnet node3000 /usr: ls adm diag include lost+found bin doc lib man contrib etc local news vue To resume the remote MPE session, issue the appropriate command on the local system.
Accessing the Telnet/iX Server Exiting the MPE Session Exiting the MPE Session While connected to the HP 3000, you can check the status of your connection at any time: node3000(PUB): [CTRL]-] telnet> status Connected to node3000.cup.hp.com Operating in character-at-a-time mode. Escape character is “^]” To close any open MPE session and exit the Telnet/iX Server, use the MPE BYE command; or the Telnet client CLOSE command or the Telnet client QUIT command. node3000(PUB):bye CPU=3. Connect=1.
Accessing the Telnet/iX Server Exiting the MPE Session 42 Chapter 4
5 Troubleshooting This chapter describes possible problems you may encounter and the methods you can use to troubleshoot them.
Troubleshooting Cannot Run Telnet/iX Client Cannot Run Telnet/iX Client • Did you specify the correct filename.group.account to run the Telnet/iX Client program: TELNET.ARPA.SYS • Check with your network administrator: The network and link(s) must be active. • If you are able to run the Telnet/iX Client program but you see the message telnet/tcp: Unknown service at the Telnet/iX prompt, Telnet/iX was unable to find the Telnet service entry in the SERVICES.NET.SYS data base file.
Troubleshooting Cannot Connect to the Remote Host Cannot Connect to the Remote Host • Did you enter the correct ARPA domain name, IP address, or NS node name? See your network administrator.
Troubleshooting Cannot Logon to Remote Host Cannot Logon to Remote Host • If an MPE/iX user cannot log on to the remote system, verify that the remote host’s logon account and passwords are correct. • Try to directly log on the remote system without using a network, to see if the remote system is running.
Troubleshooting Telnet/iX Client Command Not Supported Telnet/iX Client Command Not Supported If you see the message “?Invalid command” at the Telnet/iX prompt, you have entered an invalid command. Type ? at the Telnet/iX prompt to see a list of valid Telnet/iX Client commands and corresponding one-line command descriptions.
Troubleshooting Problems Running HP 3000 Applications Problems Running HP 3000 Applications Telnet/iX Server connection cannot run application, or application does not behave correctly. Please see the Asynchronous Serial Communications Programmer’s Reference Manual to see if the application is attempting to use MPE/iX file system intrinsics not supported by the Telnet/iX Server.
Glossary A B address A numerical identifier defined and used by a particular protocol and associated software to distinguish one node from another. binary mode Data transfer scheme in which no special character processing is performed. All characters are considered to be data and are passed through with no control actions being taken. address resolution In NS networks, the mapping of node names to IP addresses and the mapping of IP addresses to subnet addresses. See also probe protocol, ARP.
Glossary Terminals can either be directly connected to the DTC, or they can be remotely connected through a Packet Assembler Disassembler (PAD). The DTC can be configured with DTC/X.25 Network Access cards and DTC/X.25 Network Access software. A DTC/X.25 iX Network Link consists of two software modules: the X.25 iX System Access software (running on the host) and the DTC/X.25 Network Access software (running on the DTC).
Glossary HOSTS.NET.SYS The host name database file which associates Internet addresses with official host names and aliases. resources and functions. Intrinsics perform common tasks such as file access and device control. I IP Internet Protocol. A protocol used to provide routing between different local networks in an internetwork, as well as among nodes in the same local network. The internet protocol corresponds to layer 3, the network layer, of the OSI model. See also IP address. IEEE 802.
Glossary N network address This can be either 1) the network portion of an IP address as opposed to the node portion, or 2) when referring to X.25 networks, it is a node's X.25 address. network directory A file containing information required for one node to communicate with other nodes in 1) an internetwork, 2) an X.25 network, or 3) a network that contains non-HP nodes. The active network directory on a node must be named NSDIR.NET.SYS.
Glossary NS Software application products that can be used to access data, initiate processes, and exchange information among nodes in the network. The NS 3000/iX Network Services include RPM, VT, RFA, RDBA, and NFT. NS 3000/iX Link Software and hardware that provides the connection between nodes on a network. Some of the NS 3000/iX links available are the ThinLAN 3000/iX Link and its ThickLAN option, the DTC/X.25 iX Network Link, FDDI, Token Ring, and the NS Point-to-Point 3000/iX Link.
Glossary names and aliases with the port number and protocol the services use. SERVSAMP.NET.SYS Sample services name data base file. subnet Another name for a network, especially if the network is part of an internetwork. The word subnet is also a synonym for intranet. subnet mask Grouping of bits that determines which bits of the IP address will be used to define a subnetwork. The subnet mask is configured using the NMMGR utility and specified in the same format as an IP address.
Glossary W WAN Wide Area Network. A data communications network of unlimited size, used for connecting localities, cities, and countries. X X.25 Defines the interface between a DTE and a DCE for packet mode operation on a public data network (PDN).
Glossary 56 Glossary
Index Erase Line, 20 exiting the Telnet/iX Client, 35, 41 Symbols !, 34 ! command, 18 ? command, 18 A Abort Output, 20 Advanced Research Progects Agengy, 10 AFCP, 15 AO, 20 Are You There, 20 argument ga, 20 ARPA, 10 Avesta Flow Control Protocol, 15 AYT, 20 B BYE, 41 G GA, 20 Go Ahead, 20 H HELP command, 19 I Internet Services, 10 Interrupt Process, 20 IP, 20 IP address, 28 Issuing MPE/iX commands, 34 L logging into the remote host, 29 C changing Telnet/iX Client values, 31 CLOSE, 29 CLOSE command, 18 cl
Index Telnet/iX Client values changing, 31 setting, 31 toggling, 31 TOGGLE, 31 TOGGLE argument ?, 22 autoflush, 22 autosynch, 23 binary, 23 crlf, 23 crmod, 23 debug, 23 echo, 23 localchars, 24 netdata, 24 options, 24 TOGGLE command, 22 toggling Telnet/iX Client values, 31 Transmission Control Protocol/Internet Protocol, 12 troubleshooting, 43 V view Telnet/iX Client status, 27 viewing remote directory, 30 Virtual Terminal, 13 VT, 13 Z Z, 33, 40 Z command, 24 58 Index