Using NETSTAT
This section describes how to use NETSTAT to query the state of TCP/IP devices. This command can be used to quickly verify the status of the SNALINK LU6.2 device and link with relation to the TCP/IP address space.
The NETSTAT DEVLINKS command output displays only information that is known to TCP/IP.
Restriction: The TCP/IP address space must be
started before the NETSTAT command can query the connection status.
The NETSTAT DEVLINKS command displays the devices and links
that have been defined to the main TCP/IP address space and the status
of these devices (whether active or inactive).
Figure 1 shows a sample
of output from the NETSTAT DEVLINKS command.
Figure 1. NETSTAT DEVLINKS output example
DevName: SNALU621 DevType: SNALU62
DevStatus: Ready
LnkName: SNALU62L LnkType: SNALU62 LnkStatus: Ready
NetNum: 1 QueSize: 0
BytesIn: 0 BytesOut: 0
ActMTU: 32764
BSD Routing Parameters:
MTU Size: 00000 Metric: 00
DestAddr: 0.0.0.0 SubnetMask: 255.0.0.0
Multicast Specific:
Multicast Capability: No
The example shows four SNALINK LU6.2 devices and associated links known to TCP/IP.
The most significant field for diagnosing DLC connection problems is the DevStatus field. See z/OS Communications Server: IP Configuration Reference for detailed interpretation of the device status and its importance in the SNALINK LU6.2 DLC connection.