x25check(1M)
Requires Optional X.25 Software
NAME
x25check, x25server − test connectivity between local and remote X.25 nodes
SYNOPSIS
/etc/x25check
/etc/x25check x121_addr [-i prog_access_name] [-n num_packets] [-s size_of_packets]
/etc/x25server
DESCRIPTION
x25check tests the connectivity of an X.25 interface up to the programmatic level. x25check, runs interactively when executed without any parameters and options. If parameters and options are specified, x25check runs without user interaction. x25check operates in conjunction with the x25server daemon to perform the test.
The test can be performed as a self-test, or in conjunction with a remote node. When performing a selftest, the designated X.25 interface must be connected to a X.25 packet switched data network, and the X.121 address specified is the address of the local X.25 interface card. If the test is to be performed in conjunction with a remote node, the X.25 interface card can be in any valid configuration (connected to a PSN or in a back-to-back configuration, but an x25server daemon must be running on the remote node. Note, that the remote node can in fact be another X.25 interface card on the local host.
During the test, x25check establishes a VC connection with the x25server daemon on the remote host and transmits the specified number of data packets of the specified size and closes the VC. In self-test mode the local x25server daemon communicates with x25check.
The x25server daemon is typically started in the /etc/netlinkrc file.
Parameters
x25check recognizes the following options and command-line arguments:
x121_addr specifies the X.121 address of the node to which x25check establishes a virtual circuit connection. It can be the address of either a remote node or another interface card on the local host, or if self-test is being performed, the address of the interface card on your local node. This parameter is required if an option is specified. x121_addr can be specified in the command line or interactively.
The following x25check options can be specified on the command line, but only the prog_access_name can be specified interactively.
-i prog_access_name
The X.25 programmatic access name as defined by the x25init command (see x25init(1M)). Default: The interface card referenced by /dev/x25_0.
-n num_packets Specifies the number of packets of data that you choose to send. Default: If -s is specified 1, otherwise 0.
-s size_of_packets Specifies the number of octets contained in each packet. The value must be less than the maximum packet size of 65535. If this parameter is specified, the default for -n becomes 1. Default: 128 octets.
DIAGNOSTICS
If the node to which a message is sent is unable to receive or respond to the message, the network provider rejects the call packet and sends a clear packet to the originator. The cause code and diagnostic code from the clear packet is displayed along with a diagnostic message.
AUTHOR
x25check was developed by HP.
SEE ALSO
Installing and Administering X.25/9000.
Hewlett-Packard Company — HP-UX Release 9.10: April 1995