Layer 2 testing with RFC 2889
The Layer 2 Ethernet switch is one of the most common networking devices. Layer 2 switching is associated with the Data Link Layer (Layer 2) of the standard of network programming, the Open Systems Interconnection (OSI) model. Layer 2 Ethernet switches forward traffic, also called network frames, across various network segments. Forwarding is based on information in the frame’s Ethernet header.
In RFC2889 we do the following tests in order to test your layer 2 device:
Few simple things to keep in mind about an L2 switch are :
Test reports can be generated in both PDF and XML format and extensive configuration options are available for fine-tuning the tests.
Specifications
RFC2889 |
Features |
---|---|
Key Test | |
Traffic Control | |
Learning Parameters | |
Test Topologies | |
Large Mesh Test Port Matrix | |
Reporting | Reports are available in PDF and .xml format |
To Congestion control test determines how a DUT handles congestion, whether the device implements congestion control and whether congestion on one port affects an uncongested port.
The Forward pressure test overloads a DUT/SUT port and measures the output for forward pressure. If the DUT/SUT transmits with an interframe gap less than 96 bits, then forward pressure is detected.
The Maximum Forwarding rate test measures the peak value of the forwarding rate when the load is varied between the throughput value derived from the Fully Meshed Throughput test.
The Address caching capacity test is to determine in the address caching capacity of a LAN switching deviceAddress Learning Rate test is to determine the rate of address learning of a LAN switching device.
Error Frame Filtering test is to determine the behavior of the DUT under error or abnormal frame conditions. This test will determine if errored packets are correctly forwarded, or filtered, through the DUT.
The errored packet types are:
Broadcast Frame forwarding test is to determine the throughput and latency of the DUT when forwarding broadcast traffic.This test will determine if the Layer 2 switch can handle broadcast traffic from one-to-many ports at various traffic loads.