Note to my self. Looks like Fortigate changed the access to IPerf3.
FG (global) # diagnose traffictest set_pair mgmt:mgmt
Server:Client pair is mgmt:mgmt
Server CPU affinity: None
Client CPU affinity: None
Stream number: 1
Traffic protocol: TCP
Server IP address: 192.90.255.199
Server VDOM: vsys_hamgmt
Client IP address: 192.90.255.199
Client VDOM: vsys_hamgmt
FG (global) # diagnose traffictest run "-c 192.90.255.200"
The Old way
diagnose traffictest client-intf mgmt
diagnose traffictest server-intf mgmt
diagnose traffictest port 5200
diagnose traffictest run -c 192.90.255.200
diagnose traffictest run -R -c 192.90.255.200
Links
- https://community.fortinet.com/t5/FortiGate/Technical-Tip-How-to-perform-a-traffic-test-on-a-FortiGate/ta-p/304776
- https://weberblog.net/iperf3-on-a-fortigate/

