IBM SC41-5420-04 manual Work with TCP/IP Network Status Menu

Page 47

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

This chapter discusses managing your network by using the NETSTAT command, and the maintenance of host tables. In addition, this chapter covers other topics beyond those that are required to configure and use TCP/IP on iSeries 400. This information may help you to understand and maximize your usage of the iSeries TCP/IP support.

TCP/IP on an iSeries server can also be managed by Simple Network Management Protocol (SNMP). For information about SNMP, see resources in the Information Center: Supplemental Manuals.

Network Status

The network status function on the server allows you to get information about the status of TCP/IP network interfaces, routes, and connections on your local system. This function also allows you to end TCP/IP connections and to start or end TCP/IP interfaces.

Note: Network status functions may also be administered by Operations Navigator. Use the Operations Navigator interface for these functions if it is installed on your system. See the Operations Navigator (http://www.as400.ibm.com/oper_nav/index.htm) Web page for more information.

NETSTAT displays the current TCP/IP protocol stack information. This information does not necessarily match the configuration data you see when using the Configure TCP/IP (CFGTCP) menu. In most cases, the NETSTAT command displays more information than the configuration data. In some cases, the configuration data might even change.

The reason for such a change is that the iSeries TCP/IP dynamically creates some information, such as *DIRECT routes, when TCP/IP starts. A change may also occur if the configuration data that was sent to TCP/IP when it starts is changed dynamically by TCP/IP applications that run after you start TCP/IP. Several types of processing alter the initial TCP/IP configuration:

vInternet Control Message Protocol (ICMP) requests

vSockets ioctl system calls

vSimple Network Management Protocol (SNMP) requests

viSeries TCP/IP internal processing

Work with TCP/IP Network Status Menu

The Work with TCP/IP Network Status menu allows you to work with the various network status functions.

To display the Work with TCP/IP Network Status menu, take these steps:

1.Type the WRKTCPSTS (Work with TCP/IP Network Status) command or the NETSTAT (Network Status) command.

2.Press the Enter key. (See Figure 24 on page 34.)

© Copyright IBM Corp. 1997, 2001

33

Image 47
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 destinationDftroute None Preferred binding interfaceAdding TCP/IP routes NO, *YES Multiple Default RoutesNormal Adding Remote System Information Configuring TCP/IP attributesConfiguring TCP/IP Remote System Information IP Datagram ForwardingLind 15, *LIND, *TRANSMIT PVCNone NONE, *REQUEST, *ACCEPT Adding an Entry to the Host Table Configuring TCP/IP Host Table EntriesWork with TCP/IP Host Table Display DNS BernMacian Localhost SYSNAM890Loopback 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 Route Subnet Next Opt Destination Mask Hop Available Display TCP/IP Route InformationDisplay TCP/IP Route Information Bottom Route Type Opt Destination ServiceWork with TCP/IP Connection Status Type SourceRemote Local Opt Address Port User Bytes Out Work with TCP/IP Connection StatusRemote Local Opt Address Port Idle Time State 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 JobHost Group Hardware Address Displaying TCP/IP InterfacesDisplay Multicast Host Groups MSB Displaying Associated RoutesDisplay TCP/IP Interface Status TrlanRoute 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 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 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 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 functionLoopback None Type of Service TOSX25LINE TOS Example Multiple RoutesTCP/IP Port Restriction Paolo Configuring TCP/IP Port RestrictionsGerry UDP, *TCPOnly 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 Protocol Support Provided by IOP Base Pool SizeTCP/IP Jobs 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 addressAllow operation Usage NotesLength of operation-specific information QSYS.LIB file system pathnames are always in uppercase Point Command stringLength of command string 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