Using RFC-2544 for Traffic Generation and Analysis
  • 24 Oct 2022
  • 9 Minutes to read
  • Contributors
  • Dark
    Light
  • PDF

Using RFC-2544 for Traffic Generation and Analysis

  • Dark
    Light
  • PDF

Article Summary

Use the traffic generator to pinpoint devices or network problems, or to measure current throughput, frame delay, and frame delay variation on a specific network segment. This article describes how to set up your Carrier Ethernet network to perform end-to-end testing.

With advanced traffic generation and monitoring capabilities, you can perform fully automated and documented turn-up tests.

You must pair the traffic generator with another device that loops the traffic back. The Skylight modules contain pre-programmed loopbacks for certain types of layer-2 frames (LBM). When testing with layer-3 packets (UDP), you must configure the peer unit with a loopback that matches the test traffic, and with a swapping action on the source/destination MAC addresses, IP addresses, and UDP port numbers.

This figure illustrates a typical network for traffic generation tests:

image.png

You can use the traffic generator to generate one to four flows of test traffic and provide separate results for each flow. Each flow has specific characteristics, such as traffic type and bit rate. You have the following choices when setting up each flow:

  • Layer-2 and layer-3
  • VLAN or VLAN-in-VLAN encapsulation of test traffic
  • Different traffic types and frame/packet sizes

Setting Up the Traffic Generator

You can set up the traffic generator to send one to four traffic flows, each having a different traffic type and VLAN. To view the elements that can be configured for each traffic flow, refer to the table RFC-2544 generator configuration (SAT ▶ RFC-2544 ▶ Generator ▶ Configuration).


Note: The Skylight modules contain pre-programmed loopbacks for layer-2 frames (LBM-based). For layer-3 testing with UDP segments, you need to program the peer unit to have a manual loopback to match the test traffic, with a swapping action on the MAC addresses, IP addresses, and port numbers. You can do this by using the OAM menu.

To set up the traffic generator:

  1. Access the page SAT ▶ RFC-2544 ▶ Generator ▶ Configuration.

  2. Click the Add button to add new test or click the Port Name of an existing test to edit its settings.

  3. Complete the required fields, and then click Apply.


    Note: The page content varies, depending on the traffic type you select.

For information on specific parameters, refer to the following table.

RFC-2544 generator configuration (SAT ▶ RFC-2544 ▶ Generator ▶ Configuration)

ParameterDescription
DescriptionA description to identify the flow and its characteristics.
Outgoing portPort on which to send the flow(s).
Enable flow(s)Select to enable the flow(s) included in the test.
Exclude VLAN sizeSelect so that when excluding the VLAN size, the frame length increases by the size of the VLAN tag header(s) being added to the frame.

First to Fourth packet header settings

ParameterDescription
TypeType of test traffic:
  • layer-2: Y.1731 LBM frames.
  • layer-3: UDP segments to perform a test across a multilayered network.
Note: For IPv6 traffic (Type=Layer3, source and destination IP addresses are IPv6 addresses) the minimum frame size is 80 bytes. Each enabled VLAN header adds 4 bytes to the minimum frame size.
MAC destinationPeer MAC address. Applies to layer-2 traffic only.
Y.1731 MEG levelMaintenance Entity Group level. Applies to layer-2 traffic only. For details, refer to ITU-T Y.1731.

Range: 0–7

Destination IP addressIP address of the remote unit interface. Applies to layer-3 traffic only.
DSCPDiffServ Code Point to set in the generated packets. Applies to layer-3 traffic only.
Source portNear-end UDP port number used to generate the test's PDU. Applies to layer-3 traffic only.
Destination portFar-end UDP port number associated with the IP address of the unit that will receive, process, and display the traffic statistics and report.

Applies to layer-3 traffic only.

Note: You must set the port to a value in the range of 0–65535 but you cannot set the destination port value to 8793, since this is Accedian's proprietary port number. For information on destination ports default values, refer to "Network Requirements — TCP/UDP Ports".

A port cannot be defined as the UDP port here if it is already in use for TWAMP. In the case of the following features, the same UDP port could be defined to any SAT instances as Skylight sensor: control allows to start only one SAT instance at the same time on the same remote device.

  • Layer-3 Traffic Generator
  • Layer-3 RFC-2544 Test Suite
  • Layer-3 Y.1564
TTLTime To Live (TTL) value of the packets transmitted on the flow. Applies to layer-3 traffic only.
Enable VLAN 1 headerSelect to encapsulate all frames with one VLAN header.
VLAN 1 IDFirst VLAN ID.

When enabled, all test frames are encapsulated with the specified VLAN ID.

VLAN 1 Ethernet typeFirst VLAN Ethernet type. Applies only when the VLAN 1 header is enabled.

Possible values are:

  • VLAN (0x8100)
  • VLAN (0x88A8)
  • VLAN (0x9100)
Note: The Ethertype associated with the selected value displays in a read-only text box.
VLAN 1 priorityFirst VLAN priority bits. Applies only when the VLAN 1 header is enabled.
VLAN 1 CFIFirst VLAN Canonical Format Indicator (CFI). Applies only when the VLAN 1 header is enabled.
Enable VLAN 2 headerSelect to encapsulate all frames with two VLAN headers (as in QinQ).

Note: VLAN 1 must be enabled to use two VLAN headers.

VLAN 2 IDSecond VLAN ID. Applies only when the VLAN 2 header is enabled.

When enabled, all test frames are encapsulated with the second specified VLAN ID (inner VLAN).

VLAN 2 Ethernet typeSecond VLAN Ethernet type. Applies only when the VLAN 2 header is enabled.

Possible values are:

  • VLAN (0x8100)
  • VLAN (0x88A8)
  • VLAN (0x9100)
Note: The Ethertype associated with the selected value displays in a read-only text box.
VLAN 2 prioritySecond VLAN priority bits. Applies only when the VLAN 2 header is enabled.
VLAN 2 CFISecond VLAN Canonical Format Indicator (CFI). Applies only when the VLAN 2 header is enabled.

First to Fourth flow profile settings

ParameterDescription
Flow nameName assigned to the flow for reference in the Results section.
Traffic typeType of traffic. May be one of the following:
  • constant: To send frames at a specific bit rate. You must specify the Bit rate (kbps).
  • burst: To send a predefined number of frames at every period. You must specify the Packets per burst.
Bit rate (Kbps)For constant traffic type, enter a bit rate that does not exceed the capacity of the outgoing port used for that test.

Supported values vs. step size are:

  • 0 to 12.5 Mbps: Steps of 0.125 Mbps
  • 13 Mbps to Line Rate: Steps of 1 Mbps
Packets per burstFor burst traffic type, specify the number of frames to send per period.
Inter-burst gap (ms)For burst traffic type, specify the period, expressed in milliseconds, between the beginning of two successive bursts of frames.
Size typeSelect whether frame sizes are fixed or random.
SizeFor a fixed frame, specify the packet size.

Acceptable values range from 64 bytes to 10240 bytes.

Note: Modify the port MTU sizes as required to accommodate your selection.

Minimum sizeFor random frame sizes, specify the minimum value. The size of test frames will vary randomly between the minimum and maximum values you indicate.

Acceptable values range from 64 bytes to 10240 bytes.

Note: Modify the port MTU sizes as required to accommodate your selection.

Maximum sizeFor random frame sizes, specify the maximum value. The size of test frames will vary randomly between the minimum and maximum values you indicate.

Acceptable values range from 64 bytes to 10240 bytes.

Note: Modify your port MTU sizes to accommodate your selection.

Duration typeDuration type may be one of the following:
  • seconds: Stops after a specified number of seconds.
  • packets: Stops after sending a specified number of packets.
Duration (s)Specify the duration in seconds. Range: 1 to 604,800 seconds.
Duration (packets)Specify the duration in packets. Range: 1 to 4,000,000,000 packets.

Starting the Traffic Generator and Viewing Test Results

To view a summary of the traffic generator results:

  1. Access the page SAT ▶ RFC-2544 ▶ Generator ▶ Results.

    When you first enter this page, the results of the last test performed dipslay.

  2. To start a new test, click Start.

    Tip: You can stop the test manually at any time by clicking Stop.

  3. Click details of the first or second flow to view the detailed results for this flow.

For more information on these results, refer to the following table.

RFC-2544 Generator Results (SAT ▶ RFC-2544 ▶ Generator ▶ Results)

ParameterDescription
Flow nameName assigned to a flow.

Transmit statistics

ParameterDescription
Transmitted packetsTotal packets transmitted by this flow for this test.
Transmitted bytesTotal bytes transmitted by this flow for this test.
L1 Rate (Mbps)Transmitting bit rate of Layer-1 traffic, expressed in Mbps.
L2 Rate (Mbps)Transmitting bit rate of Layer-2 traffic, expressed in Mbps.
StateThe flow's current state may be one of the following:
  • Waiting: Waiting to be started by the tester.
  • Failed: The flow was deleted before the test was started.
  • Running: The flow is currently running.
  • Stopped: The tester stopped the flow before it completed.
  • Completed: The flow reached its duration limit.
  • Network Failure: Issues on the network between the Skylight sensor: control and the remote device have prevented the flow from completing
Working rateThe flow's working rate may be Layer-1 or Layer-2.

Receive statistics

ParameterDescription
Received packetsTotal packets received by the generator’s analysis component for this test after being looped back by the peer device.
Received bytesTotal bytes received by this generator (analysis component) for this test.
L1 Rate (Mbps)Receiving bit rate of Layer-1 traffic, expressed in Mbps.
L2 Rate (Mbps)Receiving bit rate of Layer-2 traffic, expressed in Mbps.
OOO or duplicatesOut-of-order or duplicate frames received by this generator (analysis component).
Number of gapsNumber of gaps contained in the numbered sequence. Each frame contains a sequence number allowing to identify the gap.
Maximum gapMaximum size, expressed in frames, of the received gaps.

Two-way delay

ParameterDescription
Instantaneous (μs)Two-way instantaneous delay, expressed in microseconds.

The delay is measured for each frame from the generator to the loopback device and back to the generator.

Average (μs)Average two-way packet delay, expressed in microseconds. The delay is measured for each packet from the generator to the loopback device and back to the generator (analysis).
Minimum (μs)Minimum two-way delay, expressed in microseconds.
Maximum (μs)Maximum two-way delay, expressed in microseconds.

Two-way delay variation

ParameterDescription
Instantaneous (μs)Two-way instantaneous delay variation value, expressed in microseconds.

The delay variation is measured for each frame from the generator to the loopback device and back to the generator.

Average (μs)The average two-way delay variation, expressed in microseconds.
Minimum (μs)Minimum two-way delay variation, expressed in microseconds.
Maximum (μs)Maximum two-way delay variation, expressed in microseconds.

Test times

ParameterDescription
Test started atTime when the test was started.
Test stopped atTime when the test was completed or halted.

© 2024 Accedian Networks Inc. All rights reserved. Accedian®, Accedian Networks®,  the Accedian logo™, Skylight™, Skylight Interceptor™ and per-packet intel™, are trademarks or registered trademarks of Accedian Networks Inc. To view a list of Accedian trademarks visit: http://accedian.com/legal/trademarks/. 


Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.