IBM Support

IBM AnyNet Configuration (SNA over TCP/IP)

Troubleshooting


Problem

This document contains IBM AnyNet configuration information.

Resolving The Problem


=====================================================================================
Important Note: Starting in i 7.1, AnyNet (a method used to run SNA communications traffic over IP) is no longer supported. Users of AnyNet are encouraged to migrate to Enterprise Extender as a replacement.
=====================================================================================

OS/400-to-OS/400 AnyNet Configuration (SNA Over TCP/IP)

Notes:

1Before configuring IBM AnyNet between two IBM OS/400 or IBM i5/OS systems, you must be able to Telnet between both systems using the HOST (target system) name. If unable to Telnet, complete the TCP/IP configuration.
2References to the source system indicate the system that the APPC application is being initiated on. References to the target system indicate the system that is the destination for the APPC application.

Collect the Network Attributes from both systems (DSPNETA). ALLOW ANYNET SUPPORT must be set to *YES.










On the source system, create a Host Table Entry by doing the following:
1On the OS/400 or i5/OS command line, type the following:

CFGTCP

Press the Enter key.
2Select Option 10, Work with TCP/IP host table entries, and press the Enter key.
3Type 2 (to change) next to the host name (target system), and press the Enter key.
4Type + (plus sign) in the single field by HOST NAME, and press the Enter key.
5Type HOSTNAME.RMTNETID.SNA.IBM.COM.

where HOSTNAME is the local location name of the target system that will be used in Remote Configuration List, RMTNETID is the default net ID of the target system (per the Network Attributes), and SNA.IBM.COM is a required host name extension.
6It is recommended that you set the DOMAIN NAME SERVER (DNS) search to *LOCAL. This can be set with Option 13 (V3RxMx - V4R1M0), or Option 12 on V4R2M0 and higher.

To create an APPC controller (CRTCTLAPPC) on the source system, do the following:
1On the OS/400 or i5/OS command line, type the following:

CRTCTLAPPC

Press the Enter key.
2LINKTYPE must be *ANYNW.

Note: With the link type of *ANYNW, there will not be an attached line prompt or parameter.
3Type the RMTNETID (Remote Net ID), which is the Local Net ID from the target system network attributes.
4Type the RMTCPNAME (Remote Control Point Name).

Important Note: If the systems being configured for AnyNet are already connected to an APPN Network Node using a non-AnyNet link (SNA), then we suggest not using the real Remote Control Point names, otherwise AnyNet may not work properly. If this is the case, the recommendation is to use generic Control Point names, such as ANYNET or TCPIP. Although generic Control Point names are used here as an example, it is acceptable to use the real Remote Control Point names where APPN Network Nodes are not involved.

To create the remote configuration list entry on the source system, do the following:
1On the OS/400 or i5/OS command line, type the following:

WRKCFGL

Press the Enter key.
2Locate QAPPNRMT, type 2 (to change) for the OPTION, and press the Enter key.

Note: If QAPPNRMT does not exist, go to the bottom of this document for instructions on creating the QAPPNRMT configuration list.
3Page down to the first blank line for REMOTE LOCATION.
4Type the HOST NAME and REMOTE NETID. These are the same as were typed in the TCP HOST NAME TABLE above.
5The Local Location is usually *NETATR.
6The Remote Control Point must match the RMTCPNAME in the APPC controller description created above.
7The Control Point Net ID usually matches the Remote Net ID.
8The LOCATION PASSWORD and SECURE LOC are based on your system requirements. Change SECURE LOC to *YES if you wish to have AUTOMATIC SIGNON with Passthrough.

To create the Host Table Entry on the target system, do the following:
1On the OS/400 or i5/OS command line, type the following:

CFGTCP

Press the Enter key.
2Select Option 10, Work with TCP/IP host table entries, and press the Enter key.
3Type 2 (to change) next to HOST (source system) Name, and press the Enter key.
4Type + (plus sign) in the single field by HOST NAME, and press the Enter key.
5Type HOSTNAME.RMTNETID.SNA.IBM.COM.

where HOSTNAME is the local location name of the target (OTHER SYSTEM - Original Source) (per the Network Attributes), RMTNETID is the default net ID of the target (OTHER SYSTEM - Original Source) system (per the Network Attributes), and SNA.IBM.COM is a required HOST NAME extension.
6It is recommended that you set the DOMAIN NAME SERVER (DNS) search to *LOCAL. This can be set with Option 13 (V3RxMx - V4R1M0), or Option 12 on V4R2M0 and higher.

To create an APPC controller (CRTCTLAPPC) on the target system, do the following:
1On the OS/400 or i5/OS command line, type the following:

CRTCTLAPPC

Press the Enter key.
2LINKTYPE must be *ANYNW.

Note: With a link type of *ANYNW, there is not an attached line prompt or parameter.
3Type the RMTNETID (Remote Net ID), which is the Local Net ID from the source system network attributes.
4Type the RMTCPNAME (Remote Control Point Name).

Important Note: If the systems being configured for AnyNet are already connected to an APPN Network Node using a non-AnyNet link (SNA), then we suggest not using the real Remote Control Point names, otherwise AnyNet may not work properly. If this is the case, the recommendation is to use generic Control Point names, such as ANYNET or TCPIP. Although generic Control Point names are used here as an example, it is acceptable to use the real Remote Control Point names where APPN Network Nodes are not involved.

The APPC devices are auto-created when establishing the connection.

To create the remote configuration list entry on the target system, do the following:
1On the OS/400 or i5/OS command line, type the following:

WRKCFGL

Press the Enter key.
2Locate QAPPNRMT, type 2 (to change) next to OPTION, and press the Enter key.
3Page down to the first blank line for REMOTE LOCATION.
4Type the HOST NAME and REMOTE NETID. These are the same as were typed in the TCP HOST NAME TABLE above.
5Local Location is usually *NETATR.
6The Remote Control Point must match the RMTCPNAME in the APPC controller description created above.
7The CONTROL POINT NET ID usually matches the REMOTE NET ID.
8The LOCATION PASSWORD and SECURE LOC are based on your system requirements. Change SECURE LOC to *YES if you wish to have AUTOMATIC SIGNON with Passthrough.

To activate AnyNet, do the following:
1Verify that the Network Attribute for Allow AnyNet is set to *YES, using the CHGNETA command. Vary on the AnyNet APPC controller description afterwards.
2 There should be one QAPPCTCP job active in sub-system QSYSWRK.
3Run the WRKTCPSTS OPTION(*CNN) command. You will see two ports named APPCove: One with a status of UDP and one with status of LISTEN:

Remote     Remote     Local                        
Opt  Address    Port       Port       Idle Time  State


*               *          snmp-trap  001:17:01  *UDP

*               *          389        001:17:02  Listen
*               *          APPCove > 01:17:34  Listen
*               *      
   APPCove > 001:17:34  *UDP

To test the completed configuration, do the following:
1From the SOURCE system, Telnet to the TARGET system using the fully qualified name from the HOST TABLE ENTRIES (HOSTNAME.RMTNETID.SNA.IBM.COM). Do the same from the TARGET system to the SOURCE system.
2Start Passthrough (STRPASTHR) specifying the HOST SYSTEM NAME for the RMTLOCNAME. When doing the STRPASTHR, the APPC device should be auto-created under the AnyNet controller.
3Continue with the configuration of any other APPC applications (ICF,DDM.SNADS) as normally would be done.

To CREATE the Remote Configuration List, type the following:

1
CRTCFGL TYPE(*APPNRMT) and hit enter
2
Fill in the following fields and hit enter:

aRemote Location

bLocal Location

cRemote Location Point ***

dControl Point Netid ***

eBased on your system requirements, enter values for Location Password and Secure Loc


Change Secure Loc to *YES if you wish to have AUTOMATIC SIGNON with Passthrough

***NOTE: Remote Control Point and Control Point Netid are used to find the APPC device to use and MATCHES what was configured in the ANYNET controller

[{"Type":"MASTER","Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"Platform":[{"code":"PF012","label":"IBM i"}],"Version":"6.1.0"}]

Historical Number

8923426

Document Information

Modified date:
18 December 2019

UID

nas8N1010095