Displays TCP/IP configuration information about IP, TCP, UDP, SMF parameters, GLOBALCONFIG profile statement, network monitor, data trace, and autolog settings.
Provide the report for a specific TCP/IP address space by using the TCp tcpname parameter. See The Netstat command target for more information about the TCp parameter.
The default output option displays the output on the user's terminal. For other options, see The TSO NETSTAT command syntax or Netstat command output.
Provide the report for a specific TCP/IP address space by using the -p tcpname option. See The Netstat command target for more information about the TCp parameter.
The default output option displays the output to z/OS UNIX shell stdout. For other options, see The z/OS UNIX netstat command syntax or Netstat command output.
NETSTAT CONFIG
Display the TCP/IP configuration information for the default TCP/IP stack.
NETSTAT CONFIG TCP TCPCS6
Display the TCP/IP configuration information for TCPCS6 stack.
netstat -f
netstat -f -p tcpcs6
The following examples are generated by using TSO NETSTAT command. Using the z/OS UNIX netstat command displays the data in the same format as the TSO NETSTAT command.
NETSTAT CONFIG
MVS TCP/IP NETSTAT CS V2R1 TCPIP Name: TCPCS 11:37:31
TCP Configuration Table:
DefaultRcvBufSize: 00016384 DefaultSndBufSize: 00016384
DefltMaxRcvBufSize: 00262144 SoMaxConn: 0000001024
MaxReTransmitTime: 120.000 MinReTransmitTime: 0.500
RoundTripGain: 0.125 VarianceGain: 0.250
VarianceMultiplier: 2.000 MaxSegLifeTime: 30.000
DefaultKeepALive: 00000120 DelayAck: Yes
RestrictLowPort: Yes SendGarbage: No
TcpTimeStamp: Yes FinWait2Time: 010
TTLS: No EphemeralPorts: 1024-65535
SelectiveACK: Yes TimeWaitInterval: 30
DefltMaxSndBufSize 262144 RetransmitAttempt: 15
ConnectTimeOut: 0120 ConnectInitIntval: 1000
KeepAliveProbes: 10 KAProbeInterval: 060
Nagle: No QueuedRTT: 20
FRRThreshold: 3
UDP Configuration Table:
DefaultRcvBufSize: 00065535 DefaultSndBufSize: 00065535
CheckSum: Yes EphemeralPorts: 1024-65535
RestrictLowPort: Yes UdpQueueLimit: No
IP Configuration Table:
Forwarding: Yes TimeToLive: 00064 RsmTimeOut: 00060
IpSecurity: Yes
ArpTimeout: 01200 MaxRsmSize: 65535 Format: Short
IgRedirect: Yes SysplxRout: No DoubleNop: No
StopClawEr: No SourceVipa: Yes
MultiPath: Conn PathMtuDsc: No DevRtryDur: 0000000090
DynamicXCF: Yes
IpAddr/PrefixLen: 193.9.200.3/28 Metric: 01
SecClass: 008 SrcVipaInt: IPV4SRCVIPA
QDIOAccel: No
IQDIORoute: No
TcpStackSrcVipa: 201.1.10.10
ChecksumOffload: Yes SegOffload: Yes
SMF Parameters:
Type 118:
TcpInit: 00 TcpTerm: 02 FTPClient: 03
TN3270Client: 04 TcpIpStats: 05
Type 119:
TcpInit: Yes TcpTerm: Yes FTPClient: Yes
TcpIpStats: Yes IfStats: Yes PortStats: Yes
Stack: Yes UdpTerm: Yes TN3270Client: Yes
IPSecurity: No Profile: Yes DVIPA: Yes
SmcrGrpStats: Yes SmcrLnkEvent: Yes
Global Configuration Information:
TcpIpStats: Yes ECSALimit: 2096128K PoolLimit: 2096128K
MlsChkTerm: No XCFGRPID: 11 IQDVLANID: 27
SysplexWLMPoll: 060 MaxRecs: 100
ExplicitBindPortRange: 05000-06023 IQDMultiWrite: Yes
AutoIQDX: AllTraffic
WLMPriorityQ: Yes
IOPri1 0 1
IOPri2 2
IOPri3 3 4
IOPri4 5 6 FWD
Sysplex Monitor:
TimerSecs: 0060 Recovery: Yes DelayJoin: No AutoRejoin: Yes
MonIntf: Yes DynRoute: Yes Join: Yes
zIIP:
IPSecurity: Yes IQDIOMultiWrite: Yes
SMCR: Yes
FixedMemory: 100M TcpKeepMinInt: 00000300
PFID: 0018 PortNum: 1 MTU: 1024
PFID: 0019 PortNum: 2 MTU: 1024
Network Monitor Configuration Information:
PktTrcSrv: Yes TcpCnnSrv: Yes MinLifTim: 3 NtaSrv: Yes
SmfSrv: Yes
IPSecurity: Yes Profile: Yes CSSMTP: Yes CSMAIL: Yes DVIPA: Yes
Autolog Configuration Information: Wait Time: 0300
ProcName: FTPD JobName: FTPD
ParmString:
DelayStart: Yes
DVIPA TTLS
NETSTAT CONFIG
MVS TCP/IP NETSTAT CS V2R1 TCPIP Name: TCPCS 19:54:08
TCP Configuration Table:
DefaultRcvBufSize: 00016384 DefaultSndBufSize: 00016384
DefltMaxRcvBufSize: 00262144 SoMaxConn: 0000001024
MaxReTransmitTime: 120.000 MinReTransmitTime: 0.500
RoundTripGain: 0.125 VarianceGain: 0.250
VarianceMultiplier: 2.000 MaxSegLifeTime: 30.000
DefaultKeepALive: 00000120 DelayAck: Yes
RestrictLowPort: Yes SendGarbage: No
TcpTimeStamp: Yes FinWait2Time: 010
TTLS: No EphemeralPorts: 1024-65535
SelectiveACK: Yes TimeWaitInterval: 30
DefltMaxSndBufSize 262144 RetransmitAttempt: 15
ConnectTimeOut: 0120 ConnectInitIntval: 1000
KeepAliveProbes: 10 KAProbeInterval: 060
Nagle: No QueuedRTT: 20
FRRThreshold: 3
UDP Configuration Table:
DefaultRcvBufSize: 00065535 DefaultSndBufSize: 00065535
CheckSum: Yes EphemeralPorts: 1024-65535
RestrictLowPort: Yes UdpQueueLimit: No
IP Configuration Table:
Forwarding: Yes TimeToLive: 00064 RsmTimeOut: 00060
IpSecurity: Yes
ArpTimeout: 01200 MaxRsmSize: 65535 Format: Long
IgRedirect: Yes SysplxRout: No DoubleNop: No
StopClawEr: No SourceVipa: Yes
MultiPath: Conn PathMtuDsc: No DevRtryDur: 0000000090
DynamicXCF: Yes
IpAddr/PrefixLen: 193.9.200.3/28 Metric: 01
SecClass: 008 SrcVipaInt: IPV4SRCVIPA
QDIOAccel: Yes QDIOAccelPriority: 2
IQDIORoute: n/a
TcpStackSrcVipa: 201.1.10.10
ChecksumOffload: Yes SegOffload: Yes
IPv6 Configuration Table:
Forwarding: Yes HopLimit: 00255 IgRedirect: No
SourceVipa: Yes MultiPath: Conn IcmperrLim: 00003
IgRtrHopLimit: No
IpSecurity: Yes
OSMSecClass: 255
DynamicXCF: Yes
IpAddr: 2001:db8::9:67:115:5
IntfID: 0009:0067:0011:0001
SrcVipaInt: IPV6SRCVIPA
SecClass: 008
TcpStackSrcVipa: IPV6STKSRCVIPA
TempAddresses: Yes
PreferredLifetime: 24 ValidLifetime: 168
ChecksumOffload: Yes SegOffload: Yes
SMF Parameters:
Type 118:
TcpInit: 00 TcpTerm: 02 FTPClient: 03
TN3270Client: 04 TcpIpStats: 05
Type 119:
TcpInit: Yes TcpTerm: Yes FTPClient: Yes
TcpIpStats: Yes IfStats: Yes PortStats: Yes
Stack: Yes UdpTerm: Yes TN3270Client: Yes
IPSecurity: No Profile: Yes DVIPA: Yes
SmcrGrpStats: Yes SmcrLnkEvent: Yes
Global Configuration Information:
TcpIpStats: Yes ECSALimit: 2096128K PoolLimit: 2096128K
MlsChkTerm: No XCFGRPID: 11 IQDVLANID: 27
SysplexWLMPoll: 060 MaxRecs: 100
ExplicitBindPortRange: 05000-06023 IQDMultiWrite: Yes
AutoIQDX: AllTraffic
WLMPriorityQ: Yes
IOPri1 0 1
IOPri2 2
IOPri3 3 4
IOPri4 5 6 FWD
Sysplex Monitor:
TimerSecs: 0060 Recovery: Yes DelayJoin: No AutoRejoin: Yes
MonIntf: Yes DynRoute: Yes Join: Yes
zIIP:
IPSecurity: Yes IQDIOMultiWrite: Yes
SMCR: Yes
FixedMemory: 100M TcpKeepMinInt: 00000300
PFID: 0018 PortNum: 1 MTU: 1024
PFID: 0019 PortNum: 2 MTU: 1024
Network Monitor Configuration Information:
PktTrcSrv: Yes TcpCnnSrv: Yes MinLifTim: 3 NtaSrv: Yes
SmfSrv: Yes
IPSecurity: Yes Profile: Yes CSSMTP: Yes CSMAIL: Yes DVIPA: Yes
Data Trace Setting:
JobName: * TrRecCnt: 00000000 Length: FULL
IpAddr: * SubNet: *
PortNum: *
Autolog Configuration Information: Wait Time: 0300
ProcName: FTPD JobName: FTPD
ParmString:
DelayStart: Yes
DVIPA TTLS
Display the following configured TCP information that is defined in the TCPCONFIG and SOMAXCONN profile statements. For more information about each field, see the TCPCONFIG or SOMAXCONN profile statement information in z/OS Communications Server: IP Configuration Reference.
This parameter does not change the initial keepalive timeout interval. It controls the time between the probes that are sent only after the initial keepalive interval has expired.
You can specify setsockopt() TCP_KEEPALIVE to override the parameter.
This parameter does not change the initial keepalive timeout interval. It controls the number of probes that are sent only after the initial keepalive interval has expired.
You can specify setsockopt() TCP_KEEPALIVE to override this parameter.
Note: The values displayed in the MaxReTransmitTime, MinReTransmitTime, RoundTripGain, VarianceGain, VarianceMultiplier, and MaxSegLifeTime fields are actual default values that are assigned by the TCP/IP stack; you cannot configure them externally using the TCPCONFIG profile statement. You can override the MaxReTransmitTime, MinReTransmitTime, RoundTripGain, VarianceGain, VarianceMultiplier values on a per-destination basis using either the BEGINROUTES configuration statement, the old GATEWAY configuration statement, or the configuration file for OMPROUTE.
Display the following configured UDP information defined in the UDPCONFIG profile statement. For more information about each UDP parameter, see UDPCONFIG profile statement information in the z/OS Communications Server: IP Configuration Reference.
Displays the following configured IP information defined in the IPCONFIG profile statement. For more information about each IP parameter, see the IPCONFIG profile statement information in the z/OS Communications Server: IP Configuration Reference.
Restriction: The value that is displayed in the MaxRsmSize field is the actual default value that was assigned by the TCP/IP stack; users cannot configure this value externally using the IPCONFIG profile statement.
When XCF dynamic support is in effect, the following information is displayed:
Displays the following configured IPv6 information that is defined in the IPCONFIG6 profile statement For more information about each IPv6 IP parameter, see the IPCONFIG6 profile statement information in the z/OS Communications Server: IP Configuration Reference.
When XCF dynamic support is in effect, the following information is displayed:
Tip: If the IpAddr/PrefixRouteLen format was used for DYNAMICXCF in the IPCONFIG6 profile statement, then it is displayed in the same format in the Netstat report. The PrefixRouteLen is the integer value in the range 1 - 128.
At the expiration of the preferred lifetime, a new temporary address is generated and the existing address is deprecated. The number that is displayed is the preferred lifetime, in hours. Valid values are in the range of 1 - 720 hours (30 days). The default value is 24 hours.
When the valid lifetime expires, the temporary address is deleted. The number displayed is the valid lifetime in hours. Valid values are in the range 2 - 2160 hours (90 days). The default value is 7 times the preferred lifetime value, with a maximum of 90 days.
Display the following configured SMF information defined in the SMFCONFIG profile statement. For more information about each SMF parameter, see SMFCONFIG profile statement information in the z/OS Communications Server: IP Configuration Reference.
The value 0 indicates that TYPE118 TCPINIT is not in effect (the NOTCPINIT or TYPE118 NOTCPINIT was specified in the SMFCONFIG profile statement (or is in effect by default), or zero value of inittype was specified on the SMFPARMS profile statement).
The value 0 indicates that TYPE118 TCPTERM is not in effect (the NOTCPTERM or TYPE118 NOTCPTERM was specified in the SMFCONFIG profile statement (or is in effect by default), or zero value of termtype was specified on the SMFPARMS profile statement).
The value 0 indicates that TYPE118 FTPCLIENT is not in effect (the NOFTPCLIENT or TYPE118 NOFTPCLIENT was specified in the SMFCONFIG profile statement (or is in effect by default), or zero value of clienttype was specified on the SMFPARMS profile statement).
The value 0 indicates that TYPE118 TN3270CLIENT is not in effect (the NOTN3270CLIENT or TYPE118 NOTN3270CLIENT was specified in the SMFCONFIG profile statement (or is in effect by default), or zero value of clienttype was specified on the SMFPARMS profile statement).
The value 0 indicates that TYPE118 TCPIPSTATISTICS is not in effect (the NOTCPIPSTATISTICS or TYPE118 NOTCPIPSTATISTICS was specified in the SMFCONFIG profile statement or is in effect by default).
Note: The TCPIP statistics field under SMF Parameters displays the subtype value used when creating the SMF type 118 record (if the value is nonzero). The TCPIP statistics field under Global Configuration Information indicates whether the TCP/IP stack will write statistics messages to the TCP/IP job log when TCP/IP is terminated. For the Type 119 fields, the subtype cannot be changed and the setting indicates if the record is requested (Yes) or not (No).
Display the following global configured information defined in the GLOBALCONFIG profile statement. For more information about each global parameter, see GLOBALCONFIG profile statement information in the z/OS Communications Server: IP Configuration Reference.
Tip: The TCPIPSTATS field that is shown under the SMF PARAMETERS section of the Netstat CONFIG/-f output reflects the TcpIpStatistics value or NoTcpIpStatistics value that is specified on the SMFCONFIG statement in the TCP/IP Profile or Obeyfile. The TCPIPSTATS field that is shown under the GLOBAL CONFIGURATION section of the Netstat CONFIG/-f output reflects the value from the GLOBALCONFIG statement in the TCP/IP Profile or Obeyfile.
These digits are also used as a suffix for the EZBDVIPA and EZBEPORT structure names in the form EZBDVIPAvvtt and EZBEPORTvvtt. If no VTAM XCF group ID suffix was specified, the structure names are EZBDVIPA01tt and EZBEPORT01tt. If no XCFGRPID value was specified on the GLOBALCONFIG statement in the TCP/IP profile, then no value is displayed for XCFGRPID field in the Netstat output.
Tip: This range is the range that was configured on this stack. It might not be the actual range that is in use throughout the sysplex at this time, because another stack that was started later with a different explicit bind port range configured (or with a VARY OBEYFILE command specifying a file with a different EXPLICITBINDPORTRANGE value) can override the range that is configured by this stack. Use the Display TCPIP,,SYSPLEX,PORTS command to display the currently active port range.
The value Yes indicates that when a problem is detected, the stack issues messages about the problem, leaves the sysplex group, and deactivates all DVIPA resources that are owned by this stack; the VIPADYNAMIC configuration is restored if the stack rejoins the sysplex group. The default value is No. The value Yes can be configured by specifying the RECOVERY keyword for the SYSPLEXMONITOR parameter on the GLOBALCONFIG profile statement.
The value No indicates that when a problem is detected, the stack issues messages regarding the problem but takes no other action. The value No can be configured by specifying the NORECOVERY keyword for the SYSPLEXMONITOR parameter on the GLOBALCONFIG profile statement.
The value No indicates that TCP/IP immediately joins the sysplex group during stack initialization. The default value is No and can be configured by specifying the NODELAYJOIN keyword for the SYSPLEXMONITOR parameter on the GLOBALCONFIG profile statement.
The value Yes indicates that the TCP/IP stack immediately attempts to join the sysplex group during stack initialization. This is the default setting.
The value No indicates that the TCP/IP stack does not join the sysplex group during stack initialization. You can configure the value No by specifying the NOJOIN keyword for the SYSPLEXMONITOR parameter on the GLOBALCONFIG profile statement.
If NOJOIN is configured, the TCP/IP stack does not process any VIPADYNAMIC block or DYNAMICXCF statements. Any other GLOBALCONFIG SYSPLEXMONITOR parameter settings (configured or default) are ignored, and the settings are saved in case you want the TCP/IP stack to join the sysplex group at a later time.
If you subsequently issue a VARY TCPIP,,SYSPLEX,JOINGROUP command, the NOJOIN setting is overridden and the saved GLOBALCONFIG SYSPLEXMONITOR parameter settings become active. For example, if you configure NOJOIN and DELAYJOIN, DELAYJOIN is initially ignored. After you issue a V TCPIP,,SYSPLEX,JOINGROUP command, NOJOIN is overridden, DELAYJOIN becomes active, and the stack joins the sysplex group if OMPROUTE is initialized.
Any sysplex-related definitions within the TCP/IP profile, such as VIPADYNAMIC or IPCONFIG DYNAMICXCF statements, are not processed until the TCP/IP stack joins the sysplex group.
The value No indicates that the TCP/IP stack is not monitoring the status of network interfaces. The default value is No and it can be configured by specifying the NOMONINTERFACE keyword for the SYSPLEXMONITOR parameter on the GLOBALCONFIG profile statement.
The value Yes indicates that the TCP/IP stack is monitoring the status of network interfaces that have the MONSYSPLEX attribute specified on the LINK or INTERFACE profile statement. The value Yes can be configured by specifying the MONINTERFACE keyword for the SYSPLEXMONITOR parameter on the GLOBALCONFIG profile statement.
The value No indicates that the TCP/IP stack is not monitoring the presence of dynamic routes over monitored network interfaces. The default value is No and it can be configured by specifying the NODYNROUTE keyword for the SYSPLEXMONITOR MONINTERFACE parameter on the GLOBALCONFIG profile statement.
The value Yes indicates that the TCP/IP stack is monitoring the presence of dynamic routes over monitored network interfaces that have the MONSYSPLEX attribute specified on the LINK or INTERFACE statement. It can be configured by specifying the DYNROUTE keyword for the SYSPLEXMONITOR MONINTERFACE parameter on the GLOBALCONFIG profile statement.
The value No indicates that the stack does not rejoin the group or restore its VIPADYNAMIC definitions when all detected problems have been relieved. The default value is No and it can be configured by specifying the NOAUTOREJOIN keyword for the SYSPLEXMONITOR parameter on the GLOBALCONFIG profile statement.
The value Yes indicates that the stack automatically rejoins the sysplex group and restores all of its VIPADYNAMIC configuration definitions. The value Yes can be configured by specifying the AUTOREJOIN keyword for the SYSPLEXMONITOR parameter on the GLOBALCONFIG profile statement.
Restriction: You can specify the AUTOREJOIN keyword only if the RECOVERY keyword is also specified (or is currently enabled) on the SYSPLEXMONITOR parameter on the GLOBALCONFIG profile statement.
Display the following configured network monitor information defined in the NETMONITOR profile statement. For more information about each network monitor parameter, see the NETMONITOR profile statement information in the z/OS Communications Server: IP Configuration Reference.