ibm-information-center/dist/eclipse/plugins/i5OS.ic.cl_5.4.0.1/addtcprsi.htm

328 lines
14 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<!doctype html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head><META http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Add TCP/IP Remote System (ADDTCPRSI)</title>
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
</head>
<body bgcolor="white">
<script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<a name="ADDTCPRSI.Top_Of_Page"></a>
<h2>Add TCP/IP Remote System (ADDTCPRSI)</h2>
<table width="100%">
<tr>
<td valign="top" align="left"><b>Where allowed to run: </b>All environments (*ALL)<br>
<b>Threadsafe: </b>No
</td>
<td valign="top" align="right">
<a href="#ADDTCPRSI.PARAMETERS.TABLE">Parameters</a><br>
<a href="#ADDTCPRSI.COMMAND.EXAMPLES">Examples</a><br>
<a href="#ADDTCPRSI.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="ADDTCPRSI"></a>
<p>The Add TCP/IP Remote System Information (ADDTCPRSI) command is used to associate an internet address with an X.25 network address or a local permanent virtual circuit (PVC) logical channel identifier in the TCP/IP configuration.
</p>
<p>When the user works with an X.25 public or private data network, the internet address and the network address of each remote system or local (PVC) logical channel identifier needs to be specified.
</p>
<p><b>ATTENTION:</b>
</p>
<ol>
<li>Do not specify the X.25 network address for systems on the X.25 Defense Data Network (DDN). The X.25 DDN has a built-in conversion algorithm that converts an IP address to the remote DTE address. If you specify an X.25 network address for remote systems on an X.25 DDN, the DDN conversion algorithm is bypassed. In this case it is possible that you will not be able to connect to the requested host.
</li>
<li>Before attempting to start an X.25 interface, ensure that the remote system information (RSI) for non-DDN X.25 interfaces that use a permanent virtual circuit (PVC) is configured. Use the Add TCP/IP Remote System Information (ADDTCPRSI) command to do this. Incoming data from a remote system on the X.25 network is not processed unless an RSI entry for the PVC is configured on the X.25 interface before the interface is started.
</li>
<li>Attempts to change or remove a route or interface that is required to reach an existing RSI entry will fail.
</li>
</ol>
<p><b>Restrictions:</b>
</p>
<ul>
<li>You must have input/output system configuration (*IOSYSCFG) special authority to run this command.
</li>
</ul>
<p>
<b>Note: </b>If specific values are entered for DFTPKTSIZE and DFTWDWSIZE and the interfaces or routes are changed, conflicts could result. If *LIND is used, these values are adjusted accordingly if changes occur at the interface and route level.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDTCPRSI.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="ADDTCPRSI.PARAMETERS.TABLE">Parameters</a></h3>
<table border="1" cellpadding="4" cellspacing="0">
<!-- col1="10" col2="15" col3="30" col4="10" -->
<tr>
<th bgcolor="aqua" valign="bottom" align="left">Keyword</th>
<th bgcolor="aqua" valign="bottom" align="left">Description</th>
<th bgcolor="aqua" valign="bottom" align="left">Choices</th>
<th bgcolor="aqua" valign="bottom" align="left">Notes</th>
</tr>
<tr>
<td valign="top"><a href="#ADDTCPRSI.INTNETADR"><b>INTNETADR</b></a></td>
<td valign="top">Internet address</td>
<td valign="top"><i>Character value</i></td>
<td valign="top">Required, Positional 1</td>
</tr>
<tr>
<td valign="top"><a href="#ADDTCPRSI.NETADR"><b>NETADR</b></a></td>
<td valign="top">Network address</td>
<td valign="top"><i>Character value</i></td>
<td valign="top">Optional, Positional 2</td>
</tr>
<tr>
<td valign="top"><a href="#ADDTCPRSI.PVCLGLCHLI"><b>PVCLGLCHLI</b></a></td>
<td valign="top">PVC logical channel identifier</td>
<td valign="top"><i>Character value</i></td>
<td valign="top">Optional, Positional 3</td>
</tr>
<tr>
<td valign="top"><a href="#ADDTCPRSI.RVSCRG"><b>RVSCRG</b></a></td>
<td valign="top">X.25 reverse charge</td>
<td valign="top"><b><u>*NONE</u></b>, *REQUEST, *ACCEPT, *BOTH</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top" rowspan="3"><a href="#ADDTCPRSI.DFTPKTSIZE"><b>DFTPKTSIZE</b></a></td>
<td valign="top">Default packet size</td>
<td valign="top"><i>Element list</i></td>
<td valign="top" rowspan="3">Optional</td>
</tr>
<tr>
<td valign="top">Element 1: Transmit packet size</td>
<td valign="top">
<b><u>*LIND</u></b>, 64, 128, 256, 512, 1024, 2048, 4096</td>
</tr>
<tr>
<td valign="top">Element 2: Receive packet size</td>
<td valign="top">
<b><u>*LIND</u></b>, *TRANSMIT, 64, 128, 256, 512, 1024, 2048, 4096</td>
</tr>
<tr>
<td valign="top" rowspan="3"><a href="#ADDTCPRSI.DFTWDWSIZE"><b>DFTWDWSIZE</b></a></td>
<td valign="top">Default window size</td>
<td valign="top"><i>Element list</i></td>
<td valign="top" rowspan="3">Optional</td>
</tr>
<tr>
<td valign="top">Element 1: Transmit window size</td>
<td valign="top">
1-15, <b><u>*LIND</u></b></td>
</tr>
<tr>
<td valign="top">Element 2: Receive window size</td>
<td valign="top">
1-15, <b><u>*LIND</u></b>, *TRANSMIT</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#ADDTCPRSI.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="ADDTCPRSI.INTNETADR"></a>
<h3>Internet address (INTNETADR)</h3>
<p>Specifies the internet address of the remote system. The internet address is specified in the form <i>nnn.nnn.nnn.nnn</i>, where <i>nnn</i> is a decimal number ranging from 0 through 255. An internet address is not valid if it has a value of all binary ones or all binary zeros for the network identifier (ID) portion or the host ID portion of the address. If the internet address is entered from a command line, the address must be enclosed in apostrophes.
</p>
<p>This is a required parameter.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDTCPRSI.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ADDTCPRSI.NETADR"></a>
<h3>Network address (NETADR)</h3>
<p>Specifies the X.25 network address or the DTE that is to be associated with the X.25 internet address. The user can specify a decimal number that is 1 through 17 digits in length.
</p>
<p>
<b>Note: </b>If you specify a value for this parameter, the PVCLGLCHLI parameter value cannot be specified.
</p>
<dl>
<dt><b><i>network-address</i></b></dt>
<dd>Specify the X.25 network address of a remote X.25 system.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDTCPRSI.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ADDTCPRSI.PVCLGLCHLI"></a>
<h3>PVC logical channel identifier (PVCLGLCHLI)</h3>
<p>Specifies the local permanent virtual circuit (PVC) logical channel identifier that is used to establish an X.25 PVC interface to the specified remote internet address. One unique channel identifier may be specified. This unique channel identifier must have been previously identified in the ADDTCPIFC or CHGTCPIFC command that defined a TCP/IP X.25 interface. The TCP/IP X.25 PVC logical channel identifier is used to establish the circuit between this system's TCP/IP X.25 interface and the host defined by the remote internet address. The logical channel identifier must also exist in the X.25 line description used for the TCP/IP X.25 interface.
</p>
<p><b>Notes:</b>
</p>
<ol>
<li>If this parameter's value is specified, the NETADR parameter value cannot be specified.
</li>
<li>When specifying a PVC, consider which interface or set of interfaces this RSI entry could use to connect to the remote system. Each of the interfaces that could be used to reach this RSI entry's remote system must have the specified PVC logical channel ID configured as part of the interface.
</li>
</ol>
<dl>
<dt><b><i>logical-channel-identifier</i></b></dt>
<dd>Specify the PVC logical channel identifier value. The value may be from 001 to FFF. Only 1 PVC logical channel identifier can be specified.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDTCPRSI.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ADDTCPRSI.RVSCRG"></a>
<h3>X.25 reverse charge (RVSCRG)</h3>
<p>Specifies whether reverse charges are accepted or requested on an X.25 remote system basis.
</p>
<dl>
<dt><b><u>*NONE</u></b></dt>
<dd>Reverse charges are not accepted or requested.
</dd>
<dt><b>*REQUEST</b></dt>
<dd>Reverse charges are requested on outgoing call request packets. Reverse charges are not accepted on incoming call request packets.
</dd>
<dt><b>*ACCEPT</b></dt>
<dd>Reverse charges are accepted on incoming call request packets. Reverse charges are not requested on outgoing call request packets.
</dd>
<dt><b>*BOTH</b></dt>
<dd>Reverse charges are requested for outgoing call request packets and are accepted on incoming call request packets.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDTCPRSI.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ADDTCPRSI.DFTPKTSIZE"></a>
<h3>Default packet size (DFTPKTSIZE)</h3>
<p>Specifies the default packet size used by the X.25 network for transmission and reception. The values specified here should match the default values used by the X.25 network.
</p>
<p><b>Element 1: Transmit packet size</b>
</p>
<dl>
<dt><b><u>*LIND</u></b></dt>
<dd>The value specified in the line description associated with the X.25 interface used to reach the remote system is used as the default packet size.
</dd>
<dt><b><i>transmit-packet-size</i></b></dt>
<dd>Specify a default packet size for transmission. The valid values for the packet size are 64, 128, 256, 512, 1024, 2048, and 4096.
</dd>
</dl>
<p><b>Element 2: Receive packet size</b>
</p>
<dl>
<dt><b><u>*LIND</u></b></dt>
<dd>The value specified in the line description associated with the X.25 interface used to reach the remote system is used as the default packet size.
</dd>
<dt><b>*TRANSMIT</b></dt>
<dd>The value specified as the packet size for transmission is used as the default for reception.
</dd>
<dt><b><i>receive-packet-size</i></b></dt>
<dd>Specify a default packet size for reception. The valid values for the packet size are 64, 128, 256, 512, 1024, 2048, and 4096.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDTCPRSI.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ADDTCPRSI.DFTWDWSIZE"></a>
<h3>Default window size (DFTWDWSIZE)</h3>
<p>Specifies the default packet window size for transmission to and reception from remote systems attached to the X.25 line.
</p>
<p><b>Element 1: Transmit window size</b>
</p>
<dl>
<dt><b><u>*LIND</u></b></dt>
<dd>The value specified in the line description associated with the X.25 interface used to reach the remote system is used as the default window size.
</dd>
<dt><b><i>1-15</i></b></dt>
<dd>Specify the appropriate default window size. Valid values range from 1 through 7 for networks that use modulus 8 packet numbering. Valid values range from 1 through 15 for networks that use 128 packet numbering. The modulus value is specified on the X.25 line description.
</dd>
</dl>
<p><b>Element 2: Receive window size</b>
</p>
<dl>
<dt><b>*LIND</b></dt>
<dd>The value specified in the line description associated with the X.25 interface used to reach the remote system is used as the default window size.
</dd>
<dt><b>*TRANSMIT</b></dt>
<dd>The value specified as the default window size for transmission is used as the default for reception.
</dd>
<dt><b><i>receive-window-size</i></b></dt>
<dd>Specify the appropriate default window size. Valid values range from 1 through 7 for networks that use modulus 8 packet numbering. Valid values range from 1 through 15 for networks that use 128 packet numbering. The modulus is specified on the X.25 line description.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDTCPRSI.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="ADDTCPRSI.COMMAND.EXAMPLES">Examples</a> </h3>
<p><b>Example 1: Adding RSI with NETADR</b>
</p>
<p>
<pre>
ADDTCPRSI INTNETADR('8.76.0.12') NETADR(4005)
</pre>
</p>
<p>This command allows the TCP/IP protocol stack to associate the internet address of 8.76.0.12 with the X.25 network address of 4005. Defaults are used for the remaining parameters.
</p>
<p><b>Example 2: Adding RSI with PVCLGLCHLI</b>
</p>
<p>
<pre>
ADDTCPRSI INTNETADR('145.9.43.188') PVCLGLCHLI(231)
</pre>
</p>
<p>This command allows the TCP/IP protocol stack to associate the internet address of 145.9.43.188 with the X.25 PVC local logical channel identifier 231. Defaults are used for the remaining parameters.
</p>
<p><b>Example 3: Adding RSI with Additional Parameters</b>
</p>
<p>
<pre>
ADDTCPRSI INTNETADR('135.63.45.23') NETADR(6031546)
RVSCRG(*BOTH) DFTPKTSIZE(1024 *TRANSMIT)
DFTWDWSIZE(*LIND *TRANSMIT)
</pre>
</p>
<p>This command allows the TCP/IP protocol stack to associate the internet address of 135.63.45.23 with the X.25 network address of 6031546. The reverse charges are used for both outgoing and incoming call request packets. The default packet size is set to 1024, and the default window size is set to the value specified in the line description associated with the X.25 interface used to reach the remote system.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDTCPRSI.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="ADDTCPRSI.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>TCP1D03</b></dt>
<dd>&amp;1 member record length not correct.
</dd>
<dt><b>TCP1D04</b></dt>
<dd>Error occurred processing member &amp;1 of &amp;2/&amp;3.
</dd>
<dt><b>TCP1901</b></dt>
<dd>Internet address &amp;1 not valid.
</dd>
<dt><b>TCP1902</b></dt>
<dd>Internet address &amp;1 not valid.
</dd>
<dt><b>TCP1908</b></dt>
<dd>Internet address &amp;1 not valid.
</dd>
<dt><b>TCP26D5</b></dt>
<dd>Error occurred processing file.
</dd>
<dt><b>TCP8050</b></dt>
<dd>*IOSYSCFG authority required to use &amp;1.
</dd>
<dt><b>TCP9999</b></dt>
<dd>Internal system error in program &amp;1.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDTCPRSI.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>