Displays the job-specific and destination-specific information that is configured using the SRCIP profile statement. See z/OS Communications Server: IP Configuration Reference for more information about the SRCIP statement.
Provide the report for a specific TCP/IP address space by using TCp tcpname. 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 -p tcpname. See The Netstat command target for more information about the -p 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 SRCIP
netstat -J
The following examples are generated using the TSO NETSTAT command. The z/OS UNIX netstat command displays the data in the same format as the TSO NETSTAT command.
NETSTAT SRCIP
MVS TCP/IP NETSTAT CS V2R1 TCPIP Name: TCPCS 20:30:49
Source IP Address Based on Job Name:
Job Name Type Flg Source
-------- ---- --- ------
* IPV4 C 9.67.5.16
T* IPV4 S 9.67.5.15
TCPUSR1* IPV4 B 9.67.5.12
U* IPV4 C 9.67.5.14
USER1* IPV4 S 9.67.5.13
USER12 IPV4 B 9.67.5.11
Source IP Address Based on Destination:
Destination Source
----------- ------
10.1.0.0/16 9.1.1.2
10.1.1.1 9.1.1.1
NETSTAT SRCIP
MVS TCP/IP NETSTAT CS V2R1 TCPIP Name: TCPCS 20:30:49
Source IP Address Based on Job Name:
Job Name Type Flg Source
-------- ---- --- ------
* IPV4 C 9.67.5.16
* IPV6 C DVIPA66
T* IPV4 S 9.67.5.15
T* IPV6 S 2000::9:67:5:15
TCPUSR1* IPV4 B 9.67.5.12
TCPUSR2* IPV6 B DVIPA62
TCPUSR3* IPV6 TEMPADDRS
TCPUSR4* IPV6 PUBLICADDRS
U* IPV4 C 9.67.5.14
U* IPV6 C DVIPA64
USER* IPV6 C 2000::9:67:5:13
USER1* IPV4 C 9.67.5.13
USER12 IPV4 C 9.67.5.11
U27 IPV6 C 2000::9:67:5:11
Source IP Address Based on Destination:
Destination: 10.1.0.0/16
Source: 9.1.1.2
Destination: 10.1.1.1
Source: 9.1.1.1
Destination: 2001:0db8::0522:f103
Source: 2000::9:67:5:10
Destination: 2001:0db8::/32
Source: DVIPA66
When an IP address or interface name is displayed in the Source column, the Job Name value is the name of the job or jobs for which the designated interface should be used as the source IP address. An asterisk (*) indicates that all applications that issue TCP connect requests are associated with the specified source IP address or interface. They override any existing TCPSTACKSOURCEVIPA specifications except for outbound connections whose destination address matches a Destination value.
When TEMPADDRS is displayed in the Source column, the Job Name value is the name of the job or jobs that should prefer a temporary IPv6 address over a public IPv6 address when the default source address selection algorithm is used to select the source IP address. When PUBLICADDRS is displayed in the Source column, the Job Name value is the name of the job or jobs that should prefer a public IPv6 address over a temporary IPv6 address when the default source address selection algorithm is used to select the source IP address. An asterisk (*) in the Job Name column indicates that all the applications match the entry. See the information about default source address selection in z/OS Communications Server: IPv6 Network and Application Design Guide.
This field is blank for an entry that displays the value TEMPADDRS or PUBLICADDRS in the Source column.