Previous Topic: Display CTRACE Packet Tracing Menu

Next Topic: View the Saved Packet Trace


How to Perform a Trace and Save Data

To perform a trace and save the trace data

  1. Start trace, which prompts you to start CTRACE if it is inactive.
  2. Reproduce the problem you are tracing.
  3. Stop trace, which stops CTRACE.
  4. Save the packet trace data.

You can also see which traces are currently running, and view saved trace data.

Start a Trace

Before you can begin tracing packets, you need to start CTRACE (Component Trace). If CTRACE is inactive, you are prompted to start CTRACE. The Start CTRACE panel appears. You can also start CTRACE from the CTRACE Packet Tracing Menu.

Note: To trace TCP/IP packets, CTRACE must be started with an external writer. For information about how to create the external writer, see the Administration Guide.

To start a trace

  1. Enter /CTRACE at the prompt.

    The CTRACE Packet Tracing Menu appears.

  2. Select option PT (Start Packet Tracing).

    (Optional) Complete the fields to limit your trace.

    Press Enter.

    The Start CTRACE panel appears.

  3. (Optional) Change the stack for which you want to start the trace or the contents of the Command to Start CTRACE field.

    The trace is ready to be started with your requirements.

  4. Press F6 (Action).

    CTRACE starts, and the trace job values are saved. These saved options are then used as defaults next time you use this panel.

    CA NetMaster NM for TCP/IP issues the command specified in the command field for the specified stack. It then automatically responds to the WTOR messages written to the console during CTRACE start processing.

Note: If any errors are encountered when starting CTRACE, error information may be written to the activity log. To view this log, enter /LOG at the prompt.

List Active Traces

To find out what traces you have started, you can list active traces whenever any are running.

To list active traces

  1. Enter /CTRACE at the prompt.

    The CTRACE Packet Tracing Menu appears.

  2. Enter LA (List Active Traces).

    (Optional) Enter the name of the INMC link to that region in the Link Name field if you want to list active packet traces on a remote region.

    Press Enter.

    The Active Packet Trace List appears.

Stop a Trace

Before you can save your trace data, you must stop tracing packets, which also stops CTRACE.

To stop a trace

  1. Enter /CTRACE at the prompt.

    The CTRACE Packet Tracing Menu appears.

  2. Enter PTC (Clear Traces).

    (Optional) If you want to stop traces on a remote region, specify the name of the INMC link to that region in the Link Name field.

    Press Enter.

    The Confirm Trace Stop panel appears.

  3. Press F6 (Confirm).

    The Packet Tracing Menu appears with a message confirming that the trace has been stopped.

Save CTRACE Data

When you have stopped tracing, you can save the CTRACE records. You need to do this so that you can view the traced packets.

To save your trace data

  1. Enter /CTRACE at the prompt.

    The CTRACE Packet Tracing Menu appears.

  2. Select option SV (Save Trace Data).

    The Save Trace Data panel appears.

  3. Press F6 (Action).

    The CTRACE Packet Tracing Menu appears, with a message indicating: