IBM Support

CRTSRVCFG Command

Troubleshooting


Problem

This document provides the CRTSRVCFG parameters to be used in creating all configuration scenarios.

Diagnosing The Problem

This document provides the CRTSRVCFG parameters to be used in creating all configuration scenarios. The examples are for a Primary connection. A Primary and Backup connection configuration can be created.
Note: Modem and VPN connection are no longer supported.

It is highly recommended that systems be up to date on PTF levels.

Resolving The Problem

Creating a Direct Internet Connection for the Local System

To create a direct internet connection for only the local system, type the following:

CRTSRVCFG ROLE(*PRIMARY) CNNTYPE(*DIRECT) CNTRYID(*SELECT) STATE(*SELECT) CNNPNT(*NO)

To create a Direct connection for only the local system with a Proxy, type the following:

CRTSRVCFG ROLE(*PRIMARY) CNNTYPE(*DIRECT) CNTRYID(*SELECT) STATE(*SELECT) CNNPNT(*NO) PROXY(XXXXXX *IBMSVR *TRYAFTER UUUUU (PPPPP))

Where XXXXXX is the TCP/IP address of the proxy, *IBMSVR is the port data, *TRYAFTER is the relative priority, UUUUU is the proxy user ID, and PPPPP is the proxy password. Press the Enter key.

Notes:

1. The user ID and password are only required if the proxy used requires a user ID and password. If not, the proxy parameter would look like this: PROXY(XXXXXX *IBMSVR *TRYAFTER)

2. *TRYAFTER is the default; however, if the user wants to have the proxy attempted first, they need to specify *TRYBEFORE.

  • Profiles QVPN01IBM1 and QVPN01IBM2 are created for 7.5 and older.
     

3. If the user ID or password for the proxy is case-sensitive, include single quotation marks around the values, for example 'uUUuu' ('PpppP')

Creating a Multihop HTTP/HTTPS Connection for the Local System

To set up a multi-hop environment that uses HTTP/HTTPS, one system can be set up as an HTTP/HTTPS proxy HUB and then other systems can use this system as the proxy server.

To create the primary HUB system, which connects to IBM using HTTP/HTTPS:

CRTSRVCFG ROLE(*PRIMARY) CNNTYPE(*DIRECT) CNNPNT(*YES ((*ALL)))


The other systems will be configured to use the HUB system as a proxy server:

CRTSRVCFG ROLE(*PRIMARY) CNNTYPE(*DIRECT) CNTRYID(*SELECT) STATE(*SELECT) CNNPNT(*NO) PROXY(HUB_System_Name *IBMSVR *TRYBEFORE)
 

Note: *IBMSVR use port 5026 which must be open for both systems to be able to communicate.

[{"Type":"MASTER","Line of Business":{"code":"LOB68","label":"Power HW"},"Business Unit":{"code":"BU070","label":"IBM Infrastructure"},"Product":{"code":"SWG60","label":"IBM i"},"ARM Category":[{"code":"a8m0z0000000CGRAA2","label":"Electronic Service Agent"}],"ARM Case Number":"","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"All Versions"}]

Document Information

Modified date:
11 April 2025

UID

nas8N1018762