Documente Academic
Documente Profesional
Documente Cultură
Trademark Information
© 2017 Accedian Networks Inc. All rights reserved. Accedian, Accedian Networks, the Accedian logo, airMODULE,
antMODULE, EtherNID, Experience ● Performance, FlowBROKER, FlowMETER, MetroNID, MetroNODE, NanoNID,
Network State+, Performance Assurance Agent (PAA), PERFORMANT, Plug & Go, R FLO, SkyLIGHT, SkyLIGHT Director,
SkyLIGHT Director License Server, SkyLIGHT VCX Controller, SyncMETER, Traffic-Meter Vision Suite, Vision Collect,
Vision EMS, Vision Flow, Vision SP, VisionMETRIX and V-NID are trademarks or registered trademarks of Accedian
Networks Inc.
SevOne is a trademark of SevOne, Inc. SevOne Accedian Edition is a joint trademark of Accedian Networks Inc. and
SevOne, Inc.
All other company and product names may be trademarks of their respective companies. Accedian may, from time
to time, make changes to the products or specifications contained herein without notice. Some certifications may
be pending final approval; please contact Accedian for current certifications.
Accedian’s products are protected by patents as indicated on Accedian’s website, located at
http://www.accedian.com/en/legal.html
The mention of any product herein does not constitute an endorsement by Accedian Networks Inc.
The content of this publication is provided for informational use only, is subject to change without notice and should
not be construed as a commitment by Accedian Networks Inc. Accedian Networks Inc. assumes no responsibility or
liability for any errors or inaccuracies that may appear in this document.
Except as permitted by such lease agreement, no part of this publication may be reproduced, stored in any retrieval
system, or transmitted, in any form or by any means, electronic, mechanical, recording, or otherwise, without prior
written consent of Accedian Networks Inc.
Changes are periodically made to the information herein; these changes will be incorporated into new editions of
this publication. Accedian Networks Inc. may make improvements and/or changes in the products and/or software
programs described in this publication at any time.
Contact
If you have comments regarding this manual or the products it describes, address them to:
Accedian Networks Inc.
Attention: Technical Publications
2351 Alfred-Nobel Blvd., Suite N-410
Saint-Laurent, Québec
Canada H4S 2A9
Tel: 514-331-6181
Fax: 514-331-2210
Toll free: 1-866-685-8181
accedian.com
Contents
1 Introduction ....................................................................................................... 4
1.1 Setting up the Traffic Generator ................................................................................................. 4
1.2 Setting up the Traffic Monitor ..................................................................................................... 5
1.3 Setting up a Test Suite ................................................................................................................. 5
2 Configuration Examples ..................................................................................... 6
2.1 Example 1: Out-of-Service Layer-2 Throughput Testing using the Traffic Generator ................. 6
2.1.1 Get the MAC Address of the Loopback Device PE .......................................................... 7
2.1.2 Configure the Test Generator PE .................................................................................... 7
2.1.3 Perform the Test ............................................................................................................. 9
2.2 Example 2: Out-of-Service Layer-3 Throughput Testing using the Traffic Generator ............... 12
2.2.1 Test Configuration ........................................................................................................ 12
2.2.2 Configure the Generator Unit ...................................................................................... 12
2.2.3 Configure the Loopback Device .................................................................................... 14
2.2.4 Perform the Test ........................................................................................................... 18
2.3 Example 3: In-service Layer-2 Throughput Testing using the Traffic Generator and Monitor . 19
2.3.1 Get the MAC address of the traffic monitor unit ......................................................... 20
2.3.2 Configure the Bandwidth Regulator on the Traffic Generator Unit ............................. 20
2.4 Example 4: IP Multicast Testing using the Traffic Generator and Monitor ............................... 27
2.4.1 Configure MetroNID 1 (Traffic Generator) ................................................................... 27
2.4.2 Configure MetroNID 2 (Monitor) ................................................................................. 29
2.4.3 Configure MetroNID 3 (Additional Monitor) ................................................................ 29
2.4.4 Perform the Test ........................................................................................................... 29
2.5 Example 5: Layer-2 Testing with the RFC 2544 Test Suite ........................................................ 32
Appendix 1: Troubleshooting ................................................................................. 37
Layer-2 Generator Test Not Receiving Test Packets ............................................................................ 37
Delay Measurements Equal to Zero (0) ............................................................................................... 37
Layer-3 Test Stops Immediately .......................................................................................................... 37
Layer-3 Test Suite Not Receiving Test Packets .................................................................................... 38
Packet Loss for Test Suite with Large Frames...................................................................................... 38
Test Suite Fails for Specific Frame size ................................................................................................ 38
1 Introduction
This document describes how to use Accedian Network Performance Elements (PEs or simply
“units”) to perform end-to-end testing and monitoring. This allows you to pinpoint devices or
network problems or to measure current throughput, packet delay and packet-delay variation
on a specific network segment. The possible tests include ones specified in RFC 2544. This
document also includes common RFC 2544 troubleshooting information.
Advanced traffic generation and analysis capabilities allow you to perform fully automated
and documented turn-up tests. The test capabilities include in-service tests as well as out-of-
service tests.
For out-of-service tests, you must pair the traffic generator with another unit that loops the
traffic back. The PEs contain pre-programmed RFC 2544 loopbacks for certain types of Layer-
2 frames. When testing with Layer-2 generic frames or 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. For IP
multicast traffic, you must use the RFC monitor in the remote unit.
The next figure illustrates a typical network for traffic generation and analysis tests:
You may use the test 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, and IP multicast traffic
• VLAN or VLAN-in-VLAN encapsulation of test traffic
• Different traffic types, frame/packet sizes, and payload patterns
2 Configuration Examples
Test Configuration
Element Value
VLAN 1 ID 100
VLAN 1 priority 7
Note: When the working rate is set to Layer 2, rate calculations include only Layer-2
Ethernet frames. When the working rate is set to Layer 1, rate calculations include
Layer-1 Ethernet frames plus the Interframe Gap (IFG), preamble, and Start Frame
Delimiter (SFD).
4. Open SAT > RFC 2544 > Generator > Configuration.
5. Set up the generator as follows. See also the figure below.
a. Set the Outgoing port and check Enable first flow.
b. Open the First packet header settings. Set the traffic Type to layer-2. In the MAC
destination field, type the MAC address of the Loopback unit’s RJ45-B port you noted
earlier. This will allow the test traffic to be automatically looped back by the loopback
device.
Note: Refer to Appendix 2: Types of Test Traffic for RFC 2544 Appendix 2.
c. Check Enable VLAN 1 header, set VLAN 1 ID to 100, VLAN 1 priority to 7, and VLAN 1
Ethernet type to C-VLAN.
d. Open First flow profile settings and optionally enter a Flow name and Flow
description.
e. If there is a Flow type drop-down box, Set Flow type to Out-of-service.
Note: if the drop-down box is not present, then the Flow type is Out of service by
default.
f. Set the Traffic type to constant and the Bit rate to 15000 kbps.
g. Set frame Size type to fixed and Size to 1024 bytes.
h. Set the test Duration type to continuous.
Note: Leave the default values for the other parameters.
6. Click Apply.
3. Click on details to get more test results, as shown in the figure below. We see that the
measured L2 rate is 15 Mbps. The transmission and reception rates are the same, which
validates that the circuit throughput is 15 Mbps. This screen also displays the Layer-1
rates.
5. Click Apply.
6. Open SAT > RFC 2544 > Generator > Configuration.
7. Set up the generator as shown in the figure below.
a. Set the Outgoing port to SFP-1-1 and check the box for Enable first flow.
b. Open the First packet header settings. Set the traffic Type to layer-3. Set the
Destination IP address to 10.10.10.12. Set the Source port and Destination port to
5000.
c. Open the First flow profile settings and optionally enter a Flow name and Flow
description.
d. Set the Traffic type to constant and the Bit rate to 15000 kbps.
e. Set frame Size type to fixed and Size to 1024 bytes.
f. Set the test Duration type to continuous.
Note: Leave the default values for the other parameters.
8. Click Apply.
5. Click Apply.
Next, we need to configure a Layer-3 filter that matches the test traffic. Here are the steps:
1. Open Traffic > Filters > IPv4 filters.
2. Click the Add button. Set up the filter as shown in the figure below.
Note: The filter can use any parameter that is specific to the test traffic. In this
example, we will use the UDP port number (5000).
a. Enter UDP_5000 for the IPv4 filter name.
b. In IPv4 header settings, set the Protocol to UDP 17.
c. In UDP/TCP ports settings, set Source port and Destination port to 5000.
3. Click Apply.
• Accordingly, the traffic monitor should show 150 Mbps of test traffic being received,
matching what the traffic generator is sending. The remaining 50 Mbps is customer
traffic and will not be measured by the monitor.
Note: It is important to bind the regulator to the policy receiving the customer
traffic. For example, if customer traffic is being received on the client port on policy
1-7, then you must bind the regulator to this port and policy.
The basic steps for in-service testing at Layer 2 are:
1. Get the MAC address of the traffic monitor unit
2. Configure the bandwidth regulator on the traffic generator unit
3. Configure the traffic generator
4. Configure the traffic monitor
5. Perform the test
Each of these steps is described in more detail below.
5. Click Apply.
3. Click Apply.
b. Optionally, enter a Monitor name and Monitor description. Below, we show Monitor
name set to FirstMonitor.
c. Set Monitor mode to Terminal. In this mode, the test traffic will terminate in this unit
(i.e., will not pass through it).
d. Set the Incoming port to Network, i.e., the port receiving the test traffic from the
generator.
e. Under the Packet header settings, set Type to layer-2 and MAC destination to the
address of the Network port (i.e. use same parameters as on the Generator).
3. Click Apply.
In the figure above, we see that the generator is transmitting a flow of 150 Mbps (L2 rate). It
is adding 150 Mbps of test traffic to the customer traffic flow of 50 Mbps for a total of 200
Mbps.
7. Login to the traffic monitor.
8. Open SAT > RFC 2544 > Monitor > Results. Press F5 to refresh the screen. You should see
a screen similar to the following:
The figure above confirms that the monitor named FirstMonitor is receiving 150 Mbps (L2
rate) of test traffic from the generator.
Note: In a real customer network, the traffic rate constantly fluctuates over time, so
you should expect the reception rate to vary as well, as the In-Service Generator
adapts the outgoing test traffic rate to the incoming customer traffic rate.
Stop the test and verify the results as follows:
1. Login to the traffic generator.
2. Open SAT > RFC 2544 > Generator > Results and then click Stop.
3. Click details of the first flow to view the First flow results. You should see a screen like
the following one. Take note of the number of transmitted packets so we can compare
with the monitor results.
We see that the receive statistics of the monitor match the transmit statistics of the
generator. This confirms that the circuit successfully passed 200 Mbps of traffic without any
packet loss. This screen also displays the one-way delay and one-way delay variation
measured during the test.
Note: Since you are measuring one-way delay, you should synchronize the clocks of
the two units to get accurate results.
The basic steps for in-service multicast testing are:
• Configure MetroNID 1 (Traffic Generator)
• Configure MetroNID 2 (Monitor)
• Configure MetroNID 3 (Additional Monitor)
• Perform the Test
Each of these steps is described in more detail below
c. Open the First packet header settings. Set the traffic Type to IP multicast. In the
Destination IP address field, type a valid multicast address (e.g. 230.0.0.10 ). In the
Source IP address field, type a valid unicast address (e.g. 10.10.10.10).
Refer to Appendix 2: Types of Test Traffic for RFC 2544 Appendix2: Types of Test
Traffic for RFC 2544.
d. In the First flow profile settings, set the Flow type to Out-of-service.
e. Enter the Flow name and Flow description desired.
f. Set the Traffic type to constant and the Bit rate to 10000 kbps.
g. Set frame Size type to fixed and Size to 1024 bytes.
h. Set the test Duration type to continuous.
Note: Leave the other parameters set to their default values.
4. Click Apply.
In the figure above, we see that the generator is transmitting a flow of 10 Mbps (L2 rate) of
test traffic.
7. Connect to MetroNID 2.
8. Open SAT > RFC 2544 > Monitor > Results. Press F5 to refresh the screen.
You should see a screen like the following one.
The figure above confirms that the Monitor is receiving 10 Mbps (L2 rate) of test traffic from
the generator.
If you stop the generator in MetroNID 1 and look at the monitor statistics in MetroNID 2 (and
MetroNID 3), you can compare the number of packets sent by the generator versus the
number of packets received in each monitor. If the numbers are the same, you can conclude
there was no packet loss during the test.
2.5 Example 5: Layer-2 Testing with the RFC 2544 Test Suite
In this example, we will set up a test suite for throughput, delay, delay variation, frame loss,
and back to back testing at Layer 2.
4. Set up Delay and delay variation settings, Frame loss settings and Back to back settings
as shown in the figure below.
5. Click Apply.
2.5.1.3 Configure the Test Report and Run the Test Suite
Once you have set up a test suite, you can run it and view its report. Since each test is
associated with one test report, you must configure a new report each time you want to run
a new test. You can run a specific test suite many times provided you configure a new report
each time. Remember that you can store a maximum of 32 test reports in the memory.
1. Open SAT > RFC-2544 > Testsuite > Reports.
2. Click Start new testsuite to configure a new report. This displays the screen shown in the
figure below.
3. Fill in the File name, Description and Testsuite configuration and then click Run.
4. Open SAT > RFC 2544 > Testsuite > Report. This displays the screen shown in the figure
below.
5. Click the name of the test suite report to view it. An example report is shown in the figure
below.
Note: You can use the scroll bar to view the report as it is running. Refreshing the
browser screen (F5) will update the report.
6. Click the Save button to save the report to your workstation. Once the test is complete,
this report screen will look as follows:
To see an example of a complete report for a RFC 2544 test suite, refer to Appendix 3: Example
of RFC 2544 Test Suite Report.
Appendix 1: Troubleshooting
If the ping is not successful, verify the interface configuration on both units.
Various types of test traffic can be used with the RFC 2544 Traffic Generator and test suite.
Out-Of-Service
The following types of test traffic are available in the Test suite and Generator for out-of-
service testing.
Layer-2
The "classic" Layer-2 frame type has frames that are Y.1731-compliant LBM/LBR.
LBM: opcode 03/ethertype 0x8902
LBR: opcode 02/ethertype 0x8902
When an Accedian device receives this type of LBM frame with its own MAC address as the
destination MAC, it automatically loops the frame back as an LBR, after swapping the source
and destination MAC addresses.
Layer-2 Accedian
These frames are similar to Y.1731 LBM/LBR LBMs, but the ethertype is set to 0x88FC
(Accedian):
LBM: opcode 03/ethertype 0x88FC
LBR: opcode 02/ethertype 0x88FC
As with classic Layer-2 frames, when these frames contain the appropriate MAC destination
address, they are also automatically looped back by any Accedian devices.
Layer-2 Generic
These frames are modified Y.1731 frames where the opcode is changed to 11 (hex 0B) and
the ethertype is 0x88FC (Accedian). When these frames go across the network, they will not
affect any Y.1731-aware device, i.e. they will pass through it transparently.
However, the remote device (Accedian or other brand) must be configured to loop the frames
back and swap the MAC addresses for the source and destination.
Layer-3
Layer-3 test packets are UDP packets, with a user-defined source and destination UDP
port numbers.
In-Service
The In-Service RFC 2544 Generator test being unidirectional, LBM/LBR frames are not used in
this case. When configured for an In-Service Layer 2 throughput test, the RFC 2544 Generator
uses the following types of test frames.
Layer-2
This is configuration uses Y.1731 TST frames.
TST: opcode 37/ethertype 0x8902.
Layer-2 Accedian
These frames are similar to Y.1731 TST frames, but the ethertype is 0x88FC (Accedian). When
these frames go across the network, they will not affect any Y.1731-aware device, i.e. they
will pass through transparently.
Layer-2 Generic
These frames are modified Y.1731 frames, where the opcode is changed to 11 (hex 0B) and
the ethertype is 0x88FC (Accedian). When these frames go across the network, they will not
affect any Y.1731-aware device, i.e. they will pass through it transparently.
Layer-3
Layer-3 test packets are UDP packets, with user-defined source and destination UDP port
numbers.
********************************************************************
************
* RFC-2544 Conformance testsuite.
********************************************************************
************
General settings:
File name : Test_1
Technician name :
Description : RFC-2544 _test_example
Note :
Working rate : Layer 1
********************************************************************
************
Testsuite settings:
Name : Test_1
Description : RFC-2544 _test_example
Throughput test : Enabled
Delay test : Enabled
Frame loss test : Enabled
Back-to-back test: Enabled
Strict failure : Disabled
Verbose report : Disabled
********************************************************************
************
Peer settings:
Testing layer : Layer-2
Ethertype : 0x8902
Opcode : 3
MEG level : 7
********************************************************************
************
Error codes:
Binary search failure (1), Out Of Order or duplicate failure (2),
Frame loss failure (3), Loss of connection with peer (4),
********************************************************************
************
Throughput settings:
Trial duration : 10 secs
Maximum rate : 80 Mbps
Minimum rate : 40 Mbps
Step size : 5 Mbps
Frame loss : 0.0%
Fine stepping : False
Binary duration : 2 secs
Frame sizes : 64 128 256 512 1024 1280 1518 Bytes
Started at : 1970-01-15 18:44:34+00:00
********************************************************************
************
Frame Tx Tx Rx Rx Frame Status
Size rate rate rate rate loss
(bytes) (Mbps) (frames/sec) (Mbps) (frames/sec) (%)
------- --------- ------------ --------- ------------ ------ ------
64 80 119,048 80 119,048 0.0 Pass
128 80 67,568 80 67,568 0.0 Pass
256 80 36,232 80 36,232 0.0 Pass
512 80 18,797 80 18,797 0.0 Pass
********************************************************************
************
Delay settings:
Trial duration : 120 secs
Maximum rate : 80 Mbps
Minimum rate : 40 Mbps
Step size : 5 Mbps
Fine stepping : False
Binary duration : 2 secs
Frame loss : 0.0%
Frame sizes : 64 128 256 512 1024 1280 1518 Bytes
Started at : 1970-01-15 18:46:51+00:00
********************************************************************
************
Frame Tx Minimum Average Maximum Minimum Average Maximum Frame
Status
Size rate delay delay delay DV DV DV loss
(bytes) (Mbps) (usec) (usec) (usec) (usec) (usec) (usec) (%)
------- --------- ------- ------- ------- ------- ------- ------- ---
--- ------
64 80 9 9 10 0 0 0 0.0 Pass
128 80 9 9 10 0 0 0 0.0 Pass
256 80 9 9 10 0 0 0 0.0 Pass
512 80 9 9 10 0 0 0 0.0 Pass
1024 80 11 11 14 0 0 3 0.0 Pass
1280 80 13 13 14 0 0 0 0.0 Pass
1518 80 15 15 16 0 0 0 0.0 Pass
********************************************************************
************
Frame loss settings:
Trial duration : 60 secs
********************************************************************
************
Frame Tx Tx Rx Rx Frame Status
Size rate rate rate rate loss
(bytes) (Mbps) (frames/sec) (Mbps) (frames/sec) (%)
------- --------- ------------ --------- ------------ ------ ------
64 80 119,048 80 119,048 0.0 Pass
64 75 111,607 75 111,607 0.0 Pass
128 80 67,568 80 67,568 0.0 Pass
128 75 63,345 75 63,345 0.0 Pass
256 80 36,232 80 36,232 0.0 Pass
256 75 33,967 75 33,967 0.0 Pass
512 80 18,797 80 18,797 0.0 Pass
512 75 17,622 75 17,622 0.0 Pass
1024 80 9,579 80 9,579 0.0 Pass
1024 75 8,980 75 8,980 0.0 Pass
1280 80 7,692 80 7,692 0.0 Pass
1280 75 7,212 75 7,212 0.0 Pass
1518 80 6,502 80 6,502 0.0 Pass
1518 75 6,096 75 6,096 0.0 Pass
********************************************************************
************
Back-to-back settings:
Trial duration : 2000 milli-secs
Repeat : 50 times
Frame sizes : 64 128 256 512 1024 1280 1518 Bytes
Started at : 1970-01-15 19:17:14+00:00
********************************************************************
************
Frame Port Average Repeat Status
Size speed Burst
(bytes) (Mbps) (frames)
------- ---------- ------------ ------ ------
64 1000 2,223,903 50 Pass
128 1000 210,344 50 Pass
256 1000 110,635 50 Pass
512 1000 58,641 50 Pass
1024 1000 29,501 50 Pass
1280 1000 23,438 50 Pass
1518 1000 20,487 50 Pass
********************************************************************
************
Ended at : 1970-01-15 19:36:51+00:00
Testsuite status : Completed
********************************************************************
************