Chapter 3. TCP/IP: Operation, Management, and AdvancedTopics
This chapter discusses managing your network by using the NETSTATcommand,
and the maintenance of host tables. In addition, this chapter covers other topics
beyond those that are required to configure and use TCP/IP onAS/400. This
information may help you to understand and maximize your usage of the AS/400
TCP/IP support.
TCP/IP on an AS/400 system can also be managed by Simple Network
Management Protocol (SNMP). For information about SNMP,see the book,

Simple

Network Management Protocol (SNMP) Support

, SC41-5412-00.

Network Status

The network status function on the AS/400 system 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.
NETSTATdisplays 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 NETSTATcommand
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 AS/400 TCP/IPdynamically 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
vAS/400 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.
Todisplay the Work with TCP/IP Network Status menu, take these steps:
1. Type the WRKTCPSTS (Work withTCP/IP Network Status) command or the
NETSTAT(Network Status) command.
2. Press the Enter key. (See Figure33 on page 56.)
© Copyright IBM Corp. 1997, 1999 55