Compaq TCP/IP Services for OpenVMS

Compaq TCP/IP Services for OpenVMS

User's Guide

Order Number: AA--PC27K--TE


April 2002

This manual explains the user services available with the Compaq TCP/IP Services for OpenVMS product.

Revision Information: This manual supersedes the Compaq TCP/IP Services for OpenVMS User's Guide, Version 5.0.

Software Version: Compaq TCP/IP Services for OpenVMS Version 5.3

Operating Systems: OpenVMS Alpha Versions 7.2-2, 7.3 OpenVMS VAX Versions 7.2, 7.3





Compaq Computer Corporation Houston, Texas


© 2002 Compaq Information Technologies Group, L.P.

Compaq, the Compaq logo, Alpha, OpenVMS, Tru64, VAX, VMS, and the Digital logo are trademarks of Compaq Information Technologies Group, L.P. in the U.S. and/or other countries.

UNIX is a trademark of The Open Group in the U.S. and/or other countries.

All other product names mentioned herein may be trademarks of their respective companies.

Confidential computer software. Valid license from Compaq required for possession, use, or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer Software, Computer Software Documentation, and Technical Data for Commercial Items are licensed to the U.S. Government under vendor's standard commercial license.

Compaq shall not be liable for technical or editorial errors or omissions contained herein. The information in this document is provided "as is" without warranty of any kind and is subject to change without notice. The warranties for Compaq products are set forth in the express limited warranty statements accompanying such products. Nothing herein should be construed as constituting an additional warranty.

ZK6525

This document is available on CD-ROM.

This document was prepared using DECdocument, Version V3.3-1e.

Contents Index


Preface

The Compaq TCP/IP Services for OpenVMS product is Compaq's implementation of the TCP/IP networking protocol suite and internet services for OpenVMS Alpha and OpenVMS VAX systems.

A layered software product, TCP/IP Services provides a comprehensive suite of functions and applications that support industry-standard protocols for heterogeneous network communications and resource sharing.

This manual explains how to use the user utilities and commands provided with the TCP/IP Services product. It assumes that these services have been installed and configured on your OpenVMS system and that you have a basic understanding of the OpenVMS operating system.

Intended Audience

This manual is for OpenVMS users who want to communicate with remote hosts on a private internet or on the worldwide Internet.

Document Structure

This manual contains following chapters:

Related Documents

Table 1 lists the documents available with this version of TCP/IP Services.

Table 1 TCP/IP Services Documentation
Manual Contents
Compaq TCP/IP Services for OpenVMS Concepts and Planning This manual provides conceptual information about TCP/IP networking on OpenVMS systems, including general planning issues to consider before configuring your system to use the TCP/IP Services software.

This manual also describes the manuals in the TCP/IP Services documentation set and provides a glossary of terms and acronyms for the TCP/IP Services software product.

Compaq TCP/IP Services for OpenVMS Release Notes This text file describes new features and changes to the software including installation, upgrade, configuration, and compatibility information. These notes also describe new and existing software problems and restrictions, and software and documentation corrections.

Print this text file at the beginning of the installation procedure and read it before you install TCP/IP Services.

Compaq TCP/IP Services for OpenVMS Installation and Configuration This manual explains how to install and configure the TCP/IP Services product.
Compaq TCP/IP Services for OpenVMS User's Guide This manual describes how to use the applications available with TCP/IP Services such as remote file operations, e-mail, TELNET, TN3270, and network printing. This manual also explains how to use these services to communicate with systems on private internets or on the worldwide Internet.
Compaq TCP/IP Services for OpenVMS Management This manual describes how to configure and manage the TCP/IP Services product.

Use this manual with the Compaq TCP/IP Services for OpenVMS Management Command Reference manual.

Compaq TCP/IP Services for OpenVMS Management Command Reference This manual describes the Compaq TCP/IP Services for OpenVMS management commands.

Use this manual with the Compaq TCP/IP Services for OpenVMS Management manual.

Compaq TCP/IP Services for OpenVMS Management Command Quick Reference Card This reference card lists the TCP/IP management commands by component and describes the purpose of each command.
Compaq TCP/IP Services for OpenVMS UNIX Command Reference Card This reference card contains information about commonly performed network management tasks and their corresponding TCP/IP management and Compaq Tru64 UNIX command formats.
Compaq TCP/IP Services for OpenVMS ONC RPC Programming This manual presents an overview of high-level programming using open network computing remote procedure calls (ONC RPC). This manual also describes the RPC programming interface and how to use the RPCGEN protocol compiler to create applications.
Compaq TCP/IP Services for OpenVMS Sockets API and System Services Programming This manual describes how to use the Sockets API and OpenVMS system services to develop network applications.
Compaq TCP/IP Services for OpenVMS SNMP Programming and Reference This manual describes the Simple Network Management Protocol (SNMP) and the SNMP application programming interface (eSNMP). It describes the subagents provided with the TCP/IP Services, utilities provided for managing subagents, and how to build your own subagents.
Compaq TCP/IP Services for OpenVMS Tuning and Troubleshooting This manual provides information about how to isolate the causes of network problems and how to tune the TCP/IP Services software for the best performance.
Compaq TCP/IP Services for OpenVMS Guide to IPv6 This manual describes the IPv6 environment, the roles of systems in this environment, the types and function of the different IPv6 addresses, and how to configure TCP/IP Services to access the 6bone network.

For additional information about Compaq OpenVMS products and services, access the Compaq website at the following location:


http://www.openvms.compaq.com/ 

For a comprehensive overview of the TCP/IP protocol suite, you might find the book Internetworking with TCP/IP: Principles, Protocols, and Architecture, by Douglas Comer, useful.

Reader's Comments

Compaq welcomes your comments on this manual. Please send comments to either of the following addresses:
Internet openvmsdoc@compaq.com
Mail Compaq Computer Corporation
OSSG Documentation Group, ZKO3-4/U08
110 Spit Brook Rd.
Nashua, NH 03062-2698

How to Order Additional Documentation

Visit the following World Wide Web address for information about how to order additional documentation:


http://www.openvms.compaq.com/ 

Conventions

The name TCP/IP Services means both:

The name UNIX refers to the Compaq Tru64 UNIX operating system.

The following conventions are used in this manual. In addition, please note that all IP addresses are fictitious.
Ctrl/ x A sequence such as Ctrl/ x indicates that you must hold down the key labeled Ctrl while you press another key or a pointing device button.
PF1 x A sequence such as PF1 x indicates that you must first press and release the key labeled PF1 and then press and release another key or a pointing device button.
[Return] In examples, a key name enclosed in a box indicates that you press a key on the keyboard. (In text, a key name is not enclosed in a box.)

In the HTML version of this document, this convention appears as brackets, rather than a box.

... A horizontal ellipsis in examples indicates one of the following possibilities:
  • Additional optional arguments in a statement have been omitted.
  • The preceding item or items can be repeated one or more times.
  • Additional parameters, values, or other information can be entered.
.
.
.
A vertical ellipsis indicates the omission of items from a code example or command format; the items are omitted because they are not important to the topic being discussed.
( ) In command format descriptions, parentheses indicate that you must enclose choices in parentheses if you specify more than one.
[ ] In command format descriptions, brackets indicate optional choices. You can choose one or more items or no items. Do not type the brackets on the command line. However, you must include the brackets in the syntax for OpenVMS directory specifications and for a substring specification in an assignment statement.
| In command format descriptions, vertical bars separate choices within brackets or braces. Within brackets, the choices are optional; within braces, at least one choice is required. Do not type the vertical bars on the command line.
{ } In command format descriptions, braces indicate required choices; you must choose at least one of the items listed. Do not type the braces on the command line.
bold text This typeface represents the introduction of a new term. It also represents the name of an argument, an attribute, or a reason.
italic text Italic text indicates important information, complete titles of manuals, or variables. Variables include information that varies in system output (Internal error number), in command lines (/PRODUCER= name), and in command parameters in text (where dd represents the predefined code for the device type).
UPPERCASE TEXT Uppercase text indicates a command, the name of a routine, the name of a file, or the abbreviation for a system privilege.
Monospace text Monospace type indicates code examples and interactive screen displays.

In the C programming language, monospace type in text identifies the following elements: keywords, the names of independently compiled external functions and files, syntax summaries, and references to variables or identifiers introduced in an example.

- A hyphen at the end of a command format description, command line, or code line indicates that the command or statement continues on the following line.
numbers All numbers in text are assumed to be decimal unless otherwise noted. Nondecimal radixes---binary, octal, or hexadecimal---are explicitly indicated.


Chapter 1
Getting Started

TCP/IP is an open communications standard that enables any connected host to communicate with any other connected host. The Compaq TCP/IP Services for OpenVMS product is Compaq's implementation of TCP/IP for the OpenVMS operating system.

The Compaq TCP/IP Services for OpenVMS software allows you to communicate and share resources with remote OpenVMS systems, UNIX systems, and other systems that support the TCP/IP protocol suite.

The product consists of a number of components that implement various TCP/IP protocols. These components provide remote computing, file transfer, resource sharing, electronic mail, and network services as described in the following table:

Table 1-1 TCP/IP Components
Remote Computing
FINGER Display information about users logged in to a remote host, such as their login user names or programs they are using.
RCP Copy files between the local host and a remote host or between two remote hosts. Requests are authenticated on the remote host or hosts using the user name supplied by RCP.
RLOGIN Connect to a remote host, which starts an interactive login session. Requests are authenticated on the remote host using the user name supplied by RLOGIN.
RMT/RCD Access magnetic tape and CD drives on a remote host as though they are available locally.
RSH Connect to a remote host, which executes the command you specify. Requests are authenticated on the remote host using the user name supplied to RSH.
RSH/PASSWORD Use the REXEC facility to connect to the remote host, which executes the command you specify. Requests are authenticated on the remote host using the user name and password supplied by RSH.
TELNET Log in to a remote host in a network using various options to customize the session, control output from the remote host, and negotiate compatibility differences. To start a TELNET session, enter the following command:
$ TELNET

File Transfer
FTP Create, delete, and copy files and directories between hosts. To start an FTP session, enter the following command:
$ FTP

TFTP Transfer files using the UDP protocol and no authentication. Typically used during the bootstrap process of diskless systems.
Resource Sharing
LPD/LPR Print files on remote and local hosts.
NFS Authenticate requests and provide access to remote files.
TELNETSYM Print files on remote hosts using the TELNET protocol.
Electronic Mail
POP Send and receive electronic mail from your PC.
SMTP Send and receive electronic mail from remote hosts.
Network Services
BIND Name and address resolution service to distribute and manage host information.
BOOTP Answer bootstrap requests from remote devices.
DHCP Configure and maintain your IP address space including the temporary assignment of IP addresses.
Management commands Manage your TCP/IP environment. To start the management control program, enter the following command:
$ TCPIP

For online descriptions of the management commands, enter the following command:

$ TCPIP HELP

NSLOOKUP Determine if your local name server is running correctly or retrieve information from remote servers.
NTP Synchronize time between hosts.
PPP Connect a node to a network using IP or other supported network protocols.
SLIP, CSLIP Connect a node to a network over a serial connection using IP.
SNMP Monitor and manage network devices from across an internetwork.
TCPTRACE Trace packets going in and out of the system.

Your particular installation may include some or all of the above components. For information about the components available to you, see your system or network manager.

System or network managers are generally authorized to install, configure, and manage the various TCP/IP components on your system. And, as such, many of the TCP/IP components are used primarily by system or network managers and are seldom needed by TCP/IP users. You can find the details of system management components and commands in the Compaq TCP/IP Services for OpenVMS Management guide and the Compaq TCP/IP Services for OpenVMS Management Command Reference manual.

If you are a TCP/IP user and want to manipulate files on remote systems, send and receive electronic mail, log in to remote systems, or enter commands remotely, this user guide provides the information and commands you need.

1.1 Which Service Should You Use?

Some of the Compaq TCP/IP Services for OpenVMS components provide similar capabilities. Table 1-2 helps you determine the best component to use for your specific needs and indicates where to look for information about that component.

Table 1-2 Components to Use for Specific Tasks
To obtain user information, if you need to... Use... Refer to...
Get information about users logged in to a remote host, such as their login user names, current program being used, and last login. FINGER Section 7.3
Get information about users logged in to your OpenVMS Cluster. FINGER Section 7.3
To copy files, if you need to... Use... Refer to...
Perform other operations on the files, such as deleting, renaming, appending, and viewing files. FTP Section 2.9, Section 2.10, Section 2.11
Copy multiple files to or from one or more unrelated directories on the remote host. FTP Section 2.3.1, Section 2.6, Section 2.8
Copy every file and subdirectory in a directory on a host, preserving the directory hierarchy. RCP Section 3.4
Create or delete directories, and display the contents of directories. FTP Section 2.5,Section 2.7
Copy files between two remote hosts. RCP Section 3.8
Perform fast file transfers between two OpenVMS hosts. FTP Section 2.8.4
Copy files to and from a remote UNIX system, preserving RMS file attributes. FTP Section 2.8.5
Copy files, preserving the protection mode and modification date. RCP Section 3.8
Copy and work with files using DECnet file specifications. FTP Section 2.15
To print files, if you need to... Use... Refer to...
Send local files to a remote host printer or print queue, using the OpenVMS printing options such as customizing the printed page with special print forms and specifying the number of copies to print. DCL PRINT Section 6.1
Display the status of remote print queue jobs and cancel print jobs in that queue. LPQ, LPRM Section 6.2, Section 6.3
Send remote UNIX files to a local print queue. lpr + Section 6.4
To log in to remote accounts, if you need to... Use... Refer to...
Log in to a remote host that runs Remote (R) protocols. RLOGIN Section 3.5
Log in to a remote host, using many options to customize the session, control output from the remote host, and negotiate compatibility differences. TELNET Section 4.10
Establish multiple, simultaneous login connections with one or more hosts, and toggle between the sessions. TELNET Section 4.9
Log in using IBM 3270 Information System (IDS) terminal emulation with a host that uses IBM 3270 model terminals. TN3270 Section 4.12
To enter remote commands, if you need to... Use... Refer to...
Enter a command on a remote host, including a command that invokes a remote shell script or command procedure, with any output displayed at your terminal. RSH, REXEC Section 3.6, Section 3.7
Enter a command, without specifying user authentication information, on a remote host that has authentication files. RSH Section 3.6
Enter a command and password to a host that does not have authentication files for you. RSH/PASSWORD++ Section 3.7
To send and receive mail, if you need to... Use... Refer to...
Send mail to, and receive mail from, a remote host using SMTP. MAIL Chapter 5
Send and receive OpenVMS mail, at your PC. MAIL, POP Section 5.11


+This command must be entered at the remote UNIX host. A queue on your local OpenVMS system must be set up by the system manager to receive the UNIX print jobs. The queue must be identifiable by the UNIX system.
++Issuing the /PASSWORD qualifier with the RSH command invokes the REXEC facility, which sends the password to the specified remote host.


Next Contents Index