FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
DPadula
Staff
Staff
Article Id 380893
Description

This article describes the limitation of the 'diagnose traffictest' command and how to properly test hardware throughput traffic

Scope All FortiGate models.
Solution

IPERF is a tool used for active measurements of the maximum achievable bandwidth on IP networks. FortiGate does have the command 'diagnose traffictest' which is a reduced implementation of IPERF on FortiOS as described in Technical Tip: Use cases for the diagnose traffictest command.

 

The fact that IPERF implementation on FortiGate was reduced can affect the result of bandwidth and throughput tests when they were started from the FortiGate interface instead of having IPERF traffic crossing the FortiGate device. 

 

Using a Virtual Machine with Win10 Pro and a NIC of 10Gbps behind the FortiGate 100F for example, that has 2x 10Gbps ports (x1 and x2), is possible to reach ~9Gbps of throughput.

 

Crossing FG100F.PNG

 

Checking the widget of bandwidth on FortiGate for interfaces x1 and x2.

 

10Gbp fgt widget.PNG

 

Checking IPERF results on VM.

 

IPERF from VM.PNG

 

Now using the FortiGate 100F x1 interface as the source of the IPERF traffic (IPERF traffic is not crossing the FortiGate), the results are not the same. 

 

from fg100F.PNG

 

Checking the widget of bandwidth on FortiGate for interfaces x1 and x2 and IPERF output while the test is still running. The 10Gbps interface x1 cannot reach more than ~900Mbps not because of the hardware throughput, but because of the IPERF reduced implementation on FortiGate. 

 

iperf from fgt.png

 

Conclusion: 

To validate the actual FortiGate throughput and set up the upload and download speed baseline, an external server and client are required to test the throughput with FortiGate in between as the first network diagram presented in this article.

 

Related article:

Technical Tip: Setting up iperf server and client