RFC2889 Test Plan

Test Plan Template
RFC2889 Switch Test Plan
SIKLU
7 Shoham St., Kiriat Matalon
Petach Tikva 49517
Phone: +972 3 921 4015 Fax: +972 3 921 4162 www.siklu.com
SIKLU – CONFIDENTIAL
Page 1 of 6
Test Plan Template
Document Information
Revision
Date
0
7.12.2008
Author
Moshe Libenson
Revision notes
SIKLU – CONFIDENTIAL
Page 2 of 6
Test Plan Template
Table of Contents
1. Scope ........................................................................................................................................... 4
2. Test Methodology ....................................................................................................................... 4
SIKLU – CONFIDENTIAL
Page 3 of 6
Test Plan Template
1. Scope
This document defines integration tests for defined by RFC2889 on prototype1.
2. Test Methodology
The integration process will be broke down into unit integration test. Each test should be defined
in the following terms:
Definition
Test purpose
Pre-requisites
Set-up
Integration content and
exit criteria
Explanation
VLAN
1. BB board
2. Stateless traffic
3. 3 port Spirent testcenter
4. Quality entry criteria
5. Who leads the integration, and who are its participants.
(This should match the integration phase schedule, with all resources
marked in the Gantt).
Describes the set-up that is needed to the test.
1. BB board
2. Bridge software
6. 3 port Spirent TestCenter
3. Board will be connected to the TestCenter via 3 eth ports.
Control will be over uart.
4. Configuration will be done via uart.
1. The tests are all being run on an unloaded system where the
processor is free of any other tasks.
2. Pass all tests without any errors
Test Plan
Detailed tests:
1. Address Caching capacity: Determines the address caching
capacity of a LAN switching device
$learning_port: eth0, $test_port: eth1, $monitor_port: eth2
 $learning_port transmits learning frames at a rate of 50
fps to the DUT with varying source addresses and a single
destination address to the $test_port. Test frames are then
sent from the $test_port destined for the $learning_port.
$monitor_port listens for flooded or mis-forwarded
frames. A binary search method determines the maximum
number of addresses that are correctly learned and
forwarded by the DUT without flooding or misforwarding any frames.
2. Address Learning rate: Determines the rate of address learning
of a LAN switching device
$learning_port: eth0, $test_port: eth1, $monitor_port: eth2
SIKLU – CONFIDENTIAL
Page 4 of 6
Test Plan Template

3.
4.
5.
6.
The $learning_port transmits learning frames at a high
rate to the DUT with varying source addresses and a
single destination address to the "Test port". The source
addresses used is equal to that determined by the results
of the Address Caching Capacity test. Test frames are
then sent from the $test_port destined for the
$learning_port. The $monitor_port listens for flooded or
mis-forwarded frames. A binary search method
determines the maximum learning rate (fps) at which the
DUT learns addresses without flooding or mis-forwarding
frames.
Broadcast Frame Forwarding: Determines the throughput of
the DUT when forwarding broadcast traffic.
 The test equipment will emulate a single L2 MAC address
per port. Learning frames are sent to the DUT and
verified. Full mesh broadcast traffic is then sent from
every test port in a round robin fashion through the DUT
to every other test port. Various frame sizes and port loads
will be used across tests trials (iterations).
Broadcast Frame Latency: Determines the latency of the DUT
when forwarding broadcast traffic
 The test equipment will emulate a single L2 MAC address
per port. Learning frames are sent to the DUT and
verified. Full mesh broadcast traffic is then sent from
every test port in a round robin fashion through the DUT
to every other test port. Various frame sizes and port loads
will be used across tests trials (iterations).
Error frames filtering: Determines the behavior of the DUT
under error or abnormal frame conditions. The results of the test
indicate if the DUT filters or forwards the errored frames.
Error frame defined as: packet <64byte, Packet >9kbyte, bad crc
 The test equipment will emulate a single L2 MAC address
per port. Learning frames are sent to the DUT and
verified. Errored traffic is then sent in one direction from
one test port through the DUT destined to the other test
port. Various frame sizes and port loads will be used
across tests trials (iterations). Error frame is:
Maximum Forwarding rate: Measures the maximum
forwarding rate of the DUT when the load is varied between the
throughput value derived from the Throughput test and the
maximum load (100%).
 For each frame size, traffic is sent from one test port
through the DUT to the other test port. The initial load
used for each frame size is that derived from the
Throughput test. Subsequent iterations will use as small a
load increment as possible until the maximum forwarding
rate is determined or forward pressure is detected.
SIKLU – CONFIDENTIAL
Page 5 of 6
Test Plan Template
7. Forward pressure rate: Overloads a DUT port by sending
traffic with an interframe gap of 88 bits. If the DUT egress port
transmits frames with an interframe gap less than 96 bits, then
forward pressure is detected.
 Traffic is sent from one test port through the DUT to the
other test port. The load for each frame size is greater than
the link’s theoretical utilization, using an interframe gap
of 88 bits. The load used for each frame size is greater
than the transmit medium’s maximum theoretical
utilization (thereby using an interframe gap of 88 bits).
8. Above steps 1-7 will be executed 1 time.
SIKLU – CONFIDENTIAL
Page 6 of 6