Candela Technologies Logo
Network Testing and Emulation Solutions

Scripted Layer-3 Test

Goal: Use RFC-2544 as a guide to create a Layer-3 connection that can run automatically through various payload sizes and rates for a specified duration.

In this example, LANforge is used to set up a scripted connection that will iterate through a user-defined list of payload sizes and transmission rates. Each iteration will run for a user-defined duration with a user-defined pause between iterations. A summary text report is generated at the conclusion of all iterations.

  1. Create a Layer-3 connection.

    For more information see Generating Traffic to a Switched Network

  2. Modify the Layer-3 connection to add the script.
    1. Highlight the Layer-3 connection and select Modify. screenshot
    2. Select the Script button on Endpoint A. screenshot
    3. Select the Script Type, RFC-2544. screenshot
      1. Note: A default set of payload sizes are set up based on RFC-2544 but, can be changed by typing over the default values.
      2. Note: For Layer-3 UDP and TCP connections, 'payload size' refers to size of the payload being carried by the protocol and not the ethernet frame size.
  3. Set up script options. For details refer to: LANforge User's Guide: Scripted Cross Connect
    1. Select Symmetric for the script to run both endpoints for a bi-directional traffic test. screenshot
    2. Set the Run and Pause Duration. screenshot
      1. Note the total number of Script Iterations and Estimated Total Duration to help determine how long it will take to run this script.
    3. Select OK to close the Add/Modify Script window. screenshot
    4. The Script Type for Endpoint B is set to NONE because Endpoint A is controlling both ends of the connection in this symmetric script example. screenshot
    5. Select OK to close the Create/Modify Cross Connect window. screenshot
  4. Start the Scripted Layer-3 Cross Connect.
    1. Highlight the Layer-3 connection and select Start. screenshot
    2. A script report window will pop up and show the details of each iteration of the scripted connection as it is run. screenshot
    3. At the conclusion of the script, the report window will display a summary of the entire scripted connection results. Full Script Report for this example: screenshot
      1. per iteration details
      2. raw CSV data for all iterations
      3. spreadsheet matrices for creating your own 3D graphs
      4. system information

Candela  Technologies, 2417 Main Street, Suite 201, Ferndale, WA 98248, USA | | +1.360.380.1618
Facebook | LinkedIn | Blog