2 echo—testing network connections, Running echo at a terminal, Sending one line of data – HP Integrity NonStop H-Series User Manual

Page 27

Advertising
background image

2 ECHO—Testing Network Connections

The ECHO client allows you to test your connection to a remote system by sending data to the
ECHO server on that system. If the ECHO server returns the data you transmitted, you know that
the server is running and accessible. In other words, the remote server echoes the data you transmit.

For more detailed technical information about ECHO, refer to Network Working Group RFC 862.
This RFC is available at several Web sites. To find these sites, type “RFC 862” in the search field
of your Internet search engine.

Running ECHO at a Terminal

You can run the ECHO client from any terminal connected to a Guardian system, including a
workstation emulating a 6530 terminal or network virtual terminal. HP NonStop ECHO does not
service UDP ports.

To run the ECHO client, you enter the ECHO run command. The format of the command is:

echo [ / run-option [ , run-option ] ... / ] host

run-option

is an operating system RUN command option. See the RUN command in the TACL Reference
Manual
for a complete description of the run options. The most useful run option to use with
ECHO is the IN filename option. See

“Sending a Data File” (page 28)

, in this section for

an example.

host

identifies the remote host system. You can specify host as a host name or host address. See
Addressing Remote Hosts, in Section 1, Introduction to TCP/IP Applications and Utilities, for
information about specifying host names and addresses.

The following command establishes a connection with a remote system named dist101:

TACL 4> echo dist101
Establishing Connection to dist101...Connected

When you see the first part of this message, you can assume that ECHO has successfully converted
the host name you specified to an internet address. (If you specify a domain name, the data is sent
to and received from the Domain Name server.) If you do not see this message, contact your system
administrator to report a name resolution problem.

NOTE:

Ask your system manager for the name of an appropriate TCP/IP process to serve as

your transport service provider.

Considerations for choosing an appropriate process are:

When you see the message “Connected,” you know you are connected to the remote system. You
will also hear a beep, if your terminal has an audible alarm. The message “Connection Refused”
indicates that the remote system is accessible but has no active ECHO server.

Sending One Line of Data

After you have established a connection to the remote system, you can send data by typing a line
of characters and pressing the RETURN key. Each line you type is echoed on your terminal screen.
If the ECHO server is functioning properly, each line you type should be unchanged.

When you have finished testing the connection, press the CTRL and Y keys simultaneously to
disconnect from the remote system.

The following example tests one line of data:

TACL 5> echo dist101
Establishing Connection to dist101...Connected
The quick brown fox jumped over the lazy dog.

Running ECHO at a Terminal

27

Advertising
This manual is related to the following products: