Monitoring PPP activity

You can view a connection profile and a session log by using IBM® Navigator for i.

About PPP connection jobs:

  • There are two PPP control jobs that are used to manage the individual PPP connection threads. These jobs run in the QSYSWRK subsystem:
    • QTPPPCTL - Main PPP Control job. This job manages each PPP connection thread.
    • QTPPPL2TP - L2TP server. This job manages the L2TP tunnel establishment and only runs if an L2TP profile is currently running.
  • PPP connection threads in QTPPPCTL run under the QTCP user name.
  • SLIP connection jobs run in the QSYSWRK subsystem under the QTCP user name. There are two types of SLIP job names:
    • QTPPDIALnn are dial-out jobs where nn is any number from 1 to 99.
    • QTPPANSnnn are dial-in jobs where nnn is any number from 1 to 999.

Working with connection profiles:

  1. In IBM Navigator for i, expand IBM i Management > Network > Remote Access Services and click Originator Connection Profiles or Receiver Connection Profiles.
  2. In the Profile column, right-click any connection profile name, and select one of the following options:
    • Connections opens a window to display information about all connections associated with the profile. The information can include connection data for a current connection, previous connections, or both. Options to see job output, connection details, call logs, or message logs for each connection are available.
    • Properties opens the Property pages to display current properties for a connection.

Viewing connection information:

  1. In IBM Navigator for i, expand IBM i Management > Network > Remote Access Services and click Originator Connection Profiles or Receiver Connection Profiles.
  2. In the Profile column, right-click any connection profile name that does not have an Inactive status, and select Connections to view connection information.

    Each connection for this profile is shown (current and previous). The status field indicates the current status of the connection. Additional information such as the user ID of the connected user, thread ID, local and remote IP addresses, and the name of the PPP job might be shown depending on the status of each PPP job.

  3. To view job output, details for a connection, call logs, or message logs, right-click a connection to enable the buttons.
  4. To view QTPPPCTL, click Jobs. From the connections window, right-click the job name, and select Printer Output or Job Log to display information about all the connection threads associated with the QTPPPCTL.
  5. To view connection details click Details. Details can only be displayed for currently active connections. The details window will allow you to see additional connection information for this particular connection.
  6. To view call logs, click Call Log.
  7. To view message logs, click Message Log.

Working with PPP Output from the system:

To work with PPP output, enter WRKTCPPTP from the system command line:

  • To work with ALL active PPP jobs (including the QTPPPCTL and QTPPPL2TP jobs), press F14 (Work with active jobs).
  • To work with all output for a particular connection profile, select option 8 (work with output) for that profile.
  • To print PPP profile configuration, select option 6 (Print) for that profile. Then use the WRKSPLF command to access the printed output.

Connection status:

The connection profile status is displayed in the Status field for each profile in the list of connection profiles under IBM i Management > Network > Remote Access Services after selecting either Originator or Receiver Connection profiles. Status for an individual connection is displayed using the Connections window.

Table 1. Primary status description
Primary status description Explanation
Waiting for connection requests Receiver profile is ready for a connection
Waiting for incoming call The system is ready for a connection
Connecting In the process of connecting with the remote system
Active/Active connections Connection has been made and the job is running successfully
Inactive No jobs are currently running for this connection profile
Ended Information available
Multihop terminator is starting a multihop initiator Multihop in progress
Multihop connection is active Multihop successfully connected
Table 2. Secondary status description
Secondary status description Explanation
Initializing modem initializing modem at the start of a dialup connection
Waiting for modem connection PPP Server in the listen state
DIALING xxx-xxxx number dialed by the dialup client
Incoming call detected PPP Server detects an incoming modem call
Modem connected PPP handshaking successfully complete
Operational PPP connection active
Link terminated Connection ended by the peer
Stopped Profile or job ended
Authentication failure PPP connections failed to establish due to failed authentication
Connection inactivity timeout PPP connections failed to establish due to inactivity timeout
Negotiating IP addresses PPP connections ended due to IP negotiation problems
Remote modem did not answer PPP connections failed to establish due to no response from the other side
Protocol reject PPP connections failed to establish due to NCP negotiation failure
Retry failure PPP connection failed to establish because retry count was exceeded
Received PPPoE session confirmation from peer PPPoE negotiation successfully complete
L2TP call established L2TP tunnel up message