TCP/IP (Parallel Library) Configuration and Management Manual
Configuring Parallel Library TCP/IP for Complex and 
Heavy-Use Environments
HP NonStop TCP/IP (Parallel Library) Configuration and Management Manual—522271-006
3-25
Example for Two Gateways — Standard Listening
Model
The TCPIPUP6 File
The following TACL command file starts the processes, adds and starts subsystem 
objects through SCF, and sets appropriate parameters. To add comments, use the 
word “comment” or a double equal sign (==). Some lines are discussed separately 
after the example.
The line:
ADD DEFINE =TCPIP^HOST^FILE, FILE $SYSTEM.ZTCPIP.HOSTS
sets the =TCPIP^HOST^FILE define to point to the desired HOSTS file. Having this 
define set informs the DNS to use the HOSTS file to translate host names to IP 
addresses. For information about the RESOLVER, see the TCP/IP and TCP/IPv6 
Programming Manual.
The RUN command:
LISTNER/NAME $LSN0, NOWAIT, PRI 170, CPU 0/1, &
OUT $ZHOME, TERM $ZHOME, &
$SYSTEM.ZTCPIP.PORTCONF
starts the LISTNER process responsible for starting the ECHO, FINGER, and FTP 
servers when a client request is received by the LISTNER process. You should run this 
process at a high priority. This command also specifies the location of the PORTCONF 
file used to designate which ports this process is to listen to. This process requires 
privileged access to some Parallel Library TCP/IP ports: therefore, always log on with a 
super group ID.
Example 3-7. TCPIPUP6 for LISTNER Environment and Two Gateways
comment ==== TCPIPUP6 =========TCPIPUP6 ========
comment TACL command file to bring up Parallel Library TCP/IP
comment subsystem 
comment Use HOSTS file for name resolution; not DNS 
 DELETE DEFINE TCPIP^HOST^FILE
 ADD DEFINE =TCPIP^HOST^FILE, FILE &
 $SYSTEM.ZTCPIP.HOSTS
comment ADD and START SUBNETS 
 SCF/IN $SYSTEM.TCPIP.SCFSBNT2/ 
comment Initialize LISTNERs for FTPSERV, ECHOSERV,
comment and FINGSERV 
comment Define the TCPSAM process for the LISTNER to use 
 DELETE DEFINE =TCPIP^PROCESS^NAME
 ADD DEFINE =TCPIP^PROCESS^NAME, class map, file $ZSAM0
comment Start the LISTNER
 LISTNER/NAME $LSN0, NOWAIT, PRI 170, CPU 0/1, &
 OUT $ZHOME, TERM $ZHOME, &
 $SYSTEM.ZTCPIP.PORTCONF
comment ====== END OF TCPIPUP6 ==== END OF TCPIPUP6 ==










