Use this command to do the following:
- Display information about one or more Internet Protocol (IP) routers, Open
Systems Adapter (OSA)-Express connections, or both.
- Display all local IP addresses
- Display resource statistics about TCP/IP native stack support.
Requirements and Restrictions
- You can enter this command only in 1052 state or higher.
- You can enter this command only from the basic subsystem (BSS).
Format
- ALL
- displays all IP routers and OSA-Express connections that are defined in
the TPF system. IP router definitions and OSA-Express definitions are
displayed in separate tables.
- ACTIVE
- displays all IP routers and OSA-Express connections that are
active.
- INACTIVE
- displays all IP routers and OSA-Express connections that are not
active.
- IP-ipaddr
- displays all IP routers or the OSA-Express connection that is associated
with a specific local IP address, where ipaddr is the numeric local
IP address.
- LOCIPS
- displays all local IP addresses defined in the TPF system.
- SDA-sda
- displays a specific IP router, where sda is the symbolic device
address of the IP router.
- STATS
- displays statistics about resources used by TCP/IP native stack
support.
Additional Information
Online help information is available for this command. To display
the help information, enter one of the following:
ZTTCP HELP
ZTTCP ?
Examples
The following example displays information about all IP routers and
OSA-Express connections, where:
- SDA
- is the symbolic device address of the IP router.
- CURRENT STATUS
- shows whether the current status of the IP router or OSA-Express
connection is active or inactive.
- DESIRED STATUS
- shows whether the desired status of the IP router or OSA-Express
connection is active or inactive.
- LOCAL IP ADDR
- is the local IP address associated with the IP router, or the real IP
address of the TPF system across this OSA-Express connection.
- ROUTER IP ADDR
- is the IP router address. This field is displayed only when the
current status of the IP router is active.
- TRACE
- shows whether IP trace is active for a given IP router or local IP
address, or for a given OSA-Express connection, where:
- ALL
- indicates that IP trace is active for this IP router or OSA-Express
connection because IP trace is active for all resources.
- IP
- indicates that IP trace is active for this IP router because IP trace is
active for the local IP address associated with this IP router or OSA-Express
connection.
- NO
- indicates that IP trace is not active for this IP router or OSA-Express
connection.
- OSA
- indicates that IP trace is active for this OSA-Express connection because
IP trace was specifically started for this OSA-Express connection.
- SDA
- indicates that IP trace is active for this IP router because IP trace was
specifically started for this IP router.
- OSA NAME
- is the name of the OSA-Express connection.
- READ
- is the read SDA associated with the OSA-Express connection. The
write SDA associated with the connection is the read SDA plus 1.
- DATA
- is the data SDA associated with the OSA-Express connection.
+--------------------------------------------------------------------------------+
|User: ZTTCP DISPLAY ALL |
| |
|System: TTCP0184I 15.18.32 IP CONNECTIONS DISPLAY |
| |
| CURRENT DESIRED |
| SDA STATUS STATUS LOCAL IP ADDR ROUTER IP ADDR TRACE |
| ---- ------ ------ --------------- --------------- ----- |
| 0940 ACTIVE ACTIVE 9.117.249.050 9.117.249.049 IP |
| 0941 INACT ACTIVE 9.117.249.050 IP |
| 0942 ACTIVE ACTIVE 9.117.249.050 9.117.249.065 IP |
| 0930 INACT ACTIVE 9.117.249.066 SDA |
| |
| CURRENT DESIRED |
| OSA NAME STATUS STATUS LOCAL IP ADDR TRACE READ DATA |
| -------- ------ ------ --------------- ----- ---- ---- |
| OSA1 ACTIVE ACTIVE 9.117.250.098 ALL 1A0A 1A09 |
| OSA1PRIM INACT ACTIVE 9.117.230.098 ALL 1A06 1A08 |
| OSA2BACK INACT INACT 9.117.230.045 OSA 0E0A 0E09 |
| END OF DISPLAY |
+--------------------------------------------------------------------------------+
The following example displays information about a specific IP
router.
+--------------------------------------------------------------------------------+
|User: ZTTCP DISPLAY SDA-949 |
| |
|System: TTCP0023I 11.40.09 IP CONNECTIONS DISPLAY |
| |
| CURRENT DESIRED |
| SDA STATUS STATUS LOCAL IP ADDR ROUTER IP ADDR TRACE |
| ---- ------ ------ --------------- --------------- ----- |
| 0949 ACTIVE ACTIVE 9.117.249.059 9.117.249.049 SDA |
| END OF DISPLAY |
+--------------------------------------------------------------------------------+
The following example displays information about all IP routers associated
with a specific local IP address.
+--------------------------------------------------------------------------------+
|User: ZTTCP DISPLAY IP-9.117.249.59 |
| |
|System: TTCP0023I 11.43.03 IP CONNECTIONS DISPLAY |
| |
| CURRENT DESIRED |
| SDA STATUS STATUS LOCAL IP ADDR ROUTER IP ADDR TRACE |
| ---- ------ ------ --------------- --------------- ----- |
| 0949 ACTIVE ACTIVE 9.117.249.059 9.117.249.049 SDA |
| 0937 INACT INACT 9.117.249.059 NO |
| END OF DISPLAY |
+--------------------------------------------------------------------------------+
The following example displays all local IP addresses that are defined in
the TPF system, where:
- LOCAL IP ADDR
- is the local IP address.
- MPS
- is the maximum packet size.
- REST
- indicates the level of access, where:
- YES
- indicates that only certain IP routers can access the local IP
address.
- NO
- indicates that all IP routers can access the local IP address.
- N/A
- indicates that restricted access does not apply because the IP address is
an OSA IP address.
- TRACE
- shows whether IP trace is active for a given IP router or local IP
address, where:
- ALL
- indicates that IP trace is active for this local IP address because IP
trace is active for all resources.
- IP
- indicates that IP trace is active for this local IP address because IP
trace was specifically started for the local IP address.
- NO
- indicates that IP trace is not active for this local IP address.
- TYPE
- shows whether the local IP address is associated with channel data link
control (CDLC) routers, is a real IP address of an OSA-Express connection, or
is a virtual IP address, where:
- CDLC
- indicates that the IP address is associated with CDLC IP routers.
- OSA
- indicates the real IP address of the TPF system across an OSA-Express
connection.
- VIPA
- indicates the IP address is a virtual IP address (VIPA) associated with an
OSA-Express connection.
- ACT
- indicates whether the IP address is active, where:
- YES
- indicates that the IP address is active.
- NO
- indicates that the IP address is not active.
- OSA NAME
- for VIPAs, this is the name of the primary OSA-Express connection;
for real OSA IP addresses, this is the name of either the primary or alternate
connection.
- ALT OSA
- is the name of the alternate OSA-Express connection associated with this
virtual IP address (VIPA).
- ON
- indicates the OSA-Express connection to which the VIPA is currently
assigned, where:
- PRIM
- indicates that the VIPA is currently assigned to the primary OSA-Express
connection.
- ALT
- indicates that the VIPA is currently assigned to the alternate OSA-Express
connection.
- DEFAULT
- is the default local IP address.
+---------------------------------------------------------------------------------------------+
|User: ZTTCP DISPLAY LOCIPS |
| |
|System: TTCP0021I 10.37.19 LOCAL IP ADDRESS DISPLAY |
| |
| LOCAL IP ADDR MPS REST TRACE TYPE ACT OSA NAME ALT OSA ON |
| --------------- ---- ---- ----- ---- --- -------- -------- ---- |
| 9.117.241.139 1492 N/A ALL OSA YES TPFPRIM1 |
| 9.117.236.132 1492 N/A ALL VIPA YES TPFPRIM1 TPFBACK1 PRIM |
| 9.117.236.130 1492 N/A IP VIPA YES TPFPRIM1 TPFBACK1 PRIM |
| 9.117.236.131 1492 N/A IP VIPA YES TPFPRIM1 TPFBACK1 PRIM |
| 9.117.241.013 1492 N/A ALL OSA YES TPFBACK1 |
| 9.117.249.052 3840 YES ALL CDLC NO DEFAULT |
| 9.117.249.053 3480 NO ALL CDLC YES |
| END OF DISPLAY |
+---------------------------------------------------------------------------------------------+
The following example displays statistics about resources used by TCP/IP
native stack support.
+--------------------------------------------------------------------------------+
|User: ZTTCP DISPLAY STATS |
| |
|System: TTCP0182I 12.35.23 BEGIN ZTTCP STATS DISPLAY |
| |
| NUMBER CURRENT MAXIMUM MAX IN MAX IN |
| DEFINED IN USE IN USE USE DATE USE TIME |
| SOCKET BLOCK ENTRIES 100 12 14 26MAY 12.16.08 |
| IP MESSAGE TABLE BLOCKS 100 22 34 26MAY 12.16.21 |
| |
| 18824 IP PACKETS SENT |
| 18383 IP PACKETS RECEIVED |
| 0 CHECKSUM ERRORS DETECTED |
| 0 IP FRAGMENTS RECEIVED |
| 3 TCP MESSAGES RECEIVED OUT OF ORDER |
| 44 TCP MESSAGES RETRANSMITTED |
| 0 TCP SOCKETS CLEANED UP BECAUSE OF RETRANSMIT TIMEOUTS |
| |
| END OF ZTTCP DISPLAY |
| |
+--------------------------------------------------------------------------------+
Related Information
See TPF Transmission Control Protocol/Internet
Protocol for more information about TCP/IP native stack support and
OSA-Express support.