Retrieve PPP Connection Profiles (QtocRtvPPPCnnPrf) API

  Required Parameter Group:


  Service Program: QTOCPPPAPI

  Threadsafe: Yes

The Retrieve PPP Connection Profiles (QtocRtvPPPCnnPrf) API retrieves the details of a specific PPP connection job profile. If the connection profile describes multiple connections, then details of each connection are also retrieved.


Authorities and Locks

None.


Required Parameter Group

Receiver variable
OUTPUT; CHAR(*)

The variable that is to receive the information requested. You can specify the size of this area to be smaller than the format requested as long as you specify the length parameter correctly. As a result, the API returns only the data that the area can hold.

Length of receiver variable
INPUT; BINARY(4)

The length of the receiver variable. If the length is larger than the size of the receiver variable, the results may not be predictable. The minimum length is 8 bytes.

Profile name
INPUT; CHAR(10)

The name of the PPP connection profile to be returned.

Format name
INPUT; CHAR(8)

The format of the retrieved profile to be returned. The format names supported are:


Error code
I/O; CHAR(*)

The structure in which to return error information. For the format of the structure, see Error code parameter.


Format of Connection Profile Attributes Information

To retrieve the basic connection profile information and current profile job status, use format PRFR0100. For more detailed profile and connection attributes, use format PRFR0200.


PRFR0100 Format

The following data about a connection profile is returned for the PRFR0100 format. For detailed descriptions of the fields in the table, see PRFR0100 Field Descriptions.



PRFR0100 Field Descriptions

Automatic start. Whether the profile is started automatically when the TCP/IP stack is activated. Possible values are:

Bytes available. The number of bytes of data available to be returned. All available data is returned if enough space is provided.

Bytes returned. The number of bytes of data returned.

Connection protocol. The type of point-to-point connection provided by the profile job.

Connection status. The current connection of job status of the profile job.Values are as follows:

Connection type. The type of connection provided by the profile job. Values are:

Length of additional information. The length in bytes of additional information returned that is not part of format PRFR0100.

Offset to additional information. The offset in bytes to the rest of the information if a format other than PRFR0100 is requested.

Profile description. The text description of the function performed by this profile connection job..

Profile job type. The type of job support required for the profile.

Profile mode. The function provided by the profile job. Values are:

Profile name. The name of this connection profile description.


PRFR0200 Format

The following data about a connection profile is returned for the PRFR0200 format. IP address information is IPv4 and IPv6. IPv4 fields are only valid if the "IPv4 Enabled" field is set to 1 (Yes). IPv6 fields are only valid if the "IPv6 Enabled" field is set to 1 (Yes). For detailed descriptions of the fields in the table, see PRFR0200 Field Descriptions.


PRFR0200 Field Descriptions

Accept default route. Specifies whether the system will accept a default route in a Router Advertisement message received on this link. Valid values are:

Add link percentage. The percentage utilization of the connection before adding another link to a connection. Valid values are:

Address prefix. The 64-bit binary address prefix set in Router Advertisement messages sent on this link.

Advertise default route. Specifies whether a default route is set in Router Advertisement messages sent on this link. Valid values are:

Advertise DHCPv6 managed address configuration. Specifies whether the "Managed address configuration" flag (M flag) is set in Router Advertisement messages sent on this link. When the M flag is set, it indicates that addresses are available via Dynamic Host Configuration Protocol (DHCPv6). Valid values are:

Advertise DHCPv6 other configuration. Specifies whether the "Other configuration" flag (O flag) is set in Router Advertisement messages sent on this link. When the O flag is set, it indicates that other configuration information is available via Dynamic Host Configuration Protocol (DHCPv6). Valid values are:

Allow additional remote IP addresses by user ID. Whether additional remote IP addresses may be specified for specific user ID entries. Valid values are:

Allow BACP (Bandwidth Allocation Control Protocol). Whether BACP is allowed/required for this connection. Valid values are:

Allow IP datagram forwarding. Whether IP datagrams not destined for this system should be forwarded. Valid values are:

Allow IPv6 datagram forwarding. Specifies whether IPv6 datagrams received on this link and not destined for this system should be forwarded. Valid values are:

Allow L2TP Multihop connections. Whether L2TP multihop connections are allowed by this profile connection job. Valid values are:

Allow L2TP outgoing call connections. Whether L2TP outgoing call connections are allowed by this profile connection job. Valid values are:

Allow remote system to assign remote IP address. Whether the remote system is allowed to specify the remote IP address for the connection. Valid values are:

Allow remote system to initate call. The remote system is allowed to initate a call for an additional link for the connection. Valid values are:

Answer profile this dial-on-demand profile depends on. The name of the answer profile (connection job) that must be running to answer incoming connections before this profile connection job may be started.

ASCII CCSID of line data. The ASCII Coded Character Set ID of the line data for the connection that will be used to translate connection dialog to and from the EBCDIC character set of the Connection Script used by this profile connection job.

Bandwidth test direction. The data direction on the connection to test the bandwidth for adding and removing links. Valid values are:

Connection script file. The name of the connection script file that is used by this profile connection job.

Connection script file defined. The connection script file that describes dialog for establishing a connection with the remote system. Valid values are:

Connection script library. The library containing a Connection Script file that is used by this profile connection job.

Connection script member. The member name of the Connection Script file that is used by this profile connection job.

Delay between dial attempts. The time (in seconds) to wait before next attempting to make a successful dialed connection. Valid values are:

DNS definition. Whether a Domain Name System (DNS) IP address is to be added to the DNS address list when a connection is established for this profile connection job. Valid values are:

DNS IP address. The IP address of the DNS used by this profile connection job.

DNS IPv6 definition. Specifies whether a Domain Name System (DNS) IPv6 address is to be added to the DNS address list when an IPv6 connection is established for this profile connection job. Valid values are:

DNS IPv6 address. The 128-bit binary IPv6 address of the DNS used by this profile connection job when an IPv6 connection is established.

Drop link percentage. The percentage utilization of the connection before dropping a link of a connection. Valid values are:

Entry length of profile detailed connection parameters. The length in bytes of each profile detailed connection parameter entry returned for this profile. A value of zero is returned if the list is empty.

Entry length of remote phone numbers. The length in bytes of each remote phone number entry returned for this profile. A value of zerois returned if the list is empty.

Filter rule name.The name of the filter rule to be used by this connection profile.

Hide address (full masquerading). Whether all other IP addresses should be hidden by the IP address of the PPP connections established by this profile connection job. Valid values are:

Inactivity timeout. The value used for the inactivity timeout in the line description. Valid values are 15 - 65535 seconds.

Interface identifier. The 64-bit interface identifier used as a starting value for IPV6CP negotiation on this link.

IP security connection group. The name of the connection group that describes the IP Security details for connections established by this profile connection job.

IPv4 enabled. Specifies whether an attempt is made to establish an IPv4 connection when this connection profile is activated. If this field is set to 1 (Yes), then IPv4-related PRFR0200 fields have valid values. Valid values are:

IPv6 enabled. Specifies whether an attempt is made to establish an IPv6 connection when this connection profile is activated. If this field is set to 1 (Yes), then IPv6-related PRFR0200 fields have valid values. Valid values are:

IPv6 routing definition. The additional routing requested when activating this profile connection job and an IPv6 connection is established. Valid values are:

L2TP host name. The host name or IP address of the remote end of the tunnel for an L2TP initiator profile or the host name or IP address of the local end of the tunnel for an L2TP terminator profile. This field should be used instead of the L2TP tunnel endpoint address field.

L2TP outgoing call line definition. The line type to be used by this profile connection job for L2TP outgoing calls. Valid values are:

L2TP outgoing call line name. The name of the line to be used by this profile connection job for L2TP outgoing calls.

L2TP tunnel endpoint address. The IP address of the remote end of the tunnel for an L2TP initiator profile or the IP address of the local end of the tunnel for an L2TP terminator profile. Usage of this field is deprecated and the L2TP host name field should be used instead.

Length of additional information. The length in bytes of additional information returned if format PRFR0300 is requested.

Line definition. The line selection method used by this profile connection job. Valid values are:

Line name. Each TCP/IP interface is associated with a physical network. This field displays the name of the communications line description that identifies the physical network associated with an interface. May be blank when Line type selection is *LINEPOOL and no member line has been selected.

Line pool list name. The name of the Line Pool list that contains the names of line descriptions available for use by this profile connection job.

Line type. The type of line connection defined in this connection profile. Possible values are:

Local IP address. The local IP address defined for connections established by this profile connection job.

Local IP address definition. How a local IP address is defined for connections established by this profile connection job. Valid values are:

Local IPv6 address. The 128-bit binary local IPv6 address used by this profile connection job. This field is only valid for dial-on-demand connection profiles.

Local user ID defined. The User ID that is defined if authentication is required by the remote system. Valid values are:

Local user ID encryption type. The encryption method for the local system user name and password when authenticating with the remote system. Valid values are:

Local user ID validation list name. The name of the validation list containing the local User ID and password when authenticating with the remote system.

Maximum number of connections. The maximum number of connections supported by this PPP job profile.

Maximum number of multilink connections. The maximum number of physical connections connections that can be bundled into a single multi-linked connection.

Move current remote phone number if dial operation is successful. Whether the current remote phone number should be moved if the call attempt is successful. Valid values are:

Multilink connection enabled. Whether multilink connections are enabled for the profile. Values are:

Number of profile detailed connection parameter entries. The number of profile detailed connection parameter entries returned for this profile. A value of zero is returned if the list is empty.

Number of remote phone number entries. The number of remote phone number entries returned for this profile. A value of zero is returned if the list is empty.

Number of remote IP addresses. The number of IP addresses derived from the Remote IP start address defined for this profile connection job.

Number of dial attempts. The total number of dial attempts to achieve a successful connection.

Offset to additional information. The offset in bytes to the rest of the information if format PRFR0300 is requested.

Offset to profile detailed connection parameter entries. The offset from the beginning of the receiver variable, in bytes, to the first element in the profile detailed connection parameter entries returned for this profile. A value of zero is returned if the list is empty.

Offset to remote phone number entries. The offset from the beginning of the receiver variable, in bytes, to the first element in the remote phone number entries returned for this profile. A value of zero is returned if the list is empty.

Persistent PPPoE connection. Whether PPPoE connections for this profile are re-established when lost unexpectedly. Values are:

PPPoE server addressing. Describes the method used to select a PPPoE server connection. Valid values are:

Preferred line description. The name of the line description that Neighbor Discovery (ND) Proxy processing prefers for the upstream interface. A value of *NONE indicates that this preferred line description has not been specified.

Re-dial when disconnected. Whether a dialed connection established by this profile connection job will be redialed if the connection is lost unexpectedly. Valid values are:

Remote IP address definition. How a remote IP address is defined for connections established by this profile connection job. Valid values are:

Remote IP address (or start of IP address pool). The remote IP address (or starting IP address for multi-connection profiles) defined for connections established by this profile connection job.

Remote user ID authentication protocols allowed. The allowable protocols for remote user ID authentication. Valid values are:

Remote user ID required for logon. Remote User ID authentication is required for logon to the local system. Valid values are:

Remote user ID validation method. The method for validation of the remote user ID. Valid values are:

Remote user ID validation list name. The name of the Validation list containing the remote User ID and password for authenticating the connection with the remote system.

Requested PPPoE server name. The PPPoE server name requested for this PPPoE initiator profile to negotiate the remote end of the connection.

Requested PPPoE service. The PPPoE service requested for this PPPoE initiator profile to negotiate with the remote end of the connection.

Request VJ header compression. Whether VJ header compression should be performed on IP datagrams. Valid values are:

Requires IP security protection . Whether IP security is required for connections established by this profile connection job. Valid values are:

Routing definition. The additional routing requested when activating this profile connection job. Valid values are:

Subsystem description. The name of the subsystem description in which the connection jobs for this profile connection job will be run.

Time to wait (in seconds) for adding a link. The time (in seconds) to wait before adding an additional link after the connection utilization has exceeded the specified percentage. Valid values are:

Time to wait (in seconds) for dropping a link. The time (in seconds) to wait before dropping a link after the connection utilization has receeded below the specified percentage. Valid values are:

Use filter rule. Whether a filter rule should be used by the profile connection job. Valid values are:

Use Radius for connection auditing and accounting. Whether Radius should be used for connection auditing and accounting. Valid values are:

Virtual LAN identifier. The virtual LAN identifier for the associated line description.



Connection Profile Detailed Parameters

The following data is returned for each profile detailed connection parameter entry, describing one connection for a profile. Multiple connection profiles may have one entry for each connection. For detailed descriptions of the fields in the table, see Field Descriptions.


Field Descriptions

Active (binary) local IPv4 address. The binary local IPv4 address of the connection established by this profile connection job.

Active (binary) remote IPv4 address. The binary remote IPv4 address of the connection established by this profile connection job.

Authentication protocol. The authentication protocol that was negotiated for this profile connection. Valid values are:

Connection status. The current status of this profile connection. Valid values are:

Detailed connection status. Additional detail of the current status of this profile connection. Valid values are:

Filter rule name. The name of the filter rule that is in effect for this profile connection. A value *NONE means that no filter rule is in use.

Full masquerading. Whether full masquerading is in effect for this profile connection. Valid values are:

Group access policy. The name of the group access policy that is in effect for this profile connection. A value *NONE means that no group policy is in use.

IP forwarding. Whether IP forwarding is active for this profile connection. Valid values are:

Job name. The job name of this profile connection job.

Note that the connection job may not be unique. That is, multiple connections can share a single job by running in separate threads.

Job number. The job number of this profile connection job.

Job user. The job user name of this profile connection job.

Line name. The name of the line description used for this profile connection.

Line inactivity timeout. The value used for the inactivity timeout in the line description. Valid values are 15 - 65535 seconds.

Maximum links per multilink connection bundle. The maximum number of links allowed per bundle for multilink connections for this profile.

Maximum transmission unit. The maximum size of IP datagrams that can be sent over connections started by this profile connection job. This value is valid only when the profile is active.

Multilink protocol enabled. Whether multilink connections are allowed for this connection profile. Valid values are:

Multilink bandwidth utilization monitoring enabled. Whether bandwidth utilization monitoring is enabled for this profile connection. Valid values are:

Number of active links. The number of active links that constitute this profile connection.

Proxy ARP routing. Whether proxy ARP routing is in effect for this profile connection. Valid values are:

Remote user name. The name of the connected remote user that was authenticated for this profile connection. This value is valid only when authentication is enabled for this connection profile.

TCP/IP header compression. Whether TCP/IP header compression will be performed for this profile connection. Valid values are:

Thread ID.The thread id under which the connection is running in the point-to-point job.



Error Messages


API introduced: V5R1