Using RFC-2544 for Traffic Generation and Analysis
  • 24 Jan 2024
  • 15 Minutes to read
  • Contributors
  • Dark
    Light
  • PDF

Using RFC-2544 for Traffic Generation and Analysis

  • Dark
    Light
  • PDF

Article Summary

Use the traffic generator and monitor 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 and monitoring.

With advanced traffic generation and monitoring capabilities, you can perform fully automated and documented turn-up tests. The test capabilities include both out-of-service and in-service tests.

For out-of-service tests, you must pair the traffic generator with another device that loops the traffic back. The Skylight element: LT contains pre-programmed loopbacks for certain types of layer-2 frames (LBM). When testing with layer-2 generic frames or layer-3/layer-3 generic 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. For IP multicast traffic you must use the RFC monitor in the remote unit.

This figure illustrates a typical network setup where the traffic generator is used on a Skylight element to execute a two-way throughput test:

4.bmp

You can use the traffic generator to generate one or two 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 (three types), layer-3 (two types), and IP multicast traffic
  • VLAN or VLAN-in-VLAN encapsulation of test traffic
  • Different traffic types, frame/packet sizes, and payload patterns

Setting Up the Traffic Generator

You can set up the traffic generator to send one or two traffic flows, each having a different traffic type, VLAN, and patterns. 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 performance element: LT contains pre-programmed loopbacks for layer-2 or layer-2 Accedian frames (LBM-based). For layer-2 generic traffic or 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. 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
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 and Second packet header settings

ParameterDescription
TypeType of test traffic:
  • layer-2: Y.1731 LBM frames.
  • layer-2 Accedian: Modified LBM frames marked with the Accedian Ethertype.
  • layer-2 generic: Special Y.1731 OpCode frames to be used only with loopback devices based on the MAC address swap.
  • layer-3 generic: Layer-2 frames with generic layer-3 (UDP) payload. To be used only with loopback devices based on MAC address swap. Note: Layer-3 generic traffic is available for the traffic generator and test suite. It is not available for Y.1564 SAT.
  • layer-3: UDP segments to perform a test across a multilayered network.
  • IP multicast: Multicast UDP segments used to perform a one-way test terminating on one or more monitoring devices (point-to-multipoint test).
MAC destinationPeer MAC address. Applies to all layer-2 traffic types as well as layer-3 generic.

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 and IP multicast traffic types only.
DSCPDiffServ Code Point to set in the generated packets. Applies to layer-3, layer-3 generic and IP multicast traffic types only.
Source IP addressSource IP address used for the IP header. Applies to layer-3 generic and IP multicast traffic only.

Source portNear-end UDP port number used to generate the test's PDU. Applies to layer-3, layer-3 generic and IP multicast traffic types only.
Destination portFar-end UDP port number associated with the IP address of the unit that will receive the traffic.

Applies to layer-3, layer-3 generic and IP multicast traffic types 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 any of the following features:

  • A Layer-3 PAA instance
  • TWAMP
  • Layer-3 Traffic Generator
  • Layer-3 RFC-2544 Test Suite
  • Layer-3 Y.1564
  • SAT Protocol
TTLTime To Live (TTL) value of the packets transmitted on the flow. Applies to layer-3, layer-3 generic and IP multicast traffic types 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 and Second flow profile settings

ParameterDescription
Flow typeType of flow testing being conducted:
  • Out-of-Service: Two-way test requiring a loopback at the far-end.
  • In-Service: One-way non-intrusive test where a bandwidth regulator is used to monitor the client traffic while synthetic traffic is injected to match the configured test rate.

Note: When the flow type is In-Service, you must select a Regulator.

RegulatorRegulator to use when the flow type is In-service.

Note: For In-service flow type, ensure that the Regulator working rate and the Generator working rate are set to the same layer (Layer-1 or Layer-2) to have accurate tests. These settings are available in the Traffic ▶ Configuration ▶ Mode page.

This field has no effect when the flow type is Out-of-Service.

Flow nameName assigned to the flow for reference in the Results section.
Flow descriptionDescription to identify the flow and its characteristics 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.

Payload PatternSelect whether to use fixed-data, incremental, or random pattern in the payload part of the transmitted frames.
Fixed patternFor a fixed payload pattern, specify the 32-bit value, e.g. 0x12345678
Incremental patternFor an incremental payload pattern, select the increment factor of bytes for byte-by-byte increments or words (2 bytes) for word-by-word increments.
Random patternFor a random payload pattern, select one of the preconfigured patterns.
Duration typeDuration type may be one of the following:
  • continuous: Stops only when the user manually stops the test.
  • seconds: Stops after a specified number of seconds.
  • bytes: Stops after sending a specified number of bytes.
  • packets: Stops after sending a specified number of packets.
Duration (s)Specify the duration in seconds. Range: 1 to 604,800 seconds.
Duration (bytes)Specify the duration in bytes. Range: 64 to 4,000,000,000 bytes.
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.
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.

Setting Up the Traffic Monitor

Set up the traffic monitor to receive and analyze one or two traffic flows, which can vary in traffic type, VLAN, and patterns. The traffic monitor is used in conjunction with the generator to perform in-service non-intrusive throughput tests, while end-user traffic continues flowing without interruption. It is also used to analyze the test traffic when executing out-of-service IP multicast tests (one-way). You configure the traffic monitor from the remote unit.


Note:
In-service throughput tests and out-of-service IP multicast tests are unidirectional, which means that they do not require a loopback.

To set up the traffic monitor:

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

  2. Complete the required fields, then click Apply.


    Note: The page varies depending on which traffic type you select. When using a VLAN, the VLAN settings may have been changed throughout the network. These settings will need to reflect the current state of the test traffic as it enters the unit.

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

RFC-2544 monitor configuration (SAT ▶ RFC-2544 ▶ Monitor ▶ Configuration)

ParameterDescription
EnableSelect to enable the monitor.
Monitor nameName assigned to the monitor.
Monitor descriptionDescription set up to identify the monitor and its characteristics.
Monitor modeSelect the monitor mode:
  • Terminal: The test is terminated at this unit.
  • Bypass: The test measurements are performed but the test traffic may also be forwarded through the device based on the rules configured in the Traffic Policies for this specific traffic type.
Incoming portIncoming port of the monitor.

Packet header settings

ParameterDescription
TypeType of test traffic being monitored:
  • layer-2: Y.1731 LBM frames.
  • layer-2 Accedian: Modified LBM frames marked with the Accedian Ethertype.
  • layer-2 generic: Special Y.1731 OpCode frames to be used only with loopback devices based on the MAC address swap.
  • layer-3: UDP segments to perform a test across a multi-layered network.
  • layer-3 generic: Layer-2 frames with generic layer-3 (UDP) payload.
MAC destinationMAC address of the terminating Monitor port (i.e. if this monitor is set in terminal mode type, the MAC destination will be equal to the incoming port's MAC address). Applies to layer-2, layer-2 Accedian, layer-2 generic, and layer-3 generic traffic types 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, as configured in the Traffic Generator device. Applies to layer-3 and layer-3 generic traffic types only.
DSCPDiffServ Code Point used in the packets to be monitored. Applies to layer-3 and layer-3 generic traffic types only.
Source PortSource UDP port number, as configured in the Traffic Generator device. Applies to layer-3 and layer-3 generic traffic types only.
Destination PortDestination UDP port number, as configured in the Traffic Generator device. Applies to layer-3 and layer-3 generic traffic types only.

Note: The port value can be in the range of 0–65535, but you cannot use port number 8793 (Accedian's proprietary port number). For information on destination ports default values, refer to "Network Requirements — TCP/UDP Ports".

Enable VLAN 1 headerSelect to enable VLAN 1 header if the test traffic to monitor is VLAN tagged.
VLAN 1 IDFirst VLAN ID
VLAN 1 Ethernet typeFirst VLAN Ethernet type.

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 enable the VLAN 2 header if the test traffic to monitor is dual tagged (QinQ).

To use two VLAN headers, both VLAN 1 and VLAN 2 headers must be enabled.

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.

Viewing Traffic Monitor Test Results

To view a summary of the traffic monitor test results for each flow:

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

    All test results display.

  2. For detailed traffic monitor test results, click the flow details.


Note: When using In-Service Throughput Testing mode, the Generator and Monitor need time syncing before examining "One-way delay" and "One-way delay Variation" parameters to get the proper results.

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

RFC-2544 monitor results (SAT ▶ RFC-2544 ▶ Monitor ▶ Results)

ParameterDescription
NameName assigned to the monitor.
StateState of the monitor (Enabled or Disabled).
Average delay (μs)One-way average delay, expressed in microseconds.
Average DV (μs)One-way average delay variation, expressed in microseconds.

Receive statistics

ParameterDescription
Received packetsTotal packets received by this monitor.
Received bytesTotal bytes received by this monitor.
L1 Rate (Mbps)Reception bit rate of Layer-1 traffic, expressed in Mbps.
L2 Rate (Mbps)Reception bit rate of Layer-2 traffic, expressed in Mbps.
OOO or duplicatesOut-Of-Order or duplicate frames/packets received by this monitor. Out-Of-Order frames/packets are frames or packets that were received in a different order from that in which they were sent.
Number of gapsNumber of gaps in the sequence. Each frame contains a sequence number allowing to identify gaps.
Maximum gapMaximum size, expressed in frames, of the gaps.

One-way delay

ParameterDescription
Instantaneous (μs)One-way instantaneous delay, expressed in microseconds.
Minimum (μs)Minimum delay, expressed in microseconds.
Maximum (μs)Maximum delay, expressed in microseconds.
Average (μs)Average delay, expressed in microseconds.

One-way delay variation

ParameterDescription
Instantaneous (μs)One-way instantaneous delay variation, expressed in microseconds.
Minimum (μs)Minimum delay variation, expressed in microseconds.
Maximum (μs)Maximum delay variation, expressed in microseconds.
Average (μs)Average delay variation, expressed in microseconds.

© 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.