Hi,
In this post, we are going to introduce you the router implementing RFC2544 general flow test cases for POC
1. Project background
The customer is a key service individual from the company and involves a large amount of projects. The customer needs to upgrade the data communication network. This POC test provides sufficient assurance for the customer to purchase Huawei equipment.
2. Project difficulties
The customer requires that Huawei switches be tested the forwarding bandwidth, delay, jitter, and packet loss rate based on the FRC2544 standard. Two traffic testers are required for the test, but only one traffic tester can be provided. Finally, the router is used to generate test traffic and the quality report of the traffic forwarding of the test switch is obtained.
3. Test topology
The configuration process of NE20E
1.Configure Layer 2 links between the initiator and reflector and add Layer 2 interfaces to VLAN 100.
2.Configure the reflector.
<NE20E-B> system-view
[~NE20E-B] nqa reflector 1 interface gigabitethernet 0/1/1 mac 1-1-1 vlan 10
3.Configure the initiator to perform a throughput test and view the test result.
<NE20E-A> system-view
[~NE20E-A] nqa test-instance admin throughput
[*NE20E-A-nqa-admin-throughput] test-type generalflow
[*NE20E-A-nqa-admin-throughput] measure throughput
[*NE20E-A-nqa-admin-throughput] destination-address mac 1-1-1
[*NE20E-A-nqa-admin-throughput] forwarding-simulation inbound-interface gigabitethernet 0/1/1
[*NE20E-A-nqa-admin-throughput] rate 10000 100000
[*NE20E-A-nqa-admin-throughput] interval seconds 5
[*NE20E-A-nqa-admin-throughput] precision 8000
[*NE20E-A-nqa-admin-throughput] fail-ratio 81
[*NE20E-A-nqa-admin-throughput] datasize 70
[*NE20E-A-nqa-admin-throughput] duration 100
[*NE20E-A-nqa-admin-throughput] vlan 100
[*NE20E-A-nqa-admin-throughput] start now
[*NE20E-A-nqa-admin-throughput] commit
[~NE20E-A-nqa-admin-throughput] display nqa results test-instance admin throughput
NQA entry(admin, throughput) :testflag is inactive, testtype is generalflow
1. Test 1 result: The test is finished, test mode is throughput
ID Size Throughput(Kbps) Precision(Kbps) LossRatio Completion
1 70 50000 8000 0.00% success
4.Configure the initiator to perform a delay test and view the test result.
[*NE20E-A] nqa test-instance admin delay
[*NE20E-A-nqa-admin-delay] test-type generalflow
[*NE20E-A-nqa-admin-delay] measure delay
[*NE20E-A-nqa-admin-delay] destination-address mac 1-1-1
[*NE20E-A-nqa-admin-delay] forwarding-simulation inbound-interface gigabitethernet 0/1/1
[*NE20E-A-nqa-admin-delay] datasize 64
[*NE20E-A-nqa-admin-delay] rate 99000
[*NE20E-A-nqa-admin-delay] interval seconds 5
[*NE20E-A-nqa-admin-delay] duration 100
[*NE20E-A-nqa-admin-delay] vlan 10
[*NE20E-A-nqa-admin-delay] start now
[*NE20E-A-nqa-admin-delay] commit
[~NE20E-A-nqa-admin-delay] display nqa results test-instance admin delay
NQA entry(admin, delay) :testflag is inactive ,testtype is generalflow
1. Test 1 result: The test is finished, test mode is delay
ID Si******/Max/Avg RTT(us) Min/Max/Avg Jitter(us) Completion
1 64 1/12/5 2/15/8 finished
5.Configure the initiator to test the packet loss rate and check the test result.
[*NE20E-A] nqa test-instance admin loss
[*NE20E-A-nqa-admin-loss] test-type generalflow
[*NE20E-A-nqa-admin-loss] measure loss
[*NE20E-A-nqa-admin-loss] destination-address mac 1-1-1
[*NE20E-A-nqa-admin-loss] forwarding-simulation inbound-interface gigabitethernet 0/1/1
[*NE20E-A-nqa-admin-loss] datasize 64
[*NE20E-A-nqa-admin-loss] rate 99000
[*NE20E-A-nqa-admin-loss] duration 100
[*NE20E-A-nqa-admin-loss] vlan 10
[*NE20E-A-nqa-admin-loss] start now
[*NE20E-A-nqa-admin-loss] commit
[~NE20E-A-nqa-admin-loss] display nqa results test-instance admin loss
NQA entry(admin, loss) :testflag is inactive ,testtype is generalflow
1. Test 1 result: The test is finished, test mode is loss
ID Size TxRate/RxRate(Kbps) TxCount/RxCount LossRatio Completion
1 64 99000/99000 653265345/650256141 0.00% finished
That's all for this post, hope you like it.
If you have any questions, please comment below.