Configure Enterprise Extender to perform switched line disconnect

The SWITCHED parameter can be specified with *YES on the CRTCTLAPPC command when *HPRIP is specified for the LINKTYPE. This configuration allows Enterprise Extender support to run over Point-to-Point Protocol (PPP) lines and perform switched line disconnect behavior after periods of inactivity.

The period of inactivity is specified by the Disconnect timer (DSCTMR) parameter. Configure the Disconnect timer (DSCTMR) values in the APPC controller description to be less than the Line inactivity timeout value specified in the PPP connection profile for the switched PPP line. This configuration allows the Enterprise Extender support on the APPC controller to disconnect cleanly before the switched PPP line detects a line inactivity timeout, which would cause the modem or line to drop. See Configuring PPP for information on configuring a PPP connection profile. Only specify the SWITCHED parameter as *YES for Enterprise Extender support when it is running over an actual switched PPP line. The Initial connection (INLCNN) and Dial initiation (DIALINIT) parameters on the APPC controller description must be compatible with the dial and answer mode parameters of the PPP switched line. For example, if the APPC controller is configured with INLCNN *DIAL then also configure the PPP connection profile for the switched line to support both dial and answer operations. If the APPC controller is configured with INLCNN*ANS, then the PPP connection profile for the switched line only needs to be configured for answer operations. The remote phone number for dial operations is only specified in the PPP connection profile. Also, no attached line is specified in the switched line list (SWTLINLST) parameter of the APPC controller since the local and remote IP addresses that are configured in the controller select the switched PPP line to use. If the Switched disconnect parameter is SWTDSC(*YES), the LDLC liveness timer is ignored to allow the connection to drop after periods of inactivity.

Configuration examples for dial operation:

CRTCTLAPPC CTLD(DIAL_IMMED) LINKTYPE(*HPRIP) SWITCHED(*YES) RMTINTNETA('10.44.58.2')
  LCLINTNETA(*SYS) RMTNETID(APPN) RMTCPNAME(SYSTEM_A) DIALINIT(*IMMED) 
  USRDFN1(128) USRDFN2(128) USRDFN3(128) DSCTMR(20 10)
In this immediate dial example, the APPC Controller initiates a DIAL at vary on. The controller will stay active for minimum of 20 seconds after vary on and will disconnect the line 10 seconds after the last SNA session is unbound when the user application completes.
CRTCTLAPPC CTLD(DIAL_DELAY) LINKTYPE(*HPRIP) SWITCHED(*YES) RMTINTNETA('10.44.58.2')
  LCLINTNETA(*SYS) RMTNETID(APPN) RMTCPNAME(SYSTEM_A) DIALINIT(*DELAY)
  USRDFN1(128) USRDFN2(128) USRDFN3(128) DSCTMR(20 10)
In this delayed dial example, the APPC Controller does not dial until a user application sends data. The controller will stay active for a minimum of 20 secs and will disconnect the line 10 secs after the last SNA session is unbound for the user application.
Corresponding dial PPP profile configuration that uses internal modem:
  • Protocol type: PPP
  • Mode type: Dial on demand (answer enabled dedicated peer)
  • Type of line service: Single line
  • Line name: QPPPCMN07
  • Remote phone number: 3331234
  • Line inactivity timeout: 30
    Note: This value must be greater than the disconnect timer value in the APPC controller.
  • Local IP address: Use fixed IP address 10.44.58.3 (*VIRTUALIP)
  • Remote IP address: Use fixed IP address 10.44.58.2

Configuration example for answer operation:

CRTCTLAPPC CTLD(ANS_CALL) LINKTYPE(*HPRIP) SWITCHED(*YES) RMTINTNETA('10.44.58.3') 
  LCLINTNETA(*SYS) RMTNETID(APPN) RMTCPNAME(SYSTEM_B)INLCNN(*ANS) USRDFN1(128)
  USRDFN2(128) USRDFN3(128) DSCTMR(20 10)
In this answer example, the APPC Controller accepts only incoming packets to establish a data link connection. The controller will stay active for minimum of 20 seconds after vary on and will disconnect the line 10 seconds after the last SNA session for user application is unbound.
Corresponding answer PPP profile configuration that uses internal modem:
  • Protocol type: PPP
  • Mode type: Switched line-answer
  • Type of line service: Single line
  • Line name: QPPPCMN08
  • Line inactivity timeout: 30
    Note: This value must be greater than the disconnect timer value in the APPC controller.
  • Local IP address: Assign fixed IP address 10.44.58.2 (*VIRTUALIP)
  • Remote IP address: Use fixed IP address
  • Starting IP address: 10.44.58.3