describes the parameters that you must specify to use an asynchronous line
description with AS/400 TCP/IPpoint-to-point configuration profiles. This topic also
discusses parameters and parameter values that differ from the command defaults.
For more information about the parameters options for the CRTLINASC command,
see the
Communications Configuration
book.
Two examples of commands to create asynchronous line descriptions follow.The
line MODEMLIN using resource LIN011 is an example for a line that is connected to
a modem. The line description NOMODEMLIN using resource LIN022 is an
example of a direct connection. That is, the physical line for NOMODEMLIN is
directly connected to the remote system through a null modem adapter.
CRTLINASC Parameters When Using a Modem:
The following topic discusses a
command that was used to create an asynchronous line description that is named
MODEMLIN. MODEMLIN uses resource LIN011. It was created to be used with
AS/400 point-to-point TCP/IP.Figure 103 on page 155 shows the parameters that
you should use for an asynchronous line that is attached to a modem.
CRTLINASC LIND(MODEMLIN) RSRCNAME(LIN011)
LINESPEED(19200) MAXBUFFER(1500)
CNN(*SWTPP) DIALCMD(*OTHER)
SWTCNN(*DIAL) AUTOANS(*NO)
AUTODIAL(*YES) INACTTMR(*NOMAX)
LIND(MODEMLIN)
The name of the line description- you specify this name in any AS/400 TCP/IP
point-to-point configuration profile that uses this line.
RSRCNAME(LIN011)
The unique name that is assigned by AS/400 to identify the physical
communications port attached to your system. This example uses LIN011as
the name AS/400 has associated with the communications port. For information
about how to determine the resource name you need, see “Hardware
Requirements for the Asynchronous Line Description”on page 128.
LINESPEED(19200)
The line speed of the asynchronous line in bits per second (bps). If your
modem supports data rate conversion, you should be able to use line speed
19200. Most modems that support error correction also support data rate
conversion. If your modem does not support data rate conversion, then the
asynchronous line speed must match the rate that the modem connects to the
remote system.
Note: The 19,200 line speed is used for illustration here because this value
can be specified on any AS/400 system using any adapter and IOP
combination. If both your modem and AS/400 hardware support a higher
line speed, use this value instead.
See “Step 2 - Configure AS/400 For YourModem” on page 130 for more
information on configuring your modem.
MAXBUFFER(1500)
The maximum size of any single data packet sent across the line. This value
must always be at least as large as the value specified for the Maximum
Transmission Unit (MTU) in any TCP/IP point-to-point profile that uses this line.
Note: The value MAXBUFFER(1500) is used in this example because the
value 1500 is larger than any MTU value that could be specified in a
TCP/IP point-to-point configuration profile.
Chapter4. Configuring Point-to-Point TCP/IP (PPP and SLIP) 153