IBM SC41-5420-04 manual Managing the Host Table from a Central Site

Page 67

vMerge the information of the imported host table with the information that was entered by using option 10 (Work with TCP/IP host table entries) from the Configure TCP/IP menu. To merge the information, specify Replace Host Table (*No) on the Merge Host Table display.

You can merge an imported host table with the local host table while TCP/IP is running by using the CFGTCP (Configure TCP/IP) command. The changes take affect the next time a TCP/IP application accesses the host table.

Select option 11 to merge an imported host table with the local server host table.

You can also use the Merge TCP/IP Host Table (MRGTCPHT) command from any command line.

Example: Successful Host Table Merge

The following example shows the command to merge an imported host table with the local host table.

MRGTCPHT FROMFILE(QUSRSYS/M02HOSTS) FILEFMT(*AS400) REPLACE(*NO)

File M02HOSTS, member *FIRST, successfully merged with host table.

Example: Partly Successful Host Table Merge

The following example shows the command to merge an imported host table with the local host table.

MRGTCPHT FROMFILE(QUSRSYS/M03HOSTS) FILEFMT(*AS400) REPLACE(*NO)

Duplicate host name SPARKY.SYSNAM123.IBM.COM at address 9.4.6.138 found host table.

Duplicate host name MVAX.SYSNAM123.IBM.COM at address 9.4.6.252 found host table.

File M03HOSTS, member *FIRST, merged with host table: however, error occurred.

In this example, the host table contains entries with the same host name, which shows in the message as duplicate host names.

Managing the Host Table from a Central Site

If your network has multiple servers, you can define the TCP/IP host table on one system and share that table with the other systems. This saves you the effort of having to define the host table on each system. To do this, follow these steps:

Step 1—Create the Host Table on Your Central System

Use the CFGTCP command to configure your host table. Select option 10 (Work with TCP/IP host table entries). Your system’s host table is stored in member HOSTS of file QATOCHOST in library QUSRSYS.

Step 2—Start FTP to a Remote System

For example, if your host table defines the remote system as SYSNAM02, type the FTP command as follows:

ftp sysnam02

Step 3—Tell FTP to Send the Host File to the Remote System

Type the following FTP subcommand:

put qusrsys/qatochost.hosts qusrsys/m03host.hosts

Note: Do not use FTP to put the host file directly into file QATOCHOST containing the server host table.

Chapter 2. TCP/IP: Operation, Management, and Advanced Topics 53

Image 67
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 Operations Navigator Prerequisite and related informationViii 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 What you need to know before you can configure TCP/IP Configuring TCP/IPGathering Information About your Network Planning for TCP/IP Installation and ConfigurationLine Description Parameters Checklist TCP/IP Planning ChecklistsInterfaces to Local TCP/IP Networks Local TCP/IP Host Information Checklist25 / Remote System Information Installing the TCP/IP Application ProgramsTcpadm Using the TCP/IP Administration MenuUsing the Configure TCP/IP Menu Cfgtcp Configure TCP/IP MenuProtocol table Configuring TCP/IP using the EZ-Setup WizardConfiguring TCP/IP using the Command Line Interface Services tableInternet address Configuring a Line DescriptionConfiguring a TCP/IP Interface Important NoteAutomatic start Subnet maskLine description Associated local interfaceDo you need to add routes at all? Configuring TCP/IP RoutesMaximum Transmission Unit MTU size Route destinationAdding TCP/IP routes Preferred binding interfaceDftroute None Normal Multiple Default RoutesNO, *YES Adding Remote System Information Configuring TCP/IP attributesConfiguring TCP/IP Remote System Information IP Datagram ForwardingNone NONE, *REQUEST, *ACCEPT PVCLind 15, *LIND, *TRANSMIT Adding an Entry to the Host Table Configuring TCP/IP Host Table EntriesWork with TCP/IP Host Table Display Macian BernDNS Loopback SYSNAM890Localhost AnyNet/400 Appc over TCP/IP Configuring the Local Domain and Host NameLocal Domain Name System DNS ServerDspmsg Qsysopr Dspmsg Qtcp Starting TCP/IP and TCP/IP ServersJob Name Description TCP/IP JobsEnd TCP/IP Endtcp Verifying the TCP/IP ConnectionSuccessful Ping Messages Verifying Additional TCP/IP ConnectionsVerify TCP/IP Connection Vfytcpcnn Verify TCP/IP ConnectionCOMP, *ESCAPE Verifying TCP/IP Connections with Host Name-ExampleVerify TCP/IP Connection Ping VERBOSE, *QUIETVerifying TCP/IP Connections with Internet Address-Example Saving Your TCP/IP ConfigurationConfiguring TCP/IP 32 OS/400 TCP/IP Configuration and Reference V5R1 Work with TCP/IP Network Status Menu Network StatusInternet Network Line Work with TCP/IP Interface StatusWork with TCP/IP Network Status Work with TCP/IP Interface StatusMaxthrput Opt Address Mask ServiceStarting TCP/IP Interfaces Internet Subnet TypeEnding TCP/IP Interfaces Display TCP/IP Route Information Display TCP/IP Route InformationRoute Subnet Next Opt Destination Mask Hop Available Bottom Route Type Opt Destination ServiceWork with TCP/IP Connection Status Type SourceRemote Local Opt Address Port Idle Time State Work with TCP/IP Connection StatusRemote Local Opt Address Port User Bytes Out TCP Ending TCP/IP ConnectionsALL Remote Local Opt Address Port TypeConfirm End of TCP/IP Connections Working with Configuration StatusTrnline Active Trnlinet Trnlitcp Qtcpip Displaying TCP/IP Network Status InformationDisplay Multicast Groups Opt Description Status JobDisplay Multicast Host Groups Displaying TCP/IP InterfacesHost Group Hardware Address MSB Displaying Associated RoutesDisplay TCP/IP Interface Status TrlanDisplay Associated Routes Displaying Route Details OptionRoute Subnet Next Opt Destination Mask Hop Display TCP/IP Route Details Displaying TCP/IP Route InformationDirect Display TCP/IP Route Information, Display 1 Display TCP Connection Status Displaying TCP/IP ConnectionsDisplay TCP/IP Connection Status, Display 2 Displaying Connection TotalsDisplay TCP/IP Connection Totals TCP/IP Host TablesHost Table Information with *NIC Files Managing TCP/IP Host TablesHost File Formats Host Table Information with *AIX FilesMerging TCP/IP Host Tables Tips for Merging Host TablesHost Table Information with *AS400 Files Managing the Host Table from a Central Site Merge the File Dead Gateway Processing Negative Advice from TCP or the Data Link LayerMultihoming Function How IP Responds to Negative AdviceMultihoming Single Host, Single Network, Single Line Per physical LAN only Multihoming TCP/IP Network Example The Multihoming functionX25LINE Type of Service TOSLoopback None TOS Example Multiple RoutesTCP/IP Port Restriction Paolo Configuring TCP/IP Port RestrictionsOnly UDP, *TCPGerry Related Tables and the Host Table Configure Related Tables MenuWork with Service Table Entry Display IBM Using X.25 PVC instead of SVCMulticast Restrictions Chglintrn Lindtrnline FCNADRC00000040000 70 OS/400 TCP/IP Configuration and Reference V5R1 TCP/IP Jobs Base Pool SizeTCP/IP Protocol Support Provided by IOP Outbound batching of TCP and UDP datagrams Running TCP/IP Only Performance Considerations Merge Host Table Performance74 OS/400 TCP/IP Configuration and Reference V5R1 Line type Configuration command Line Description Name Configuration StepsSource Service Access Point Creating the Line DescriptionDetermining the Maximum Size of Datagrams Setting the Maximum Transmission Unit78 OS/400 TCP/IP Configuration and Reference V5R1 TCP/IP Exit Points and Exit Programs Appendix B. TCP/IP Application Exit Points and ProgramsTCP/IP Application Exit Points OS/400 Registration FacilityAdding Your Exit Program to the Registration Facility Creating Exit ProgramsQAPP0100 Select your exit pointAdd your exit program Select the Add Exit Program optionYourlib Removing Exit ProgramsApplication identifier Exit Point Interfaces for TCP/IP Application Exit PointsTCP/IP Application Request Validation Exit Point Interface Required Parameter GroupLength of remote IP address Operation identifierUser profile Remote IP addressLength of operation-specific information Usage NotesAllow operation QSYS.LIB file system pathnames are always in uppercase Length of command string Command stringPoint Character conversion option Command processor identifierQshell interpreter not installed 92 OS/400 TCP/IP Configuration and Reference V5R1 Copyright IBM Corp Trademarks Programming Interface InformationDB2 96 OS/400 TCP/IP Configuration and Reference V5R1 Index Special Characters Interface Qtgtelnets Qtsmtpsrvr Page SC41-5420-04