IBM SC41-5420-04 manual Starting TCP/IP and TCP/IP Servers, Dspmsg Qsysopr Dspmsg Qtcp

Page 38

Step 8—Starting TCP/IP and TCP/IP Servers

Before any TCP/IP services are available on the iSeries system, TCP/IP processing must be initialized and activated. To start TCP/IP, you have two options:

1.Select option 3 from the TCP/IP Administration menu (GO TCPADM),

2.Enter the Start TCP/IP (STRTCP) command.

The STRTCP command initializes and activates TCP/IP processing, starts the TCP/IP interfaces, and starts the TCP/IP server jobs. Only TCP/IP interfaces with AUTOSTART *YES are started at STRTCP time. Allow a few moments for TCP/IP to start, and then check to see if the QTCPIP job has started.

Option 20 of the TCP/IP Administration menu allows you to display the jobs related with TCP/IP. You can also use the following command:

WRKACTJOB SBS(QSYSWRK) JOB(QT*)

The job QTCPIP should be displayed.

Messages indicating that TCP/IP has been started are sent to the QTCP and QSYSOPR message queues. To check for the successful start of TCP/IP, enter either of these commands:

DSPMSG QSYSOPR

DSPMSG QTCP

Figure 17 contains a sample of the messages that are issued.

STRTCP issued by job 007138/DJONES/DSP02. QTCPIP job started.

127.0.0.1 interface started.

QTCPIP job starting 9.5.5.162 interface.

127.0.0.2interface started.

SNMP Server starting. TELNET Server starting FTP Server starting SMTP Server starting POP Server starting LPD Server starting 9.5.5.162 interface started. STRTCP completed successfully.

Figure 17. Sample Messages from STRTCP with All Applications Autostarted

If the QTCPIP job does not start, look for spooled job logs. Generally, the user for these job logs is QTCP. Use the Work with Spooled Files (WRKSPLF) command and specify QTCP for the user (WRKSPLF QTCP) to find the logs.

Application Servers: The TCP/IP application server jobs run under subsystem QSYSWRK. Several types of TCP/IP server jobs run in the QSYSWRK subsystem. They are the server jobs for TELNET, POP, FTP, SMTP, LPD, BOOTP, TFTP, RouteD, REXEC, and SNMP.

The STRTCP command starts the server jobs for an application if the automatic start attribute for that server is equal to *YES. To change the autostart attribute for an application, do either of the following:

vSelect option 2 from the TCP/IP Administration menu

vOption 20 from the TCP/IP Configuration menu

24OS/400 TCP/IP Configuration and Reference V5R1

Image 38
Contents TCP/IP Configuration and Reference Page TCP/IP Configuration and Reference Fifth Edition May Contents Index About TCP/IP Configuration and Reference SC41-5420 Vi OS/400 TCP/IP Configuration and Reference V5R1 Prerequisite and related information Operations NavigatorViii OS/400 TCP/IP Configuration and Reference V5R1 Page OS/400 TCP/IP Configuration and Reference V5R1 Summary of changes Xii OS/400 TCP/IP Configuration and Reference V5R1 Configuring TCP/IP What you need to know before you can configure TCP/IPPlanning for TCP/IP Installation and Configuration Gathering Information About your NetworkTCP/IP Planning Checklists Line Description Parameters ChecklistLocal TCP/IP Host Information Checklist Interfaces to Local TCP/IP NetworksInstalling the TCP/IP Application Programs 25 / Remote System InformationUsing the TCP/IP Administration Menu TcpadmUsing the Configure TCP/IP Menu Configure TCP/IP Menu CfgtcpServices table Configuring TCP/IP using the EZ-Setup WizardConfiguring TCP/IP using the Command Line Interface Protocol tableImportant Note Configuring a Line DescriptionConfiguring a TCP/IP Interface Internet addressAssociated local interface Subnet maskLine description Automatic startConfiguring TCP/IP Routes Do you need to add routes at all?Route destination Maximum Transmission Unit MTU sizeDftroute None Preferred binding interfaceAdding TCP/IP routes NO, *YES Multiple Default RoutesNormal IP Datagram Forwarding Configuring TCP/IP attributesConfiguring TCP/IP Remote System Information Adding Remote System InformationLind 15, *LIND, *TRANSMIT PVCNone NONE, *REQUEST, *ACCEPT Configuring TCP/IP Host Table Entries Adding an Entry to the Host TableWork with TCP/IP Host Table Display DNS BernMacian Localhost SYSNAM890Loopback Configuring the Local Domain and Host Name AnyNet/400 Appc over TCP/IPDomain Name System DNS Server LocalStarting TCP/IP and TCP/IP Servers Dspmsg Qsysopr Dspmsg QtcpTCP/IP Jobs Job Name DescriptionVerifying the TCP/IP Connection End TCP/IP EndtcpVerifying Additional TCP/IP Connections Successful Ping MessagesVerify TCP/IP Connection Verify TCP/IP Connection VfytcpcnnVERBOSE, *QUIET Verifying TCP/IP Connections with Host Name-ExampleVerify TCP/IP Connection Ping COMP, *ESCAPESaving Your TCP/IP Configuration Verifying TCP/IP Connections with Internet Address-ExampleConfiguring TCP/IP 32 OS/400 TCP/IP Configuration and Reference V5R1 Network Status Work with TCP/IP Network Status MenuWork with TCP/IP Interface Status Work with TCP/IP Interface StatusWork with TCP/IP Network Status Internet Network LineInternet Subnet Type Opt Address Mask ServiceStarting TCP/IP Interfaces MaxthrputEnding TCP/IP Interfaces Route Subnet Next Opt Destination Mask Hop Available Display TCP/IP Route InformationDisplay TCP/IP Route Information Type Source Route Type Opt Destination ServiceWork with TCP/IP Connection Status BottomRemote Local Opt Address Port User Bytes Out Work with TCP/IP Connection StatusRemote Local Opt Address Port Idle Time State Remote Local Opt Address Port Type Ending TCP/IP ConnectionsALL TCPWorking with Configuration Status Confirm End of TCP/IP ConnectionsOpt Description Status Job Displaying TCP/IP Network Status InformationDisplay Multicast Groups Trnline Active Trnlinet Trnlitcp QtcpipHost Group Hardware Address Displaying TCP/IP InterfacesDisplay Multicast Host Groups Trlan Displaying Associated RoutesDisplay TCP/IP Interface Status MSBRoute Subnet Next Opt Destination Mask Hop Displaying Route Details OptionDisplay Associated Routes Direct Displaying TCP/IP Route InformationDisplay TCP/IP Route Details Display TCP/IP Route Information, Display 1 Displaying TCP/IP Connections Display TCP Connection StatusDisplaying Connection Totals Display TCP/IP Connection Status, Display 2TCP/IP Host Tables Display TCP/IP Connection TotalsHost Table Information with *AIX Files Managing TCP/IP Host TablesHost File Formats Host Table Information with *NIC FilesHost Table Information with *AS400 Files Tips for Merging Host TablesMerging TCP/IP Host Tables Managing the Host Table from a Central Site Merge the File Negative Advice from TCP or the Data Link Layer Dead Gateway ProcessingHow IP Responds to Negative Advice Multihoming FunctionMultihoming Single Host, Single Network, Single Line Per physical LAN only Example The Multihoming function Multihoming TCP/IP NetworkLoopback None Type of Service TOSX25LINE Multiple Routes TOS ExampleTCP/IP Port Restriction Configuring TCP/IP Port Restrictions PaoloGerry UDP, *TCPOnly Configure Related Tables Menu Related Tables and the Host TableWork with Service Table Entry Display Using X.25 PVC instead of SVC IBMMulticast Restrictions Chglintrn Lindtrnline FCNADRC00000040000 70 OS/400 TCP/IP Configuration and Reference V5R1 TCP/IP Protocol Support Provided by IOP Base Pool SizeTCP/IP Jobs Outbound batching of TCP and UDP datagrams Merge Host Table Performance Running TCP/IP Only Performance Considerations74 OS/400 TCP/IP Configuration and Reference V5R1 Line type Configuration command Creating the Line Description Configuration StepsSource Service Access Point Line Description NameSetting the Maximum Transmission Unit Determining the Maximum Size of Datagrams78 OS/400 TCP/IP Configuration and Reference V5R1 Appendix B. TCP/IP Application Exit Points and Programs TCP/IP Exit Points and Exit ProgramsOS/400 Registration Facility TCP/IP Application Exit PointsCreating Exit Programs Adding Your Exit Program to the Registration FacilitySelect your exit point QAPP0100Select the Add Exit Program option Add your exit programRemoving Exit Programs YourlibRequired Parameter Group Exit Point Interfaces for TCP/IP Application Exit PointsTCP/IP Application Request Validation Exit Point Interface Application identifierRemote IP address Operation identifierUser profile Length of remote IP addressAllow operation Usage NotesLength of operation-specific information QSYS.LIB file system pathnames are always in uppercase Point Command stringLength of command string Command processor identifier Character conversion optionQshell interpreter not installed 92 OS/400 TCP/IP Configuration and Reference V5R1 Copyright IBM Corp Programming Interface Information TrademarksDB2 96 OS/400 TCP/IP Configuration and Reference V5R1 Index Special Characters Interface Qtgtelnets Qtsmtpsrvr Page SC41-5420-04