[ Previous | Next | Contents | Search ]
AIXLink/X.25 1.1 for AIX: Guide and Reference

xspad Command

Purpose

Starts a terminal PAD (Packet Assembler/Disassembler) session.

Syntax

xspad  -l Port -s OptFile ] | [ ] [ help ] [ -a Dest [ ,Source ] ] [ -c ] [ -e Add ] [ -f ] [ -g IDX ] [ -o IDX ] [ -p ATT ] [ -q ] [ -r ] [ -t ID ] [ -u Data ] [ -x ]

Description

The xspad commmand starts a terminal PAD (Packet Assembler/Disassembler) session. A PAD is a protocol converter interfacing asynchronous terminals with an X.25 network or an X.25 network with applications written for asynchronous terminals. See Packet Assembler/Disassembler for more information.

Flags

-a Dest [ ,Source ]
                          Specifies the destination X.25 address and optionally a source address. Dest and Source are ASCII strings of digits corresponding to BCD digits as described by the CCITT X.121 standard. Use of this flag is equivalent to interactively issuing the CALL command.
-c Adds the X.25 Charging facility.
-e Add Adds the X.25 Called Address Extension facility, where ADD is an ASCII string of digits corresponding to BCD digits. The X.213 format is not used since the PAD directly accesses X.25.
-f Adds the X.25 Fast Select With No Restriction facility.
-g IDX Adds the X.25 CUG Selection facility, where IDX is a 2 digit ASCII string corresponding to BCD digits of a user group index (Basic Format Only).
-l Port (Lowercase L) Specifies the name of a logical port to connect PAD to an AIX host. For example, sx25a2 may represent a physical line connected to an X.25 network switch.
-o IDX Adds the X.25 CUG with Outgoing Access Selection facility, where IDX is a 2 digit ASCII string corresponding to BCD digits of a user group index (Basic Format Only).
-p ATT Selects an initial X.28/X.3 profile. ATT identifies a profile containing a set of X.3 parameter values. It can have one of the following formats:
  • The # (number sign) character followed by a decimal number corresponding to a standard CCITT or custom profile, no spaces.
  • An ASCII string which does not begin with # or : (colon) and specifies the profile name.
-q Adds the X.25 Fast Select With Restriction Of Response facility.
-r Adds the X.25 Reverse Charging facility.
-s OptFile Specifies that OptFile contains the remainder of the command-line arguments. The syntax and semantics of the arguments are the same as if they were passed on the command line, except that they do not all need to be on the same line. You should not pass other flags on the command line with this option. In OptFile, blank lines are ignored and lines beginning with a # character are interpreted as comments.
-t ID Adds the X.25 RPOA facility, where ID is a 4 digit ASCII string corresponding to BCD digits of network identification code as described by X.25. (i.e. Basic Format Only.)
-u Data Adds user data to the X.25 Call Packet, where Data is an ASCII string as in the D option described by the interactive documentation.
-x Specifies to exit PAD after termination of a connection, typically after issuing CLEAR or ICLEAR command or reception of a CLEAR. The default behavior is that execution continues and establishment of another connection is possible without exiting or reinvoking the PAD.

Options

? Explains command line argument use.
help Displays the PAD help menu when invoking xspad and causes ignores all flags -l.

Exit Status

This command returns the following exit values:

0 Successful completion.
>0 An error occurred.

Security

Access Control: Any user.

Auditing Events: N/A

Examples

To start a PAD session:

  1. Ensure the PAD is configured on the system.
  2. Run xspad -l sx25a# where # is the port number.
  3. Issue the call to the remote X.25 host at the PAD prompt.
  4. Log on to the X.25 host and run the desired application.

Files

/usr/bin/xspad Contains the xspad command.

Related Information

Packet Assembler/Disassembler in AIXLink/X.25 Version 1 for AIX: Guide and Reference


[ Previous | Next | Contents | Search ]